[FIXED] Hooked charfile make players kicked when attempting to unmount equipement
-
Hi everybody.
I’m working on the Freeworlds FR’s server among other thing on the FLHook part.
We recently quit Ioncross and so we we weren’t able to export an online player list anymore.
I wrote a small php script which connect via socket to FLHook in order to gen this list back. Basically i’m just doing a getplayer cmd to get their name and system and then for each of them a readcharfile to get their ship.
Everything is working fine, no problem on this part.But since we put this new feature online, it seems we have a little problem when a player attempt to sell or unmout cargo or equipement. He gets kicked immediately for cheating.
I was wondering if the “readcharfile” cmd was the problem. Does it hook the charfile so you can’t change it anymore ? Do you have to someway close the charfile afterwards ?
I really don’t know if the issue come from this command but this is the only thing i see…
Thank’s for any answers.
(Sorry for my english btw)