Diferent behaviour of the code in from windows to Linux. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Diferent behaviour of the code in from windows to Linux. (
/showthread.php?tid=580491)
Diferent behaviour of the code in from windows to Linux. -
CharlieSanchez - 05.07.2015
Hi , right i have been recoding most of the functions of this game-mode due to the fact that on windows all executes perfect no bugs no issues, however once running in linux, most of the functions run different bug, behave different, all the plugins are the updated , in both windows and linux, also i have even re-download the executables for linux of sa-mp server , this is been a nightmare , any ideas why there is so different behaviour ?
Example in windows a callback gets called and in linux it doses not ...
And many bugs like this.
Re : Diferent behaviour of the code in from windows to Linux. -
LinuxViper - 06.07.2015
You assume that you are using the 0.3.7 version of sa-mp server for linux?
Re: Diferent behaviour of the code in from windows to Linux. -
Jake187 - 06.07.2015
The only thing I could think of is your GM is actually broken the only difference in Windows if your GM has something broken it doesn't actually always crash the GM or cause bugs, it instead simply ignores the request compared to the Linux server it will actually crash, a common problem I had with PR-RP when I switched from Windows to Linux back in 2010.
Re: Diferent behaviour of the code in from windows to Linux. -
CharlieSanchez - 06.07.2015
I'm using the 0.3.7 version in Windows and Linux, also i have been debuging using crash detector an nativechecker, no errors, the gm never crashes, its mainly callbacks don't get called or behave very diferent from win. To linux, example im using the FCnpc plugin, in windows you can kill the npcs, on Linux you cant, the death callback of the npcs does not get called, its this sort of thing that keeps happening and i have to re code most of thing to work in linux..