SA-MP Forums Archive
Odd error. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Odd error. (/showthread.php?tid=340244)



Odd error. - X3nZ - 06.05.2012

Ok, to begin with.

I'm using a script which requires the following plugins

MySQL
Whirlpool
sscanf
streamer
GeoIP
irc

I get no errors with plugins. I just get an error when I start up samp-server.exe
The plugins load successfully, the script compiles with no warnings/errors.

Here is a screenshot of what I get when I launch samp-server.exe

http://imageshack.us/photo/my-images/20/errorab.png

I have downloaded that .dll file and manually put it in it's correct directory. Still, not working.
The database loads successfully through MySQL.

I'm not sure how to fix this.

After I click ok, the samp-server.exe loads fine but I get this error in the console.

Quote:

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

Here is a copy of my server log.

Quote:

SA-MP Dedicated Server
----------------------
v0.3d, ©2005-2011 SA-MP Team

[10:49:37]
[10:49:37] Server Plugins
[10:49:37] --------------
[10:49:37] Loading plugin: wp
[10:49:37]
[10:49:37] ==================
[10:49:37]
[10:49:37] Whirlpool loaded
[10:49:37]
[10:49:37] ==================
[10:49:37]
[10:49:37] Loaded.
[10:49:37] Loading plugin: sscanf
[10:51:12] Failed.
[10:51:12] Loading plugin: streamer
[10:51:12]

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

[10:51:12] Loaded.
[10:51:12] Loading plugin: mysql
[10:51:12]

> MySQL plugin R5 successfully loaded.

[10:51:12] Loaded.
[10:51:12] Loading plugin: irc
[10:51:12]

*** IRC Plugin v1.4.2 by Incognito loaded ***

[10:51:12] Loaded.
[10:51:12] Loading plugin: GeoIP_Plugin
[10:51:12] GeoIP_Plugin got loaded.
[10:51:12] Loaded.
[10:51:12] Loaded 5 plugins.

[10:51:12]
[10:51:12] Filterscripts
[10:51:12] ---------------
[10:51:12] Loaded 0 filterscripts.

[10:51:12] Script[gamemodes/rp.amx]: Run time error 19: "File or function is not found"
[10:51:12] Number of vehicle models: 0
[10:51:12] --- Server Shutting Down.
[10:51:12]
[10:51:12] ====================
[10:51:12]
[10:51:12] Whirlpool unloaded
[10:51:12]
[10:51:12] ====================
[10:51:12]
[10:51:12]

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

[10:51:12]

> MySQL plugin unloaded.

You will receive reputation if you help me solve my issue.

Regards,
X3nZ.


Re: Odd error. - Mark™ - 06.05.2012

Your sscanf plugin fails to load, although i would recommend you to install nativechecker at the end of all the plugins and post the new server_log here.


Re: Odd error. - X3nZ - 06.05.2012

I just discovered something.

When I load sscanf plugin, thats when I get the error. All the other plugins doesn't give me the error, so I'm assuming it's something to do with sscanf.

EDIT -

Here's my out come

When I do not load sscanf with nativechecker

Quote:

[11:02:17] Error: Function not registered: 'sscanf'
[11:02:17] Script[gamemodes/rp.amx]: Run time error 19: "File or function is not found"
[11:02:17] Number of vehicle models: 0

When I load the sscanf plugin with native checker, really, it's the same.

Quote:

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

SA-MP Dedicated Server
----------------------
v0.3d, ©2005-2011 SA-MP Team

[11:04:08]
[11:04:08] Server Plugins
[11:04:08] --------------
[11:04:08] Loading plugin: mysql
[11:04:08]

> MySQL plugin R5 successfully loaded.

[11:04:08] Loaded.
[11:04:08] Loading plugin: streamer
[11:04:08]

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

[11:04:08] Loaded.
[11:04:08] Loading plugin: wp
[11:04:08]
[11:04:08] ==================
[11:04:08]
[11:04:08] Whirlpool loaded
[11:04:08]
[11:04:08] ==================
[11:04:08]
[11:04:08] Loaded.
[11:04:08] Loading plugin: irc
[11:04:08]

*** IRC Plugin v1.4.2 by Incognito loaded ***

[11:04:08] Loaded.
[11:04:08] Loading plugin: GeoIP_Plugin
[11:04:08] GeoIP_Plugin got loaded.
[11:04:08] Loaded.
[11:04:08] Loading plugin: nativechecker
[11:04:08] Loaded.
[11:04:08] Loading plugin: sscanf
[11:04:09] Failed.
[11:04:09] Loaded 6 plugins.

[11:04:09]
[11:04:09] Filterscripts
[11:04:09] ---------------
[11:04:09] Loaded 0 filterscripts.

[11:04:09] Error: Function not registered: 'sscanf'
[11:04:09] Script[gamemodes/rp.amx]: Run time error 19: "File or function is not found"
[11:04:09] Number of vehicle models: 0




Re: Odd error. - Mark™ - 06.05.2012

Quote:
Originally Posted by X3nZ
Посмотреть сообщение
I just discovered something.

When I load sscanf plugin, thats when I get the error. All the other plugins doesn't give me the error, so I'm assuming it's something to do with sscanf.
Have you upgraded your sscanf to v2.6 ? Outdated version may be causing this.


Re: Odd error. - X3nZ - 06.05.2012

Editted my post.

I will try that now.

Edit: Still doing the same thing when I updated the plugin, I downloaded both, the include and the plugin, recompiled the script, and tried it.

Still the same.


Re: Odd error. - Mark™ - 06.05.2012

Quote:
Originally Posted by X3nZ
Посмотреть сообщение
Editted my post.

I will try that now.

Edit: Still doing the same thing when I updated the plugin, I downloaded both, the include and the plugin, recompiled the script, and tried it.

Still the same.
Did you recompile with the v2.6's include ?


Re: Odd error. - X3nZ - 06.05.2012

Yes, I did


Re: Odd error. - Mark™ - 06.05.2012

Try this one : http://www.solidfiles.com/d/35c6ab1322/


Re: Odd error. - X3nZ - 06.05.2012

Still the same error.

It happens with any script using the sscanf plugin btw.


Re: Odd error. - Mark™ - 06.05.2012

Quote:
Originally Posted by X3nZ
Посмотреть сообщение
Still the same error.

It happens with any script using the sscanf plugin btw.
Have you installed Microsoft Visual C++ 2010 Redistributable Package ? If not, then do that and report back.