jerryb1988
Member
- Joined
- Mar 10, 2008
- Messages
- 79
- Reaction score
- 5
I'm using a script based off AutoLoot System for tfs 1.x to autoloot items to a depot box. The problem I'm running into is, if the player doesn't open the depot box before the logout, the items don't save.
EX:
hunt 3 hours. have 1234 items in inbox. Logout. Login. 0 items in inbox, even if the server saved multiple times.
EX:
hunt 3 hours. have 1234 items in inbox. OPEN DEPOT BOX. Logout. Login. Items are all there.
Is there any way in LUA to trigger the saving of depot items before logging out?
Or if not, is there any way to "open" the depot box through LUA and call it on the logout.lua so the player will never really see it or get to use it?
EX:
hunt 3 hours. have 1234 items in inbox. Logout. Login. 0 items in inbox, even if the server saved multiple times.
EX:
hunt 3 hours. have 1234 items in inbox. OPEN DEPOT BOX. Logout. Login. Items are all there.
Is there any way in LUA to trigger the saving of depot items before logging out?
Or if not, is there any way to "open" the depot box through LUA and call it on the logout.lua so the player will never really see it or get to use it?
Last edited by a moderator: