SA-MP Forums Archive
samp-server.exe close itself - 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: samp-server.exe close itself (/showthread.php?tid=530490)



samp-server.exe close itself - anou1 - 07.08.2014

Hi,

When I launch samp-server.exe it close itself again and again.
I tried to understand what's the problem with crashdetect but I don't understand what's wrong.


Crashinfo Pastbin: http://pastebin.com/2EU6ximp

Samp logs: http://pastebin.com/yxj8AJML


The thing is that yesterday it was working fine but now it's just crashing.


How could I fix this please ? Thank you ! (:


Re: samp-server.exe close itself - Lirbo - 07.08.2014

Mabye you got errors in your gamemode


Re : samp-server.exe close itself - anou1 - 07.08.2014

0 errors when I compile.


Re : samp-server.exe close itself - anou1 - 07.08.2014

No ideas ?


Re: samp-server.exe close itself - DiGiTaL_AnGeL - 07.08.2014

What is the size of your compiled gamemode?(.amx format)


Re : samp-server.exe close itself - anou1 - 07.08.2014

432Ko


Re: samp-server.exe close itself - JacobEdwards - 08.08.2014

Okay, so the crash occurs when you call on SauvegardeMaison();. What method of saving do you use for the houses?


Re : samp-server.exe close itself - anou1 - 08.08.2014

I can't crash when it calls SauvegardeMaison cause SauvegardeMaison isn't called at all at the begining.
But here it is.

Код:
public SauvegardeVoiture(v)
{
	new query[830];
	format(query, sizeof(query), "UPDATE `voitures` SET `Proprietaire`='%s', `AncienProprietaire`='%s', `Plaque`='%s', `Prix`=%d, `Ouverte`=%d, `Achetee`=%d,`Modele`=%d, `Arme1`=%d, `Munition1`=%d, `Arme2`=%d, `Munition2`=%d,`Arme3`=%d, `Munition3`=%d, `Paintjob`=%d, `mod1`=%d, `mod2`=%d, `mod3`=%d, `mod4`=%d, `mod5`=%d, `mod6`=%d,`mod7`=%d, `mod8`=%d, `mod9`=%d, `mod10`=%d, `mod11`=%d, `mod12`=%d, `mod13`=%d, `mod14`=%d, `mod15`=%d, `mod16`=%d, `mod17`=%d WHERE `ID`=%d", 
	vInfo[v][vProprietaire], vInfo[v][vAncienProprietaire], vInfo[v][vPlaque], vInfo[v][vPrix], vInfo[v][vOuverte], vInfo[v][vAchetee], vInfo[v][vModele], vInfo[v][vArme1], vInfo[v][vMunition1], vInfo[v][vArme2],vInfo[v][vMunition2], vInfo[v][vArme3],
	vInfo[v][vMunition3], vInfo[v][vPaintjob], vInfo[v][mod1], vInfo[v][mod2], vInfo[v][mod3], vInfo[v][mod4], vInfo[v][mod5], vInfo[v][mod6], vInfo[v][mod7], vInfo[v][mod8], vInfo[v][mod9], vInfo[v][mod10], vInfo[v][mod11], vInfo[v][mod12], vInfo[v][mod13], vInfo[v][mod14], vInfo[v][mod15], vInfo[v][mod16], vInfo[v][mod17], vInfo[v][vID]);
	mysql_tquery(mysql, query, "", "");
}



Re : samp-server.exe close itself - anou1 - 08.08.2014

UP, I still have the same problem :/


Re: samp-server.exe close itself - ViniBorn - 08.08.2014

What is the 'v' max value ?