SA-MP Forums Archive
Scripting/Server Help - 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: Scripting/Server Help (/showthread.php?tid=532655)



Scripting/Server Help - VladimirMark - 19.08.2014

Ok so here is what happens when I successfully register or successfully login into my server,

and here is the server log
Код:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team

[19:17:28] filterscripts = ""  (string)
[19:17:28] 
[19:17:28] Server Plugins
[19:17:28] --------------
[19:17:28]  Loading plugin: dns
[19:17:28] 

*** DNS Plugin v2.4 by Incognito loaded ***

[19:17:28]   Loaded.
[19:17:28]  Loading plugin: streamer
[19:17:28]   Loaded.
[19:17:28]  Loading plugin: sscanf
[19:17:28] 

[19:17:28]  ===============================

[19:17:28]       sscanf plugin loaded.     

[19:17:28]          Version:  2.8.1        

[19:17:28]    © 2012 Alex "******" Cole  

[19:17:28]  ===============================

[19:17:28]   Loaded.
[19:17:28]  Loading plugin: crashdetect
[19:17:28]   CrashDetect must be loaded before 'streamer.DLL'
[19:17:28]   Failed.
[19:17:28]  Loaded 3 plugins.

[19:17:28] 
[19:17:28] Filterscripts
[19:17:28] ---------------
[19:17:28]   Loaded 0 filterscripts.

[19:17:29] Bots loading, beginning...
[19:17:29]  | High Life Roleplay 2.8 |
[19:17:29] Number of vehicle models: 39
[19:19:11] Incoming connection: 127.0.0.1:62715
[19:19:11] [join] Vladimir_Mark has joined the server (25:127.0.0.1)
[19:19:35] [part] Vladimir_Mark has left the server (25:2)
[19:19:35] Incoming connection: 127.0.0.1:62716
[19:19:36] [join] Vladimir_Mark has joined the server (25:127.0.0.1)
[19:19:44] [part] Vladimir_Mark has left the server (25:1)
and I can't understand why is this happening, I run it as LAN hosting at home.
REP+







.


Re: Scripting/Server Help - Gogorakis - 19.08.2014

Check this.
Quote:

[19:17:28] CrashDetect must be loaded before 'streamer.DLL'
[19:17:28] Failed.




Re: Scripting/Server Help - VladimirMark - 19.08.2014

Quote:
Originally Posted by Gogorakis
Посмотреть сообщение
Check this.
Nah' nothing changes,
After few seconds after I hit Login, the server closes connection and restarts. :P

EDIT:
Crash detect found this:
Код:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team

[22:17:00] filterscripts = ""  (string)
[22:17:00] 
[22:17:00] Server Plugins
[22:17:00] --------------
[22:17:00]  Loading plugin: crashdetect
[22:17:00]   CrashDetect v4.13.1 is OK.
[22:17:00]   Loaded.
[22:17:00]  Loading plugin: streamer
[22:17:00]   Loaded.
[22:17:00]  Loading plugin: sscanf
[22:17:00] 

[22:17:00]  ===============================

[22:17:00]       sscanf plugin loaded.     

[22:17:00]          Version:  2.8.1        

[22:17:00]    © 2012 Alex "******" Cole  

[22:17:00]  ===============================

[22:17:00]   Loaded.
[22:17:00]  Loading plugin: dns
[22:17:00] 

*** DNS Plugin v2.4 by Incognito loaded ***

[22:17:00]   Loaded.
[22:17:00]  Loaded 4 plugins.

[22:17:00] 
[22:17:00] Filterscripts
[22:17:00] ---------------
[22:17:00]   Loaded 0 filterscripts.

