Ryaas Posted February 2 Share Posted February 2 Hello again, I am running into an issue with the mod I am developing. It works as intended in Intellij, but when I try to port it over to a server it not only doesn't work at all, but also crashes the game when going into the creative inventory. Additionally, I have confirmed that it does work in a singleplayer world, but the game will crash on startup every time I want to boot it up, unless I delete the options.txt file in the .minecraft folder. I want this mod to be one that a lot of people can play with together so making sure the server works is a high priority to me. If anyone knows how to fix this I'd greatly appreciate it! Here is the mod repository: https://github.com/RyaasAbove/FM Quote Link to comment Share on other sites More sharing options...
Ugdhar Posted February 3 Share Posted February 3 Post the debug.log from a crashed run to a gist and link it here, it may give some pointers to where things are breaking Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 3 Author Share Posted February 3 1 hour ago, Ugdhar said: Post the debug.log from a crashed run to a gist and link it here, it may give some pointers to where things are breaking Here is a gist with the most recent crash log. It definitely is at least connected to some sort of registry object missing, although the Telekinesis system isn't working either. Thank you so much for taking the time to look at it if you get around to it https://gist.github.com/RyaasAbove/6315252373762b5a0e2a37b17b06b934 Quote Link to comment Share on other sites More sharing options...
vemerion Posted February 3 Share Posted February 3 7 hours ago, Ryaas said: but when I try to port it over to a server it not only doesn't work at all You are reaching across logical sides in several places in your entity and packet classes. I recommend reading the Forge documentation to learn more about it Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 3 Author Share Posted February 3 49 minutes ago, vemerion said: You are reaching across logical sides in several places in your entity and packet classes. I recommend reading the Forge documentation to learn more about it Thank you, I'll make sure to take a look at it! Do you have an example in one of the classes that I could use as a starting point? Quote Link to comment Share on other sites More sharing options...
vemerion Posted February 3 Share Posted February 3 44 minutes ago, Ryaas said: Thank you, I'll make sure to take a look at it! Do you have an example in one of the classes that I could use as a starting point? The 'Minecraft' class only exists on the client so you can't refer to it in your entity classes. Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 3 Author Share Posted February 3 10 hours ago, vemerion said: The 'Minecraft' class only exists on the client so you can't refer to it in your entity classes. Thank you! I'll see what I can do, I appreciate the help! Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 4 Author Share Posted February 4 UPDATE: I got everything working! Thank you so much for everyone that helped me! I only have one issue that remains, which is the game making me delete the options.txt file every time I want to launch the game. If anyone knows how to fix this, I'd greatly appreciate you telling me! Quote Link to comment Share on other sites More sharing options...
vemerion Posted February 4 Share Posted February 4 7 hours ago, Ryaas said: UPDATE: I got everything working! Thank you so much for everyone that helped me! I only have one issue that remains, which is the game making me delete the options.txt file every time I want to launch the game. If anyone knows how to fix this, I'd greatly appreciate you telling me! What exactly happens when you start the game that makes you have to delete the file? My guess is that some option is malformed, but hard to say what is going wrong without more info. Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 4 Author Share Posted February 4 12 hours ago, vemerion said: What exactly happens when you start the game that makes you have to delete the file? My guess is that some option is malformed, but hard to say what is going wrong without more info. It crashes with Error code 1, and outputs this in the latest.log [04Feb2024 13:51:17.777] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Ryaas16, --version, 1.20.1-forge-47.2.20, --gameDir, C:\Users\rscag\AppData\Roaming\.minecraft, --assetsDir, C:\Users\rscag\AppData\Roaming\.minecraft\assets, --assetIndex, 5, --uuid, ae195d459d194e058dbbb1906d47af89, --accessToken, ????????, --clientId, YThjNjYzMjctZjE3ZC00NzNhLWJmMDItNjRlZTc4N2NlYThl, --xuid, 2533274883257122, --userType, msa, --versionType, release, --quickPlayPath, C:\Users\rscag\AppData\Roaming\.minecraft\quickPlay\java\1707076275717.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.2.20, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [04Feb2024 13:51:17.790] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0 [04Feb2024 13:51:17.927] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow this is my options.txt if that would also somehow help version:3465 autoJump:false operatorItemsTab:false autoSuggestions:true chatColors:true chatLinks:true chatLinksPrompt:true enableVsync:true entityShadows:true forceUnicodeFont:false discrete_mouse_scroll:false invertYMouse:false realmsNotifications:true reducedDebugInfo:false showSubtitles:false directionalAudio:false touchscreen:false fullscreen:false bobView:true toggleCrouch:false toggleSprint:false darkMojangStudiosBackground:false hideLightningFlashes:false mouseSensitivity:0.5 fov:0.0 screenEffectScale:1.0 fovEffectScale:1.0 darknessEffectScale:1.0 glintSpeed:0.5 glintStrength:0.75 damageTiltStrength:1.0 highContrast:false gamma:0.5 renderDistance:12 simulationDistance:12 entityDistanceScaling:1.0 guiScale:0 particles:0 maxFps:120 graphicsMode:1 ao:true prioritizeChunkUpdates:0 biomeBlendRadius:2 renderClouds:"true" resourcePacks:[] incompatibleResourcePacks:[] lastServer: lang:en_us soundDevice:"" chatVisibility:0 chatOpacity:1.0 chatLineSpacing:0.0 textBackgroundOpacity:0.5 backgroundForChatOnly:true hideServerAddress:false advancedItemTooltips:false pauseOnLostFocus:true overrideWidth:0 overrideHeight:0 chatHeightFocused:1.0 chatDelay:0.0 chatHeightUnfocused:0.4375 chatScale:1.0 chatWidth:1.0 notificationDisplayTime:1.0 mipmapLevels:4 useNativeTransport:true mainHand:"right" attackIndicator:1 narrator:0 tutorialStep:none mouseWheelSensitivity:1.0 rawMouseInput:true glDebugVerbosity:1 skipMultiplayerWarning:true skipRealms32bitWarning:false hideMatchedNames:true joinedFirstServer:true hideBundleTutorial:false syncChunkWrites:true showAutosaveIndicator:true allowServerListing:true onlyShowSecureChat:false panoramaScrollSpeed:1.0 telemetryOptInExtra:false onboardAccessibility:false key_key.attack:key.mouse.left key_key.use:key.mouse.right key_key.forward:key.keyboard.w key_key.left:key.keyboard.a key_key.back:key.keyboard.s key_key.right:key.keyboard.d key_key.jump:key.keyboard.space key_key.sneak:key.keyboard.left.shift key_key.sprint:key.keyboard.left.control key_key.drop:key.keyboard.q key_key.inventory:key.keyboard.e key_key.chat:key.keyboard.t key_key.playerlist:key.keyboard.tab key_key.pickItem:key.mouse.middle key_key.command:key.keyboard.slash key_key.socialInteractions:key.keyboard.p key_key.screenshot:key.keyboard.f2 key_key.togglePerspective:key.keyboard.f5 key_key.smoothCamera:key.keyboard.unknown key_key.fullscreen:key.keyboard.f11 key_key.spectatorOutlines:key.keyboard.unknown key_key.swapOffhand:key.keyboard.f key_key.saveToolbarActivator:key.keyboard.c key_key.loadToolbarActivator:key.keyboard.x key_key.advancements:key.keyboard.l key_key.hotbar.1:key.keyboard.1 key_key.hotbar.2:key.keyboard.2 key_key.hotbar.3:key.keyboard.3 key_key.hotbar.4:key.keyboard.4 key_key.hotbar.5:key.keyboard.5 key_key.hotbar.6:key.keyboard.6 key_key.hotbar.7:key.keyboard.7 key_key.hotbar.8:key.keyboard.8 key_key.hotbar.9:key.keyboard.9 key_key.firstmod.use_mark:key.keyboard.r key_key.firstmod.primary:key.mouse.4 key_key.firstmod.secondary:key.mouse.5 key_key.firstmod.use_mark:key.keyboard.r key_key.firstmod.primary:key.mouse.4 soundCategory_master:0.5 soundCategory_music:1.0 soundCategory_record:1.0 soundCategory_weather:1.0 soundCategory_block:1.0 soundCategory_hostile:1.0 soundCategory_neutral:1.0 soundCategory_player:1.0 soundCategory_ambient:1.0 soundCategory_voice:1.0 modelPart_cape:true modelPart_jacket:true modelPart_left_sleeve:true modelPart_right_sleeve:true modelPart_left_pants_leg:true modelPart_right_pants_leg:true modelPart_hat:true Quote Link to comment Share on other sites More sharing options...
vemerion Posted February 5 Share Posted February 5 Hmm, hard to say exactly what goes wrong. Would you mind uploading the debug.log file so I can take a closer look? Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 5 Author Share Posted February 5 3 hours ago, vemerion said: Hmm, hard to say exactly what goes wrong. Would you mind uploading the debug.log file so I can take a closer look? For sure! here it is. I really do appreciate all the help https://gist.github.com/RyaasAbove/021b488d1686b5b002d6b5ee28589592 Quote Link to comment Share on other sites More sharing options...
vemerion Posted February 6 Share Posted February 6 20 hours ago, Ryaas said: For sure! here it is. I really do appreciate all the help https://gist.github.com/RyaasAbove/021b488d1686b5b002d6b5ee28589592 Hm, this does not seem to be the full log. There is no crash there at all! Quote Link to comment Share on other sites More sharing options...
Ryaas Posted February 6 Author Share Posted February 6 5 hours ago, vemerion said: Hm, this does not seem to be the full log. There is no crash there at all! That's what I was thinking, this is all it gave me for some reason Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.