SA-MP Forums Archive
[help] Callbacks not calling - 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: [help] Callbacks not calling (/showthread.php?tid=165624)



[help] Callbacks not calling - Huge problem - jonrb - 05.08.2010

Hello,
There appears to be a huge bug with my compiler/server/client (I am not sure which). After a while, my server stops calling any callbacks. This includes native callbacks (such as OnPlayerCommandText). Has anybody else had this problem?
Thank you all in advance,
JonRB


Re: [help] Callbacks not calling - Hiddos - 05.08.2010

I had it sometime, I forgot how I did it though.


Re: [help] Callbacks not calling - jonrb - 05.08.2010

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
I had it sometime, I forgot how I did it though.
Haha well that helps.. Any suggestions?


Re: [help] Callbacks not calling - Jeffry - 05.08.2010

Try to re-download the latest server version, and compile your code with the new "pawno" again. Maybe that helps.


Re: [help] Callbacks not calling - jonrb - 05.08.2010

EDIT: It works!


Re: [help] Callbacks not calling - jonrb - 05.08.2010

Dammit, Still doesn't work. Thank you for trying though!


Re: [help] Callbacks not calling - Ash. - 05.08.2010

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
I had it sometime, I forgot how I did it though.
Im the same, although i can remember faintly that you can try setting the max players to a slightly lower value*, and then try again, i dont know how that came into my mind but it might be important for something, try it

*If you reach your max players, increase it instead.


Re: [help] Callbacks not calling - jonrb - 05.08.2010

My maxplayers was 100, and i've even re-defined MAX_PLAYERS to 100 (for efficiency)
This also doesn't seem like a long-term solution...


Re: [help] Callbacks not calling - Kar - 05.08.2010

do you have zcmd cmds and onplayercommandtext cmds?


Re: [help] Callbacks not calling - jonrb - 05.08.2010

Quote:
Originally Posted by Kar
Посмотреть сообщение
do you have zcmd cmds and onplayercommandtext cmds?
No, just ZCMD, but OnPlayerCommandText failiure was just an example. OnPlayerKeyStateChange, is another example of a command that doesn't work. Players can still see each other and interact, etc. It's as if somebody switched the gamemode to a blank one (Which isn't possible as i run my server on a closed network)