server closes connection -
mikeeyy12 - 25.08.2013
when i want to enter my server it crashes automaticly.
i cant use commands and the enviroment doesnt load :S
when i look in the server_log.txt file it says
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] sscanf error: System not initialised.
[08:55:18] [debug] Run time error 4: "Array index out of bounds"
[08:55:18] [debug] Accessing element at index 8 past array upper bound 7
[08:55:18] [debug] AMX backtrace:
[08:55:18] [debug] #0 00018b34 in ?? (0x00000000) from Trucking.amx
[08:55:18] [debug] #1 00068588 in public Streamer_OnPlayerConnect (0x00000000) from Trucking.amx
[08:55:18] [debug] #2 000008a4 in public OnPlayerConnect (0x00000000) from Trucking.amx
help plz
Re: server closes connection -
ProjectMan - 25.08.2013
Put nativechecker the last in the plugins line in server.cfg.
Код:
...
plugins blabla sscanf nativechecker
...
Re: server closes connection -
mikeeyy12 - 25.08.2013
i already did that
Re: server closes connection -
Konstantinos - 25.08.2013
Quote:
Originally Posted by ******
- sscanf error: System not initialised.
If you get this error, you need to make sure that you have recompiled ALL your scripts using the LATEST version of "sscanf2.inc". Older versions didn't really require this as they only had two natives - "sscanf" and "unformat", the new version has some other functions - you don't need to worry about them, but you must use "sscanf2.inc" so that they are correctly called. If you think you have done this and STILL get the error then try again - make sure you are using the correct version of PAWNO for example.
|
It's probably because you're using old version and it crash the server. Update to the latest version and re-compile your scripts.
Re: server closes connection -
mikeeyy12 - 25.08.2013
i already use sscanf2.inc
when i host the server from my own pc it works i uploaded it to a hosting server added everything after that the problems occured.
i know i use the right pawno because i only have 1 pawno file.
Re: server closes connection -
Konstantinos - 25.08.2013
I'm not talking about the .pwn file. The sscanf you use is probably old (Either plugin or you have compiled with the wrong include). This is what the warning says and it probably crash your server.
Show us your server log where the plugins are loading.
Re: server closes connection -
mikeeyy12 - 25.08.2013
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[10:50:23]
[10:50:23] Server Plugins
[10:50:23] --------------
[10:50:23] Loading plugin: sscanf
[10:50:23]
[10:50:23] ===============================
[10:50:23] sscanf plugin loaded.
[10:50:23] Version: 2.8.1
[10:50:23] © 2012 Alex "******" Cole
[10:50:23] ===============================
[10:50:23] Loaded.
[10:50:23] Loading plugin: streamer
[10:50:23]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[10:50:23] Loaded.
[10:50:23] Loading plugin: crashdetect
[10:50:23] CrashDetect v4.11.2 is OK.
[10:50:23] Loaded.
[10:50:23] Loading plugin: nativechecker
[10:50:23] Loaded.
[10:50:23] Loaded 4 plugins.
[10:50:23]
[10:50:23] Filterscripts
[10:50:23] ---------------
[10:50:23] Loading filterscript 'gl_actions.amx'...
[10:50:23] Loaded 1 filterscripts.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:23] sscanf error: System not initialised.
[10:50:24] Debug information
[10:50:24] -------------------------------------
[10:50:24] Last vehicle ID: 290
[10:50:24] Last object ID: 18
[10:50:24] Loaded 5 houses
[10:50:24] Loaded 2 businesses
[10:50:24] Loaded 3 speed-camera's
[10:50:24] -------------------------------------
[10:50:24] Houses that have been fixed: 0
[10:50:24]
----------------------------------
[10:50:24] UK-Trucking
[10:50:24] ----------------------------------
[10:50:24] Number of vehicle models: 25
Re: server closes connection -
CrazyChoco - 25.08.2013
Are you using up to date plugins?
Re: server closes connection -
ProjectMan - 25.08.2013
Post your plugins line from server.cfg.
Re: server closes connection -
mikeeyy12 - 25.08.2013
plugins sscanf streamer crashdetect nativechecker