randomized item drops in multiplayer

this is an issue that has been plaguing me for quite a while, while playing on a dedicated server, some item drops wlll become randomized for no apparent reason. the cause could be desync but im not sure. if anyone has possible fixes to suggest i would appreciate it
44 Replies
HDeezNuts
HDeezNutsOP3mo ago
to add some info, the randomization effect only seems to happen exclusively to modded items
jopojelly
jopojelly3mo ago
That sounds like a client side mod is accidentally adding an item, which causes what you are mentioning
HDeezNuts
HDeezNutsOP3mo ago
a client side mod, huh. do you know any that are perhaps notorious for such behavior?
jopojelly
jopojelly3mo ago
I forget, but you should be about to filter to client side and show me what you have, maybe I'll remember
HDeezNuts
HDeezNutsOP3mo ago
No description
jopojelly
jopojelly3mo ago
Mod side icon
HDeezNuts
HDeezNutsOP3mo ago
?
HDeezNuts
HDeezNutsOP3mo ago
No description
HDeezNuts
HDeezNutsOP3mo ago
this is the filter being used rn
jopojelly
jopojelly3mo ago
I mean disable the mod named mod side icon
HDeezNuts
HDeezNutsOP3mo ago
oh
jopojelly
jopojelly3mo ago
That's the one I remember having this issue
HDeezNuts
HDeezNutsOP3mo ago
thats disabled though?
jopojelly
jopojelly3mo ago
Oh... Well, I know helpful hotkeys isn't doing it, so it might be one of the other 2 ones you have there that are enabled You might just need to experiment
HDeezNuts
HDeezNutsOP3mo ago
the thing is this has been a long standing issue and i cant seem to shake it off even as my modpacks change over time
jopojelly
jopojelly3mo ago
Well, just disable all client side mods and do a quick test. If it's still an issue there might be a bigger issue But a client side mod adding items is an issue I'm working on fixing, known issue
HDeezNuts
HDeezNutsOP3mo ago
alright just did that, doesnt seem like client side mods are the issue
jopojelly
jopojelly3mo ago
K. I can look into it (on Monday) if you can narrow it down to 1 or 2 mods
tModLoader
tModLoader3mo ago
Tag: flowchart Something weird happening in your game? Need to skip loading mods? Can't load a world or player? Do the following before asking for more help: https://cdn.discordapp.com/attachments/466247288331829249/481464717043564554/Untitled_Diagram1.png
HDeezNuts
HDeezNutsOP3mo ago
@jopojelly ok so we did this method and found something interesting somehow, i was able to join the server without having a server side mod enabled once i went and enabled it, the bug seemed to be resolved
HDeezNuts
HDeezNutsOP3mo ago
here's the mod in question for any future reference
No description
HDeezNuts
HDeezNutsOP3mo ago
i believe the resulting modlist mismatch from not having a server side mod caused desync which led to the bug i'd love to hear your thoughts on the matter nonetheless
jopojelly
jopojelly3mo ago
Hm, server side mods also should not be adding items. They also shouldn't be loading on clients anyway, so it's the same issue, just for server side mods. We'll have to add code to prevent those mods from doing that
HDeezNuts
HDeezNutsOP3mo ago
alright, thank you for helping me out!
HDeezNuts
HDeezNutsOP3mo ago
@jopojelly ok so i just wanted to let you know that the conclusion i arrived at yesterday was wrong, the bug happened again, which i was able to fix by disabling the main content mod in the modpack, trying to join without it, then enabling it at this prompt
No description
jopojelly
jopojelly3mo ago
huh, that is strange. When you did this test, was this the only mod involved?
HDeezNuts
HDeezNutsOP3mo ago
what do you mean? like the only mod i disabled to try and fix the bug? if so then yes
jopojelly
jopojelly3mo ago
I'm just wondering if you had other mods enabled as well
HDeezNuts
HDeezNutsOP3mo ago
well i can show you the modpack if you dont mind
jopojelly
jopojelly3mo ago
well, can you just send the enabled.json file? That way I can try to replicate Documents\My Games\Terraria\tModLoader\Mods\enabled.json
HDeezNuts
HDeezNutsOP3mo ago
sure give me a second
tModLoader
tModLoader3mo ago
Automatic Hastebin for hvc3485 (enabled.json): https://hst.sh/aqoqaxexaz.cs
HDeezNuts
HDeezNutsOP3mo ago
are you gonna be doing this in singleplayer? just a reminder that ive never seen this bug outside of multiplayer
jopojelly
jopojelly3mo ago
I know
HDeezNuts
HDeezNutsOP3mo ago
@jopojelly i believe i have definitively solved the issue ok so the issue was coming from a config mismatch from the alchemistnpclite mod
HDeezNuts
HDeezNutsOP3mo ago
this config option was NOT toggled on the server, but it was for me
No description
HDeezNuts
HDeezNutsOP3mo ago
this would make it so the mod is adding those items for me, but not anyone else who's config options were synced with the server my previous bandaid fix of doing this would always be undone when i would boot up the game and that initial mod load happens i never figured out why that is till now so im glad i found the fix, but i just have one question doesnt tmod sync up your configs with the server when youre joining it?
jopojelly
jopojelly3mo ago
It does, the author of this mod forgot something, it should be forcing a reload
HDeezNuts
HDeezNutsOP3mo ago
ah i see alright, sorry if this was a waste of time for you
jopojelly
jopojelly3mo ago
No worries @Gregg Can you fix this? This "Mod's custom items toggle" config option needs [ReloadRequired], since it doesn't have it it can result in itemID desync.
HDeezNuts
HDeezNutsOP3mo ago
i just hope this can help anybody who encounters this specific issue in the future
Gregg
Gregg3mo ago
Will check tomorrow
jopojelly
jopojelly3mo ago
Thanks

Did you find this page helpful?