sscanf problems causing gamemode error
#1

Hello, I'm having problems with sscanf. Whenever I try to use it in my gamemode whether it be a stock gamemode or a custom gamemode, the samp-server.exe won't seem to execute it. I've got nativechecker and it keeps giving me a runtime error an this is why.

pawn Код:
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[14:21:45]
[14:21:45] Server Plugins
[14:21:45] --------------
[14:21:45]  Loading plugin: nativechecker.dll
[14:21:45]   Loaded.
[14:21:45]  Loaded 1 plugins.

[14:21:45]
[14:21:45] Filterscripts
[14:21:45] ---------------
[14:21:45]   Loading filterscript 'AdminRegister.amx'...
[14:21:45]
 Karagon's Admin Filterscript
[14:21:45]  Use with permission. Leave my name in.
[14:21:45]  Copyright 2011 by Karagon.

[14:21:45]   Loaded 1 filterscripts.

[14:21:45]    Error: Function not registered: '
SSCANF_Init'
[14:21:45]    Error: Function not registered: '
SSCANF_Join'
[14:21:45]    Error: Function not registered: '
SSCANF_Leave'
[14:21:45]    Error: Function not registered: '
sscanf'
[14:21:45] Script[gamemodes/rrp.amx]: Run time error 19: "File or function is not found"
[14:21:45] Number of vehicle models: 0
It's the
pawn Код:
[14:21:45]    Error: Function not registered: 'SSCANF_Init'
[14:21:45]    Error: Function not registered: 'SSCANF_Join'
[14:21:45]    Error: Function not registered: 'SSCANF_Leave'
[14:21:45]    Error: Function not registered: 'sscanf'
that's causing the problem but I don't know what to do. I've got the latest sscanf plugin and include but nothing seems to fix it. Please help me
Reply
#2

Did you put the plugin in the server.cfg and didn you included it in your gm ?
Reply
#3

Try to Update your sscanf plugin/include.
Reply
#4

update your sscanf
Reply
#5

My sscanf include is named, sscanf2 just make sure you are including what the actual name of the include is.

Also, make sure you have

plugins sscanf
in your server.cfg
Reply
#6

In your gm at the top you have
pawn Код:
#include <sscanf2>
Or update your sscanf
Reply
#7

I've tried updating my sscanf plugin and include. I have it defined in my server.cfg and I have #include <sscanf2> in my gamemode. Compiles fine but still gives me these stupid sscanf errors when I run my gamemode and it leaves a runtime error because of it. Not sure how to fix this still

Edit: When I run my sa-mp.server.exe file, a popup comes up an says "The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the programs to fix this problem."

It then tells me that sscanf.dll failed to load and gives me these errors:


[18:24:26] Error: Function not registered: 'SSCANF_Init'
[18:24:26] Error: Function not registered: 'SSCANF_Join'
[18:24:26] Error: Function not registered: 'SSCANF_Leave'
[18:24:26] Script[gamemodes/BakersGM.amx]: Run time error 19: "File or function is not found"
[18:24:26] Number of vehicle models: 0
Reply
#8

http://www.microsoft.com/en-us/downl...s.aspx?id=5555
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)