SA-MP Forums Archive
sscanf 2 resources? - 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: sscanf 2 resources? (/showthread.php?tid=225453)



sscanf 2 resources? - Rizard - 13.02.2011

Evening,

I'm having issues starting a server on an XP machine. The server is running perfectly on windows 7.

the error is: 'Run time error 19' (yes I've searched for this...please read on)

According to nativechecker.inc sscanf2 is the problem. So I tried the first version of 'sscanf.inc'(yes the plugin remained the same) and it got the server started but I don't wanne keep it. I wanne stick to sscanf2. So if you can tell me what .net framework it needs or anything I can change so it will run with the sscanf2 possibilities...

greets


Re: sscanf 2 resources? - JaTochNietDan - 13.02.2011

Does the plugin give any error when trying to load? Or is that all you get, Runtime error 19, file or function not found?

Also I would try installing the latest C++ redistributable package from Microsoft.

http://www.microsoft.com/downloads/e...3-37bf0912db84


Re: sscanf 2 resources? - Rizard - 13.02.2011

The nativechecker gives an additional error: native "sscanf" is not found.

And then yeah the Runtime error; file or function not found.... pointing to my gamemode.

Also I was hopeful for the C++ package but no success.


Re: sscanf 2 resources? - Rizard - 14.02.2011

Quote:
Originally Posted by -Davee-
Посмотреть сообщение
Okay, I had same problem on my Windows Server

Error:
Код:
Run time error 19: "File or function is not found"
( the plugin loads fine on my home computer ) so I copmilled a new version with this settings in Visual C++
( Configuration Properties -> C/C++ -> Code Generation -> Runtime Library = Multi threaded (Debug) )

This give a large .dll file, but it works!

If you have same problem, and need a working plugin of the latest update,
you can download here: http://nextgen.gameweb.hu/Files/sscanf.dll
that solved the problem (clearly searching isn't a skill of mine)

Is it a good solution? or not? with the larger 300kB dll and all