Server Crashes
#1

Guys, can you help me?
My 0.3c R5 server crashes after 3 seconds the GM compilation doesn't have any error or warning..
Here is the crashinfo.txt:
Код:
--------------------------

SA-MP Server: 0.3c R5



Exception At Address: 0x0048EB94



Registers:

EAX: 0x00000000	EBX: 0x00000400	ECX: 0x00000100	EDX: 0x7EFEFEFF

ESI: 0x00000000	EDI: 0x0277CE00	EBP: 0x00000000	ESP: 0x0012EEC8

EFLAGS: 0x00010206



Stack:

+0000: 0x02270020   0x0170FFB0   0x0277CE00   0x004661EB

+0010: 0x0277CE00   0x00000000   0x00000400   0x0168BB00

+0020: 0x00000000   0x0012EF20   0x02798C08   0x00000000

+0030: 0x00471B3E   0x00000000   0x43DB0000   0x00000000

+0040: 0x0168BB00   0x0168BB00   0x0277E9F8   0x02270020

+0050: 0x00000000   0x0278ED60   0x02780948   0x004010B6

+0060: 0x0168BB00   0x02798C08   0x02787268   0x00402B63

+0070: 0x0168BB00   0x00000027   0x0012EF58   0x02798C08

+0080: 0x0012F3EC   0x00000000   0x00000000   0x0168BB00

+0090: 0x00000000   0x000119A8   0x000119A0   0x000119BC

+00A0: 0x0000DA08   0x000119B0   0x0000DA08   0x0277E9F8

+00B0: 0x02787268   0x00000000   0x0277DA08   0x00008870

+00C0: 0x00470FCE   0x0168BB00   0x0012F3DC   0x00000013

+00D0: 0x65727453   0x72656D61   0x476E4F5F   0x4D656D61

+00E0: 0x4965646F   0x0074696E   0x0168BB00   0x0168BB00

+00F0: 0x0277E9F8   0x00000000   0x00000000   0x00000000

+0100: 0x00000000   0x00000000   0x00000000   0x00000000

+0110: 0x00000000   0x00000000   0x00000000   0x00000000

+0120: 0x00000000   0x00000000   0x00000000   0x00000000

+0130: 0x00000000   0x012700C4   0x01270150   0x00000004
Thanks
Reply
#2

Post your OnGameModeInit.
Reply
#3

Код:
public OnGameModeInit()
{
	mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
	mysql_debug(1); //====[Debug Abilitato] ====================================

	SetGameModeText(GAMETEXT);

	print("=====================================================================");
	AddVehiclesFromFile();
	AddPickupFromFile();
	AddLabelsFromFile();
	AddMapIconFromFile();
	print("=====================================================================\n");
	//====[TextDraws] ==========================================================
 	Textdraw0 = TextDrawCreate(0.000000,438.000000,"");
	Textdraw1 = TextDrawCreate(486.000000,438.000000,"www.mysite.com");
	TextDrawUseBox(Textdraw0,1);
	TextDrawBoxColor(Textdraw0,0x00000099);
	TextDrawTextSize(Textdraw0,638.000000,-7.000000);
	TextDrawAlignment(Textdraw0,0);
	TextDrawAlignment(Textdraw1,0);
	TextDrawBackgroundColor(Textdraw0,0x000000ff);
	TextDrawBackgroundColor(Textdraw1,0x000000ff);
	TextDrawFont(Textdraw0,3);
	TextDrawLetterSize(Textdraw0,0.399999,0.899999);
	TextDrawFont(Textdraw1,3);
	TextDrawLetterSize(Textdraw1,0.399999,0.899999);
	TextDrawColor(Textdraw0,0xff0000cc);
	TextDrawColor(Textdraw1,0xffffffff);
	TextDrawSetOutline(Textdraw1,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawSetProportional(Textdraw1,1);
	TextDrawSetShadow(Textdraw0,2);
	TextDrawSetShadow(Textdraw1,1);
	TextDrawShowForAll(Text:Textdraw0);
	TextDrawShowForAll(Text:Textdraw1);
	//====[Stuff] ==============================================================
	Cancello0 = CreateObject(976,-626.32189941,1592.87341309,0.00000000,0.00000000,0.00000000,206.00000000); //object(phils_compnd_gate) ZonaRelax
	Cancello1 = CreateObject(976,-626.10388184,1592.91943359,0.00000000,0.00000000,0.00000000,35.99914551); //object(phils_compnd_gate) ZonaRelax
	return 1;
}
Reply
#4

pawn Код:
Textdraw0 = TextDrawCreate(0.000000,438.000000,"");//Change this

Textdraw0 = TextDrawCreate(0.000000,438.000000," ");//To this (Space added)
Reply
#5

Thanks a lot man you saved my life
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)