SA-MP Forums Archive
Can't fix this stupid 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Can't fix this stupid error! (/showthread.php?tid=240505)



Can't fix this stupid error! - austin070 - 16.03.2011

Код:

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

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

[19:05:53] filterscripts = ""  (string)
[19:05:53] 
[19:05:53] Server Plugins
[19:05:53] --------------
[19:05:53]  Loading plugin: streamer
[19:05:53] 

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

[19:05:53]   Loaded.
[19:05:53]  Loaded 1 plugins.

[19:05:53] 
[19:05:53] Filter Scripts
[19:05:53] ---------------
[19:05:53]   Loaded 0 filter scripts.

[19:05:53] Script[gamemodes/rp.amx]: Run time error 19: "File or function is not found"
[19:05:53] Number of vehicle models: 0
[19:05:55] --- Server Shutting Down.
[19:05:55] 

*** Streamer Plugin v2.5.2 by Incognito unloaded ***
I've tried everything possible. I have all of the includes. I have all of the plugins in their rightful place. I've searched all over the SA-MP forum but I CANNOT find a fix. Can someone help in figuring out what is wrong with this? I can provide code if needed.

Thanks.


Re: Can't fix this stupid error! - admantis - 16.03.2011

Show your
#include .... lines and your plugins line in server.cfg


Re: Can't fix this stupid error! - austin070 - 16.03.2011

pawn Код:
#include <a_samp>
#include <dini>
#include <dudb>
#include <utils>
#include <zcmd>
#include <sscanf2>
Код:
plugins streamer
I know that I don't have sscanf in plugins, but everything worked without it. When I add sscanf to the plugins line, it fails to load it.


Re: Can't fix this stupid error! - admantis - 16.03.2011

it SHOULD work if you add 'sscanf' in the plugins line and add sscanf.dll (or sscanf.so if you have linux) in the plugins folder, I mean, that's how I have it.


Re: Can't fix this stupid error! - austin070 - 16.03.2011

Quote:
Originally Posted by admantis
Посмотреть сообщение
it SHOULD work if you add 'sscanf' in the plugins line and add sscanf.dll (or sscanf.so if you have linux) in the plugins folder, I mean, that's how I have it.
I have sscanf.dll in the plugins folder, but for some reason when I add it to the plugins line it won't load.

Код:
----------
Loaded log file: "server_log.txt".
----------

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

[19:22:54] filterscripts = ""  (string)
[19:22:54] 
[19:22:54] Server Plugins
[19:22:54] --------------
[19:22:54]  Loading plugin: sscanf
[19:22:54]   Failed.
[19:22:54]  Loading plugin: streamer
[19:22:54] 

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

[19:22:54]   Loaded.
[19:22:54]  Loaded 1 plugins.

[19:22:54] 
[19:22:54] Filter Scripts
[19:22:54] ---------------
[19:22:54]   Loaded 0 filter scripts.

[19:22:54] Script[gamemodes/rp.amx]: Run time error 19: "File or function is not found"
[19:22:54] Number of vehicle models: 0
[19:22:58] --- Server Shutting Down.
[19:22:58] 

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



Re: Can't fix this stupid error! - austin070 - 16.03.2011

I think I've found a lead to a solution. I use ZCMD and sscanf to code commands. I removed ALL of my commands and my server ran correctly. This means that the error is being derived from either zcmd or sscanf.


Re: Can't fix this stupid error! - admantis - 16.03.2011

i believe you are using a wrong version of sscanf, to be honest I had this problem before, try re-downloading it and try if it works, a friend tossed me a working link but I don't have it, oh, what a shame.


Re: Can't fix this stupid error! - austin070 - 16.03.2011

Quote:
Originally Posted by admantis
Посмотреть сообщение
i believe you are using a wrong version of sscanf, to be honest I had this problem before, try re-downloading it and try if it works, a friend tossed me a working link but I don't have it, oh, what a shame.
I have sscanf 2.0. I'll try reverting to an earlier version.