[22:17:02] Bots loading, beginning...
[22:17:02]  | High Life Roleplay 2.8 |
[22:17:02] Number of vehicle models: 40
[22:18:45] Incoming connection: 127.0.0.1:56251
[22:18:46] [join] Vladimir_Mark has joined the server (25:127.0.0.1)
[22:18:46] [debug] Run time error 4: "Array index out of bounds"
[22:18:46] [debug]  Accessing element at index 100 past array upper bound 99
[22:18:46] [debug] AMX backtrace:
[22:18:46] [debug] #0 0000da90 in public OnConnectInit (0x00000019) from PR-RP.amx
[22:18:46] [debug] #1 0000ee08 in public SSCANF_OnPlayerConnect (0x00000019) from HL-RP.amx
[22:18:46] [debug] #2 0000618c in public Itter_OnPlayerConnect (0x00000019) from HL-RP.amx
[22:18:46] [debug] #3 native CallLocalFunction () [00472fc0] from samp-server.exe
[22:18:46] [debug] #4 00005870 in public OnPlayerConnect (0x00000019) from HL-RP.amx
[22:19:02] [part] Vladimir_Mark has left the server (25:2)



Re: Scripting/Server Help - Gogorakis - 19.08.2014

Quote:

[22:18:46] [debug] Run time error 4: "Array index out of bounds"
[22:18:46] [debug] Accessing element at index 100 past array upper bound 99
[22:18:46] [debug] AMX backtrace:
[22:18:46] [debug] #0 0000da90 in public OnConnectInit (0x00000019) from PR-RP.amx
[22:18:46] [debug] #1 0000ee08 in public SSCANF_OnPlayerConnect (0x00000019) from HL-RP.amx
[22:18:46] [debug] #2 0000618c in public Itter_OnPlayerConnect (0x00000019) from HL-RP.amx
[22:18:46] [debug] #3 native CallLocalFunction () [00472fc0] from samp-server.exe
[22:18:46] [debug] #4 00005870 in public OnPlayerConnect (0x00000019) from HL-RP.amx

I am not good at pro-scripting but this will help you..


Re: Scripting/Server Help - VladimirMark - 20.08.2014

Quote:
Originally Posted by Gogorakis
Посмотреть сообщение
I am not good at pro-scripting but this will help you..
What will help me? Please need help


Re: Scripting/Server Help - Norrin - 20.08.2014

It closes the connection and restarts? w0t...

Try to remove your mods and see how it does on a clean version of San Andreas.


Re: Scripting/Server Help - VladimirMark - 20.08.2014

I don't have any mods installed, just the S****t for helping reasons and if I enter other server it works fine, but I got the crash report from crashdetect plugin and I can't understand why :/
Код:
[22:18:46] [debug] Run time error 4: "Array index out of bounds"
[22:18:46] [debug] Accessing element at index 100 past array upper bound 99
[22:18:46] [debug] AMX backtrace:
[22:18:46] [debug] #0 0000da90 in public OnConnectInit (0x00000019) from PR-RP.amx
[22:18:46] [debug] #1 0000ee08 in public SSCANF_OnPlayerConnect (0x00000019) from HL-RP.amx
[22:18:46] [debug] #2 0000618c in public Itter_OnPlayerConnect (0x00000019) from HL-RP.amx
[22:18:46] [debug] #3 native CallLocalFunction () [00472fc0] from samp-server.exe
[22:18:46] [debug] #4 00005870 in public OnPlayerConnect (0x00000019) from HL-RP.amx
EDIT:
The script compiles without warnings or errors


Re: Scripting/Server Help - DobbysGamertag - 20.08.2014

You don't have mods? Try removing that damn tool.


Re: Scripting/Server Help - KayJ - 20.08.2014

Did you load sscanf plugin + include in your script?


Re: Scripting/Server Help - VladimirMark - 20.08.2014

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
You don't have mods? Try removing that damn tool.
Quote:
Originally Posted by SturtIndia
Посмотреть сообщение
Did you load sscanf plugin + include in your script?
Dobbys, I removed it and nothing.

Sturt, I loaded SSCANF and also in the script and compiled once again and same result.