SA-MP Forums Archive
My server keeps crashing everytime I join - 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)
+--- Thread: My server keeps crashing everytime I join (/showthread.php?tid=652183)



My server keeps crashing everytime I join - HellixBG - 04.04.2018

Hello guys!
As I said in the title my server keep crashing everytime I join it.
I've added this gang system and it keeps crashing
https://pastebin.com/Lm0MMT78
The log shows that i've connected but not the reason why it crashed, I have nativechecker and crashdetector but they don't help in that situation. Please help me


Re: My server keeps crashing everytime I join - Fratello - 04.04.2018

Do you have the required directory (Gangs/Players/) inside scriptfiles folder?


Re: My server keeps crashing everytime I join - HellixBG - 04.04.2018

Quote:
Originally Posted by Fratello
Посмотреть сообщение
Do you have the required directory (Gangs/Players/) inside scriptfiles folder?
No, I haven't but I've created the directory and now the commands are invalid.
If I use strcmp for these commands not zcmd is that problem?


Re: My server keeps crashing everytime I join - Fratello - 05.04.2018

Quote:
Originally Posted by HellixBG
Посмотреть сообщение
No, I haven't but I've created the directory and now the commands are invalid.
If I use strcmp for these commands not zcmd is that problem?
What do you mean by commands are invalid?


Re: My server keeps crashing everytime I join - ForCop - 05.04.2018

Quote:
Originally Posted by Fratello
Посмотреть сообщение
What do you mean by commands are invalid?
change your:
Код:
#define fs
//and all comands exemple: 
if (strcmp(cmd, "/gang", true) ==0 )
on
Код:
#define FILTERSCRIPT
if (strcmp("/gang", cmd, true, 10) == 0)



Re: My server keeps crashing everytime I join - HellixBG - 05.04.2018

Quote:
Originally Posted by ForCop
Посмотреть сообщение
change your:
Код:
#define fs
//and all comands exemple: 
if (strcmp(cmd, "/gang", true) ==0 )
on
Код:
#define FILTERSCRIPT
if (strcmp("/gang", cmd, true, 10) == 0)
But its not filterscript, I've added it to my gm soo


Re: My server keeps crashing everytime I join - HellixBG - 05.04.2018

Now the commands wont work again with these both methods


Re: My server keeps crashing everytime I join - ForCop - 05.04.2018

Quote:
Originally Posted by HellixBG
Посмотреть сообщение
Now the commands wont work again with these both methods
do not put filterscript on gamemode..


Re: My server keeps crashing everytime I join - HellixBG - 05.04.2018

Quote:
Originally Posted by ForCop
Посмотреть сообщение
do not put filterscript on gamemode..
I want to make a gang system but I don't know how. Can you give me some tutorials or?


Re: My server keeps crashing everytime I join - ForCop - 05.04.2018

Quote:
Originally Posted by HellixBG
Посмотреть сообщение
I want to make a gang system but I don't know how. Can you give me some tutorials or?
you can try this http://forum.sa-mp.com/showthread.ph...ht=gang+system