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
to add some info, the randomization effect only seems to happen exclusively to modded items
That sounds like a client side mod is accidentally adding an item, which causes what you are mentioning
a client side mod, huh. do you know any that are perhaps notorious for such behavior?
I forget, but you should be about to filter to client side and show me what you have, maybe I'll remember

Mod side icon
?

this is the filter being used rn
I mean disable the mod named mod side icon
oh
That's the one I remember having this issue
thats disabled though?
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
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
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
alright just did that, doesnt seem like client side mods are the issue
K. I can look into it (on Monday) if you can narrow it down to 1 or 2 mods
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
@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
here's the mod in question for any future reference

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
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
alright, thank you for helping me out!
@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

huh, that is strange. When you did this test, was this the only mod involved?
what do you mean? like the only mod i disabled to try and fix the bug?
if so then yes
I'm just wondering if you had other mods enabled as well
well i can show you the modpack if you dont mind
well, can you just send the enabled.json file? That way I can try to replicate
Documents\My Games\Terraria\tModLoader\Mods\enabled.json
sure give me a second
are you gonna be doing this in singleplayer? just a reminder that ive never seen this bug outside of multiplayer
I know
@jopojelly i believe i have definitively solved the issue
ok so the issue was coming from a config mismatch from the alchemistnpclite mod
this config option was NOT toggled on the server, but it was for me

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?
It does, the author of this mod forgot something, it should be forcing a reload
ah i see
alright, sorry if this was a waste of time for you
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.i just hope this can help anybody who encounters this specific issue in the future
Will check tomorrow
Thanks