Hallo, unzwar habe ich folgendes Problem, wenn ich jetzt auf das Textdraw Registrieren klicke, stürzt die Server.exe ab
hier Crashinfolog
Code
--------------------------
SA-MP Server: 0.3.7-R2
Exception At Address: 0x77C28DCD Module: (ntdll.dll)
Registers:
EAX: 0x00000031 EBX: 0x0019D918 ECX: 0x00000001 EDX: 0x00001320
ESI: 0x00164A20 EDI: 0x02980000 EBP: 0x0019D818 ESP: 0x0019D720
EFLAGS: 0x00010202
Stack:
+0000: 0x0BB610C2 0x0019D918 0x02980000 0x0019D920
+0010: 0xF30004F7 0x04C34854 0x0019D754 0xFFFFFB0C
+0020: 0x02982B3E 0x0019D854 0x0019D728 0x8CA2073F
+0030: 0x0019D854 0x6DBACF5E 0x8CA2073F 0xFFFFFFFE
+0040: 0x6DBA3C3A 0x02987830 0x6D525E43 0x00000000
+0050: 0x02B6F978 0xFFFFFB0C 0x6D525EC4 0x00000001
+0060: 0x00000000 0x02980000 0x02980000 0x02982A88
+0070: 0x0019D7AC 0x0019D918 0x00000000 0x000007FF
+0080: 0x00000001 0x029800C0 0x0000000F 0x6D52216C
+0090: 0x6D521814 0x00000000 0x00000018 0x00000000
+00A0: 0x0019D7B8 0x0019D7BC 0x00000000 0x00000000
+00B0: 0x011901C8 0x00000000 0x00000400 0x029800C0
+00C0: 0x00000001 0x00001320 0x00000000 0x01017828
+00D0: 0x02987828 0x00000002 0x00164A20 0x02987830
+00E0: 0xFFFFFFFE 0x0019D134 0x0019D8A8 0x77C567B0
+00F0: 0x7C624A22 0x00000000 0x0019D86C 0x77C28BD8
+0100: 0x0019D918 0x0019D920 0x02B6F978 0x0019D920
+0110: 0x04C34854 0x5946F482 0x0019FB58 0x77C567B0
+0120: 0x7C624A02 0xFFFFFFFE 0x0019D888 0x77C25C95
+0130: 0x0000000B 0x00000018 0x029802A0 0x0019D87C
--------------------------
Loaded Modules:
samp-server.exe A: 0x00400000 - 0x00519000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\samp-server.exe)
ntdll.dll A: 0x77BE0000 - 0x77D63000 (C:\Windows\SYSTEM32\ntdll.dll)
KERNEL32.DLL A: 0x75420000 - 0x75500000 (C:\Windows\System32\KERNEL32.DLL)
KERNELBASE.dll A: 0x77A30000 - 0x77BD1000 (C:\Windows\System32\KERNELBASE.dll)
SHELL32.dll A: 0x75AD0000 - 0x76EA8000 (C:\Windows\System32\SHELL32.dll)
msvcrt.dll A: 0x75110000 - 0x751CE000 (C:\Windows\System32\msvcrt.dll)
cfgmgr32.dll A: 0x75310000 - 0x75346000 (C:\Windows\System32\cfgmgr32.dll)
windows.storage.dll A: 0x770E0000 - 0x7764E000 (C:\Windows\System32\windows.storage.dll)
combase.dll A: 0x76EB0000 - 0x770C1000 (C:\Windows\System32\combase.dll)
ucrtbase.dll A: 0x77650000 - 0x77730000 (C:\Windows\System32\ucrtbase.dll)
RPCRT4.dll A: 0x75350000 - 0x75411000 (C:\Windows\System32\RPCRT4.dll)
SspiCli.dll A: 0x745B0000 - 0x745CE000 (C:\Windows\System32\SspiCli.dll)
CRYPTBASE.dll A: 0x745A0000 - 0x745AA000 (C:\Windows\System32\CRYPTBASE.dll)
bcryptPrimitives.dll A: 0x747C0000 - 0x7481A000 (C:\Windows\System32\bcryptPrimitives.dll)
sechost.dll A: 0x758A0000 - 0x758E1000 (C:\Windows\System32\sechost.dll)
powrprof.dll A: 0x758F0000 - 0x75935000 (C:\Windows\System32\powrprof.dll)
advapi32.dll A: 0x75820000 - 0x75897000 (C:\Windows\System32\advapi32.dll)
shlwapi.dll A: 0x74980000 - 0x749C6000 (C:\Windows\System32\shlwapi.dll)
GDI32.dll A: 0x757C0000 - 0x757EB000 (C:\Windows\System32\GDI32.dll)
gdi32full.dll A: 0x77730000 - 0x7788A000 (C:\Windows\System32\gdi32full.dll)
USER32.dll A: 0x74820000 - 0x7497F000 (C:\Windows\System32\USER32.dll)
win32u.dll A: 0x75800000 - 0x75815000 (C:\Windows\System32\win32u.dll)
kernel.appcore.dll A: 0x77A10000 - 0x77A1D000 (C:\Windows\System32\kernel.appcore.dll)
shcore.dll A: 0x755C0000 - 0x75648000 (C:\Windows\System32\shcore.dll)
profapi.dll A: 0x74690000 - 0x7469F000 (C:\Windows\System32\profapi.dll)
WSOCK32.dll A: 0x73690000 - 0x73698000 (C:\Windows\SYSTEM32\WSOCK32.dll)
WINMM.dll A: 0x74550000 - 0x74574000 (C:\Windows\SYSTEM32\WINMM.dll)
WS2_32.dll A: 0x75500000 - 0x75563000 (C:\Windows\System32\WS2_32.dll)
WINMMBASE.dll A: 0x00560000 - 0x00583000 (C:\Windows\SYSTEM32\WINMMBASE.dll)
IMM32.DLL A: 0x74660000 - 0x74685000 (C:\Windows\System32\IMM32.DLL)
mysql.DLL A: 0x10000000 - 0x10015000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\plugins\mysql.DLL)
LIBMYSQL.dll A: 0x02700000 - 0x0293E000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\LIBMYSQL.dll)
MSVCP90.dll A: 0x6D520000 - 0x6D5AE000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\MSVCP90.dll)
MSVCR90.dll A: 0x6DB40000 - 0x6DBE3000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\MSVCR90.dll)
napinsp.dll A: 0x5EE70000 - 0x5EE82000 (C:\Windows\system32\napinsp.dll)
pnrpnsp.dll A: 0x5EE50000 - 0x5EE66000 (C:\Windows\system32\pnrpnsp.dll)
NLAapi.dll A: 0x67B10000 - 0x67B24000 (C:\Windows\system32\NLAapi.dll)
mswsock.dll A: 0x73F20000 - 0x73F6E000 (C:\Windows\System32\mswsock.dll)
DNSAPI.dll A: 0x73E20000 - 0x73E9D000 (C:\Windows\SYSTEM32\DNSAPI.dll)
NSI.dll A: 0x757F0000 - 0x757F7000 (C:\Windows\System32\NSI.dll)
IPHLPAPI.DLL A: 0x73DF0000 - 0x73E1F000 (C:\Windows\SYSTEM32\IPHLPAPI.DLL)
winrnr.dll A: 0x5FBD0000 - 0x5FBDC000 (C:\Windows\System32\winrnr.dll)
wshbth.dll A: 0x5EE30000 - 0x5EE41000 (C:\Windows\System32\wshbth.dll)
rasadhlp.dll A: 0x73DE0000 - 0x73DE8000 (C:\Windows\System32\rasadhlp.dll)
sscanf.DLL A: 0x00C40000 - 0x00C4C000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\plugins\sscanf.DLL)
MSVCR100.dll A: 0x6D460000 - 0x6D51F000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\MSVCR100.dll)
iTD.DLL A: 0x6EEC0000 - 0x6EEC6000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\plugins\iTD.DLL)
bcrypt.dll A: 0x73F70000 - 0x73F8B000 (C:\Windows\SYSTEM32\bcrypt.dll)
Alles anzeigen
Woran liegt das?
hier was beim Klick des Textdraws passiert:
Code
if(playertextid == Regi[playerid])
{
if(Passwort[playerid] != 1 || Alter[playerid] !=1 || Geschlecht[playerid] !=1)return SendClientMessage(playerid,COLOR_WHITE,"{F50000}Fehler: {FEFEFE}Bitte erfülle alle mit einem Stern gekennzeichneten Bereich!");
//Global
TextDrawHideForPlayer(playerid,Textdraw0);
TextDrawHideForPlayer(playerid,Textdraw1);
TextDrawHideForPlayer(playerid,Textdraw2);
TextDrawHideForPlayer(playerid,PasswortDraw);
TextDrawHideForPlayer(playerid,PasswortDrawBox);
TextDrawHideForPlayer(playerid,GeschlechtDraw);
TextDrawHideForPlayer(playerid,GeschlechtDrawBox);
TextDrawHideForPlayer(playerid,AlterDraw);
TextDrawHideForPlayer(playerid,AlterDrawBox);
TextDrawHideForPlayer(playerid,SkinDraw);
TextDrawHideForPlayer(playerid,ChicDraw);
TextDrawHideForPlayer(playerid,RoleDraw);
TextDrawHideForPlayer(playerid,BildDraw);
//Anklickbar
PlayerTextDrawHide(playerid,PfeilRechtsDraw[playerid]);
PlayerTextDrawHide(playerid,PfeilLinksDraw[playerid]);
PlayerTextDrawHide(playerid,Regi[playerid]);
PlayerTextDrawHide(playerid,AbbrechDraw[playerid]);
PlayerTextDrawHide(playerid,PassFeld[playerid]);
PlayerTextDrawHide(playerid,GeschlFeld[playerid]);
PlayerTextDrawHide(playerid,AlterFeld[playerid]);
PlayerTextDrawHide(playerid,SkinIdDraw[playerid]);
PlayerTextDrawHide(playerid,PlayerNameDraw[playerid]);
TogglePlayerSpectating(playerid, false);
SpawnPlayer(playerid);
sInfo[playerid][sNeuling]=1;
new query[256],passworteingabe[128],name[MAX_PLAYER_NAME];
new altersint=GetPVarInt(playerid,"altersint");
GetPVarString(playerid,"passwortvar",passworteingabe,128);
GetPlayerName(playerid,name,sizeof(name));
mysql_format(cHandle,query,"INSERT INTO user (username, password,jahr) VALUES ('%e', '%e', '%i')",name,passworteingabe,altersint);
mysql_function_query(cHandle,query,true,"MysqlPlayerRegister","i",playerid);
return 1;
}
Alles anzeigen