08.07.2011, 12:04
Hello,
got a weird servercrash here.
When executing this code:
It prints "Print 1" which comes after showing the dialoge, although the server is dead before OnDialogResponse is called.
This is the crashlog, although I found nothing about the errorcode.
Thanks in advance,
Bloody
got a weird servercrash here.
When executing this code:
Код:
if(GetPVarInt(playerid,"minigame")==2) // LONGJUMP { new output[1024]; format(output,1024,"Dies sind die Highscores fьr das Spiel Weitsprung.\n\n\n\n\n\n\n Platz \t\tWeite \t\t\tName\n\n\n\n"); for(new i=9;i!=-1;i--) { format(output,1024,"%s{FFFFFF} %i. \t\t{BABF42}%0.2f m \t\t{4EA833}%s{FFFFFF}\n\n",output,10-i,LongJumpScore[i],LongJumpName[i]); ShowPlayerDialog(playerid,HIGHSCORE_VEHICLEJUMP,DIALOG_STYLE_MSGBOX,"Highscores Weitsprung",output,"Schliessen",""); } print("Print 1."); }
Код:
OnDialogResponse(........) { print("Print 2."); .......... }
This is the crashlog, although I found nothing about the errorcode.
Quote:
SA-MP Server: 0.3c R2 Exception At Address: 0x0048797C Registers: EAX: 0x00000000 EBX: 0x017ACAA8 ECX: 0x0012F110 EDX: 0x00000000 ESI: 0x00000000 EDI: 0x01E1AB64 EBP: 0x0012F540 ESP: 0x0012F0CC EFLAGS: 0x00210246 Stack: +0000: 0x017ACAA8 0x0012F110 0x00000000 0x00000000 +0010: 0x00000000 0x00000000 0x64646464 0x00480073 +0020: 0x5F465254 0x69446E4F 0x676F6C61 0x70736552 +0030: 0x65736E6F 0x00487700 0x017ACAA8 0x017ACAA8 +0040: 0x01D21D60 0x00000000 0x00000000 0x00000000 +0050: 0x00000000 0x00000000 0x00000000 0x00000000 +0060: 0x00000000 0x00000000 0x00000000 0x00000000 +0070: 0x00000000 0x00000000 0x00000000 0x00000000 +0080: 0x00000000 0x00000000 0x018725D0 0x0012F184 +0090: 0x0012F17C 0x00000030 0x00000000 0x009B0000 +00A0: 0x0012EF64 0x00086068 0x0012F1B0 0x7C91E920 +00B0: 0x7C9201E0 0xFFFFFFFF 0x7C9201DB 0x004A2B56 +00C0: 0x009B0000 0x00000000 0x004A2B5B 0x0012F590 +00D0: 0x00000022 0x009BADA8 0x017A3A99 0x0012F198 +00E0: 0x00000252 0x0012F6BC 0x004A6FE4 0x004C2238 +00F0: 0xFFFFFFFF 0x004A2B5B 0x004A2B78 0x00000022 +0100: 0x004A483C 0x00000022 0x00000001 0x00468AF1 +0110: 0x00000022 0x0012F590 0x009BADA8 0x0012F684 +0120: 0x00000000 0x0046A9E7 0x0012F5A1 0x00000110 +0130: 0x00000001 0x00000003 0x00000002 0x0100007F |
Bloody