SA-MP Forums Archive
Problem with server. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with server. (/showthread.php?tid=281707)



Problem with server. - Darnell - 07.09.2011

When someone logs in ( by dialog or /login ), the server is crashing ( on Volt-Host. ).
When someone logs in on my homehosted server, the server isn't crashed, and using same files.
I did reset premissions, any help ?


Re: Problem with server. - TheArcher - 07.09.2011

Quote:
Originally Posted by Darnell
Посмотреть сообщение
When someone logs in ( by dialog or /login ), the server is crashing ( on Volt-Host. ).
When someone logs in on my homehosted server, the server isn't crashed, and using same files.
I did reset premissions, any help ?
I think the saveing system on your GameMode has a folder for exemple users/%s.ini and on your host you didn't create the folder in scriptfiles.


Re: Problem with server. - Darnell - 07.09.2011

It is there, ofcourse.
Sometimes I actually manage to log in, but server crashes right afterwards.


Re: Problem with server. - Kingunit - 07.09.2011

Hmm, maybe you can try to hit the 're-install' button on Volt-host.


Re: Problem with server. - TheArcher - 07.09.2011

Give us your log file


Re: Problem with server. - Darnell - 07.09.2011

Код:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[15:09:39]
[15:09:39] Server Plugins
[15:09:39] --------------
[15:09:39]  Loading plugin: streamer.so
[15:09:39]

*** Streamer Plugin v2.5.2 by Incognito loaded ***

[15:09:39]   Loaded.
[15:09:39]  Loading plugin: gvar.so
[15:09:39]

*** GVar Plugin v1.3 by Incognito loaded ***

[15:09:39]   Loaded.
[15:09:39]  Loading plugin: sscanf.so
[15:09:39]

[15:09:39]  ===============================

[15:09:39]       sscanf plugin loaded.

[15:09:39]    © 2009 Alex "******" Cole

[15:09:39]  ===============================

[15:09:39]   Loaded.
[15:09:39]  Loaded 3 plugins.

[15:09:39]
[15:09:39] Ban list
[15:09:39] --------
[15:09:39]  Loaded: samp.ban
[15:09:39]
[15:09:39]
[15:09:39] Filter Scripts
[15:09:39] ---------------
[15:09:39]   Loading filter script 'swatrope.amx'...
[15:09:39]
--------------------------------------
[15:09:39]  Rope RC1 v1 © Trooper 2009
[15:09:39] --------------------------------------

[15:09:39]   Loaded 1 filter scripts.

[15:09:39]
[15:09:39]  =======================================
[15:09:39]  |                                     |
[15:09:39]  |        YSI version 1.03.0011        |
[15:09:39]  |        By Alex "******" Cole        |
[15:09:39]  |                                     |
[15:09:39]  |  Checking the latest YSI version..  |
[15:09:39]  |                                     |
[15:09:39]  =======================================
[15:09:39]
[15:09:39] Default Weather: 11
[15:09:39] Number of vehicle models: 18
[15:09:39]
[15:09:39]  ======================================
[15:09:39]  |                                    |
[15:09:39]  |  Congratulations! You are running  |
[15:09:39]  |     the latest version of YSI!     |
[15:09:39]  |                                    |
[15:09:39]  ======================================
[15:09:39]
Quote:
Originally Posted by ******
Посмотреть сообщение
Is your home server on Windows and your Volt-Host server on Linux? If so don't forget that those different operating systems have different line endings ("\r\n" and "\n" respectively). If that's not the problem you will need to go through your code slowly and debug it until you find the line which is causing the problem - once you know that fixing any issues will be much simpler.
I'm glad that you replied; My whole saving house / business system is with "\r\n", but users one is using DOF2.
Here is an example :
pawn Код:
format(coordsstring, sizeof(coordsstring), "%s|%s|%f|%f|%f|%f|%f|%f|%s|%s|%s|%s|%s|%s|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\r\n",



Re: Problem with server. - Darnell - 07.09.2011

Here's the WHOLE OnPlayerLogin function, I've even debugged it, so it loads all the files correctly, but I can't seem to see what is crashing the server.
http://pastebin.com/N3sCCtZG


Re: Problem with server. - =WoR=Varth - 08.09.2011

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Here's the WHOLE OnPlayerLogin function, I've even debugged it, so it loads all the files correctly, but I can't seem to see what is crashing the server.
http://pastebin.com/N3sCCtZG
If it's not there, show us your OnPlayerRequestClass, OnPlayerRequestSpawn, and OnPlayerSpawn.


Re: Problem with server. - Darnell - 08.09.2011

DOF2 probably has problems with linux somehow, because on windows, my server isn't crashing.