Weapon is gone on relog
#1

If a player logs off whilst holding a weapon, next time they log in that weapon is removed from their inventory.

I've tried to search for this bug but couldn't find it, before somebody assumes I'm retarded.

I was planning to force change the wielded weapon to none before the server disconnects the player but just wanted to find out if anybody else had this, and what they did to fix it.

Thanks.
Reply
#2

erm how about making a saving system / login system so then when a player come back the server can give it back to them
Reply
#3

It does lol. Just a confusing error that I haven't been able to wrap my head around. It saves the weapons but just not when you have it in your hand.
Reply
#4

Its pretty difficult if you don't post any codes for us. We would need the part where the server should write the values to the files / MySQL on disconnect, to check for any issues there.

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)