Function not found.
#1

Hello everyone,

I have not touched pawn in years, perhaps around three full years, if not more.
I have decided to work on a game mode as a side project after work.

I've begun setting up my environment and upon downloading all plugins and includes I've gotten the following error:
"Run time error 19: "File or function is not found"" - So ye, I've encountered this before, I knew what the cause was and so I re-downloaded all plugins, tried to get them from different sources.

That didn't seem to work, so I downloaded nativechecker and it says the following:

Error: Function not registered: 'SSCANF_Init'
Error: Function not registered: 'SSCANF_IsConnected'
Error: Function not registered: 'SSCANF_Join'
Error: Function not registered: 'SSCANF_Leave'
Error: Function not registered: 'KillPlayerTimers'

This is where I got stuck. I mean, I realized the problem is with sscanf, so I downloaded it from three different sources, but I get the same problem over and over again, so I must be missing something.

I tried googling, but came up empty, so here I am... what's wrong with my set up?

Thank you in advance,
Denying

EDIT:

Apparently timerfix is also causing an issue. "KillPlayerTimers" function in that last error line comes from it, not from sscanf.

EDIT2: I replaced timerfix with fixes2 plugin. I do not know how much of an effective different there is between the two. If timerfix is preferred, let me know and I'll try to find a solution.
Reply
#2

Try downloading latest sscanf include from here https://sampforum.blast.hk/showthread.php?tid=602923 ,
Replace it's sscanf.dll to your plugins folder, And paste sscanf2.inc on your includes folder (Which you are using to compile your gamemode) Now go backward of that includes folder and open pawn.exe, Now open your gamemode and compile it..
I've encountered this problem few times, But i've fixed it using Latest + Same include/plugin..

And if that doesn't works then can you show your server.cfg and full server log?
Reply
#3

I've tried doing all that, but still thank you for the response.

I've made the mistake of placing nativechecker at the front of the plugins list, which appears to have solved the problem even though I've had those errors prior to downloading nativechecker in the first place.

Who knows..

Anywho, thank you very much.

SOLVED IN THE FOLLOWING WAY:

Just in case someone isn't bothered to read the entire thing and encounters the same issue, if you have nativechecker plugin installed, place it last in your plugins line in server.cfg.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)