SA-MP Forums Archive
NPC Crash in R5, but not in R2 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: NPC Crash in R5, but not in R2 (/showthread.php?tid=275166)



NPC Crash in R5, but not in R2 - godknightx - 08.08.2011

Hi

So, i updated my server from R2 to R5.
The problem is the non-built-in function in the NPC script, the strtok or sscanf.

When the script call this function, the NPC will crash.

This is a new bug in R3-4-5, because the NPC work in R2.

Please fix this,
Thanx


Re: NPC Crash in R5, but not in R2 - Jay_ - 08.08.2011

sscanf has nothing to do with SA:MP.

As far as I know, an update was issued fixing this issue. Check the plugin topic.


Re: NPC Crash in R5, but not in R2 - grand.Theft.Otto - 08.08.2011

Yes the new sscanf update is a bug fix to the new R5.

Quote:
Originally Posted by Y_Less
sscanf 2.0 - Fixed for 0.3c R5
https://sampforum.blast.hk/showthread.php?tid=120356


Re: NPC Crash in R5, but not in R2 - godknightx - 09.08.2011

Okey, i now dont know what the problem...
The NPCs work on linux, but on windows no XD