SA-MP Forums Archive
Server's not working properly - 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: Server's not working properly (/showthread.php?tid=616972)



Server's not working properly - NealPeteros - 13.09.2016

I'm using frag.gs host. I got these errors. I see nothing wrong with it. Help, please
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15:00:14] 
[15:00:14] Server Plugins
[15:00:14] --------------
[15:00:14]  Loading plugin: streamer.so
[15:00:14] 

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

[15:00:14]   Loaded.
[15:00:14]  Loading plugin: sscanf.so
[15:00:14] 

[15:00:14]  ===============================

[15:00:14]       sscanf plugin loaded.     

[15:00:14]    © 2009 Alex "******" Cole

[15:00:14]  ===============================

[15:00:14]   Loaded.
[15:00:14]  Loading plugin: whirlpool.so
[15:00:14]  
[15:00:14]  ==================
[15:00:14]  
[15:00:14]   Whirlpool loaded
[15:00:14]  
[15:00:14]  ==================
[15:00:14]  
[15:00:14]   Loaded.
[15:00:14]  Loaded 3 plugins.

[15:00:14] 
[15:00:14] Filterscripts
[15:00:14] ---------------
[15:00:14]   Loaded 0 filterscripts.

[15:00:14] Script[gamemodes/ZRP.amx]: Run time error 19: "File or function is not found"
[15:00:14] Number of vehicle models: 0



Re: Server's not working properly - AjaxM - 13.09.2016

A file is missing.

EDIT ; Check if there if all files that are included in the main gamemode are also included in your server files.


Re: Server's not working properly - NealPeteros - 13.09.2016

The files that I use in my beta-testing (the main files without frag.gs, the one where I manually use samp-server.exe to start my server) are the same files I use in my frag.gs.


Re: Server's not working properly - Konstantinos - 13.09.2016

Load crashdetect plugin to see what functions are not registered. It will either be plugin(s) that you forgot to load or a plugin version that do not match (older versions usually cause this).


Re: Server's not working properly - NealPeteros - 13.09.2016

I used my main files to run the crashdetect. I don't know why frag won't load crashdetect.so . It loads any other SO files, but crashdetect. Anyways, here's what crashdetect said. http://pastebin.com/btzGiNtp

The lines were too long.


Re: Server's not working properly - Konstantinos - 13.09.2016

Perhaps it says a message such as "CrashDetect must be loaded before 'plugin_name'"? If that is the case load crashdetect plugin first. If you still cannot get it loading, load nativechecker plugin (it must be loaded last).

About the run time error 4, do you call any custom function with 1 parameter (the vehicleid) in OnVehicleSpawn callback? The error comes from there.
If you can't find it, do the procedure described here: http://forum.sa-mp.com/showpost.php?...8&postcount=11


Re: Server's not working properly - NealPeteros - 13.09.2016

Made crashdetect the first plugin. New messages
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[00:26:00] 
[00:26:00] Server Plugins
[00:26:00] --------------
[00:26:00]  Loading plugin: crashdetect.so
[00:26:00]   CrashDetect v4.16 is OK.
[00:26:00]   Loaded.
[00:26:00]  Loading plugin: streamer.so
[00:26:00] 

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

[00:26:00]   Loaded.
[00:26:00]  Loading plugin: sscanf.so
[00:26:00] 

[00:26:00]  ===============================

[00:26:00]       sscanf plugin loaded.     

[00:26:00]    © 2009 Alex "******" Cole

[00:26:00]  ===============================

[00:26:00]   Loaded.
[00:26:00]  Loading plugin: whirlpool.so
[00:26:00]  
[00:26:00]  ==================
[00:26:00]  
[00:26:00]   Whirlpool loaded
[00:26:00]  
[00:26:00]  ==================
[00:26:00]  
[00:26:00]   Loaded.
[00:26:00]  Loaded 4 plugins.

[00:26:00] 
[00:26:00] Filterscripts
[00:26:00] ---------------
[00:26:00]   Loaded 0 filterscripts.

[00:26:00] [debug] Run time error 19: "File or function is not found"
[00:26:00] [debug]  SSCANF_Init
[00:26:00] [debug]  SSCANF_Join
[00:26:00] [debug]  SSCANF_Leave
[00:26:00] [debug] Run time error 19: "File or function is not found"
[00:26:00] [debug]  SSCANF_Init
[00:26:00] [debug]  SSCANF_Join
[00:26:00] [debug]  SSCANF_Leave
[00:26:00] Script[gamemodes/ZRP.amx]: Run time error 19: "File or function is not found"
[00:26:00] Number of vehicle models: 0



Re: Server's not working properly - Konstantinos - 13.09.2016

Yes, that old version of sscanf is causing this. Update sscanf (plugin and include), re-compile and re-upload .amx file.