25.07.2014, 08:21
Bump,
So i didnt solve this yet.. I start server, register account, relog everything will be fine account load my things are there. But when i restart server or shutdown console and start again, (my account is saved good) when i check scriptfiles all is good, when i login after i closed and started console it shows me login dialog but when i login i spawn at 0,0,0 coords,i dont have my stuffs and yet in scriptfiles my account is fine it's like i logged in with another name but without register part...
When i disconnect from server SavePlayer function rewrote my old account with ''new one'' without password and all statements 0.
As i told, i only have problem with loading on ''first start'' and i cannot locate problem? Since yini load dont have anything with OnGameModeInit, account should be checked when player logins....
So i didnt solve this yet.. I start server, register account, relog everything will be fine account load my things are there. But when i restart server or shutdown console and start again, (my account is saved good) when i check scriptfiles all is good, when i login after i closed and started console it shows me login dialog but when i login i spawn at 0,0,0 coords,i dont have my stuffs and yet in scriptfiles my account is fine it's like i logged in with another name but without register part...
When i disconnect from server SavePlayer function rewrote my old account with ''new one'' without password and all statements 0.
As i told, i only have problem with loading on ''first start'' and i cannot locate problem? Since yini load dont have anything with OnGameModeInit, account should be checked when player logins....