SA-MP Forums Archive
Help, Log Error - 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: Help, Log Error (/showthread.php?tid=405543)



Help, Log Error - DJTunes - 07.01.2013

This is what my testing server.bat says:
Код:
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[19:34:27] filterscripts = ""  (string)
[19:34:27] 
[19:34:27] Server Plugins
[19:34:27] --------------
[19:34:27]  Loaded 0 plugins.

[19:34:27] 
[19:34:27] Filterscripts
[19:34:27] ---------------
[19:34:27]   Loaded 0 filterscripts.

[19:34:27] Script[gamemodes/GW.amx]: Run time error 19: "File or function is not found"
[19:34:27] Number of vehicle models: 0
And I have the .amx file in the gamemods folder.

Help please?


Re: Help, Log Error - zDevon - 07.01.2013

Update your server server's plugins. Use nativechecker if you still have problems after that and tell us what it says.


Re: Help, Log Error - DJTunes - 07.01.2013

I don't have any plugins. I've just started this script today, and it has nothing on it besides a simple command. Is nativechecker a include, plugin, or?


Re: Help, Log Error - zDevon - 07.01.2013

https://sampforum.blast.hk/showthread.php?tid=249226

Even if you just started the script, if it's in the same directory as your others, your server.cfg may still be calling for plugins if your other scripts used any.


Re: Help, Log Error - DJTunes - 07.01.2013

Код:
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[19:58:43] filterscripts = ""  (string)
[19:58:43] 
[19:58:43] Server Plugins
[19:58:43] --------------
[19:58:43]  Loading plugin: nativechecker
[19:58:43]   Loaded.
[19:58:43]  Loaded 1 plugins.

[19:58:43] 
[19:58:43] Filterscripts
[19:58:43] ---------------
[19:58:43]   Loaded 0 filterscripts.

[19:58:43]    Error: Function not registered: 'SSCANF_Init'
[19:58:43]    Error: Function not registered: 'SSCANF_Join'
[19:58:43]    Error: Function not registered: 'SSCANF_Leave'
[19:58:43] Script[gamemodes/GW.amx]: Run time error 19: "File or function is not found"
[19:58:43] Number of vehicle models: 0
Anything?


Re: Help, Log Error - DJTunes - 07.01.2013

I loaded SSCANF and I got this:
Код:
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[20:00:42] filterscripts = ""  (string)
[20:00:42] 
[20:00:42] Server Plugins
[20:00:42] --------------
[20:00:42]  Loading plugin: nativechecker
[20:00:42]   Loaded.
[20:00:42]  Loading plugin: sscanf
[20:00:42] 

[20:00:42]  ===============================

[20:00:42]       sscanf plugin loaded.     

[20:00:42]    © 2009 Alex "******" Cole

[20:00:42]    0.3d-R2 500 Players "dnee"

[20:00:42]  ===============================

[20:00:42]   Loaded.
[20:00:42]  Loaded 2 plugins.

[20:00:42] 
[20:00:42] Filterscripts
[20:00:42] ---------------
[20:00:42]   Loaded 0 filterscripts.

[20:00:42]    Error: Function not registered: 'SSCANF_Init'
[20:00:42]    Error: Function not registered: 'SSCANF_Join'
[20:00:42]    Error: Function not registered: 'SSCANF_Leave'
[20:00:42] SSCANF2 Loaded
[20:00:42] 
----------------------------------
[20:00:42]  Gang Wars Official by DJTunes
[20:00:42] ----------------------------------

[20:00:42] Number of vehicle models: 0



Re: Help, Log Error - DJTunes - 07.01.2013

Oh, thank you.


Re: Help, Log Error - DJTunes - 07.01.2013

Okay I've extracted the sscanf files downloaded on this thread: https://sampforum.blast.hk/showthread.php?tid=120356

So I've put them in plugins and I still have the same thing, and nothing else is in the plugins folder beside nativechecker


Re: Help, Log Error - zDevon - 07.01.2013

Have you tried recompiling the script since updating?


Re: Help, Log Error - DJTunes - 07.01.2013

Yes. I've just uploaded everything. I recompiled my gamemode, and even changed it's name and edited the server.cfg.
This is my server.cfg:
Код:
echo Executing Server Config...
lanmode 0
rcon_password GWOfficial
maxplayers 32
port 7770
hostname |___[0.3e] Gang Wars Official Testing Server [0.3e]___|
gamemode0 GangWars
filterscripts 
announce 1
query 1
weburl samptc.tk
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 999999
plugins nativechecker sscanf