Stats is not saving
#1

Hello!

When the new player register his account, everything is okay. But when he re-joins the server, he must register his account again. It's weird, because I don't have such problem when I run the server without the host company. Which means, when I re-join the server, I have to login, instead or registering again.

Please help!

Also, here is some weird crashinfo, which I have found in the file manager http://pastebin.com/rk12sDCs
Reply
#2

What database system are you using?
Reply
#3

Can you show me your "UserPath" please?I mean the what's the location where your accounts are saving.
Make sure that you have that location(mainly the folders) on your host too.
It should be something like:
PHP код:
#define UserPath "Users/%s.ini" 
And the folders should look like this:
Код:
scriptfiles\Users\exemplu.ini"
Keep in mind you have to adjust this to your own variables.
Reply
#4

Quote:
Originally Posted by Aly
Посмотреть сообщение
Can you show me your "UserPath" please?I mean the what's the location where your accounts are saving.
Make sure that you have that location(mainly the folders) on your host too.
It should be something like:
PHP код:
#define UserPath "Users/%s.ini" 
And the folders should look like this:
Код:
scriptfiles\Users\exemplu.ini"
Keep in mind you have to adjust this to your own variables.
PHP код:
#define PATH "/ZMA/Users/%s.ini" 
C:\ZombieApocalypse\scriptfiles\ZMA\Users
Reply
#5

Now create this path(folders) into your host:
PHP код:
scriptfiles/ZMA/Users 
Reply
#6

Must be like this?
PHP код:
#define PATH "scriptfiles/ZMA/Users/%s.ini" 
Reply
#7

No dude, the define should be like it was:
PHP код:
#define PATH "/ZMA/Users/%s.ini" 
I'm talking about your Host company server.When you're connecting to the ftp you should see the folders:
Код:
gamemodes
filterscripts
include
npcmodes
And there should be also this folder, but usually it isn't there so you have to create it.
PHP код:
scriptfiles 
Create the folders
PHP код:
scriptfiles/ZMA/Users 
on your host company FTP.
Reply
#8

Oh.. you meant that, but it is already there actually.

EDIT: Once I uploaded my account from ZMA/Users path to the host and then I could login, because the file was not empty, it had the following info like, killds deaths etc.

When the new player register his account, his file is empty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)