Posts: 65
Threads: 12
Joined: May 2013
Reputation:
0
I recently hosted my server on smartbytes and everything was fine until i noticed that stats weren't saving at all....:S localhost everything is good and everything saves but when it came to the host nothing was happening it just created the user file saved the password and nothing else... im running the server on zombie apocalypse. Any help is more than welcomed, thank you.
Posts: 255
Threads: 3
Joined: Jul 2013
Reputation:
0
Check the logs, it will tell you why files aren't saving. Like MYSQL and etc.
Posts: 65
Threads: 12
Joined: May 2013
Reputation:
0
Nothing shows on the logs on why the stats are not saving im rly confused... Localhost everything works like a charm but the one that is hosted on smartbytes won't save the stats? Is it something releated with the host? Im pretty sure there's nothing wrong with the script/gamemode
Posts: 1,733
Threads: 20
Joined: Nov 2010
Reputation:
0
Put some printf statements between your code (where each line is saved into the file) and debug-print your saving system that way.
You may also print the actual line that should be saved into the file to your server console (and it automatically appears in the log as well), then you may be able to find the problem.
Posts: 65
Threads: 12
Joined: May 2013
Reputation:
0
I made some prints and everything shows that it works but still nothing really changed... Could you please be more detailed on what i should do maybe im doing wrong something. Im a beginner at scripting...
Posts: 86
Threads: 14
Joined: Jun 2013
Reputation:
0
what admin system you are using?
Posts: 65
Threads: 12
Joined: May 2013
Reputation:
0
Not using any admin system only using a gamemode maybe u heard of it. Zombie Apocalypse
Posts: 92
Threads: 0
Joined: Jan 2013
Reputation:
0
06.06.2015, 09:26
(
Последний раз редактировалось SimplyFragHosting; 06.06.2015 в 10:19.
)
Hello,
Have you tried checking the mysql connection details to ensure they are correct. Also have you check that the database has been uploaded correctly (same table structure as the gm).
Finally try swapping out the plugin version to see if its that that caused it since ur host transition. ALWAYS USE MYSQL_STATIC.SO / DLL
you can also try running from putty: chmod 777 samp-server
Posts: 470
Threads: 44
Joined: Dec 2011
Reputation:
0
Chmod your samp-server to 777, Had this problem before.