Keine Ahnung ob dies weiterhilft,
manchmal crasht der Server, das Problem besteht immer noch, dass nichts in der Datenbank passiert.
Der Server crasht aber nur manchmal, heißt mit irgendeiner Wahrscheinlichkeit crasht es.
Hier nochmal der Code:
C
new query[246];
mysql_format(handle, query, sizeof(query), "INSERT INTO garage (X, Y, Z, ID, Kaufpreis, InteriorType, existiert, Lock) VALUES");
mysql_format(handle, query, sizeof(query), "%s (%f,%f,%f,%d,%d,%d,%d,%d)",query, gInfo[i][gX],gInfo[i][gY],gInfo[i][gZ],gInfo[i][db_gid],gInfo[i][gKaufpreis],gInfo[i][ginttype],gInfo[i][gexistiert],gInfo[i][gLock]);
mysql_pquery(handle,query);
Code
[17:56:37] [debug] Server crashed due to an unknown error
[17:56:37] [debug] Native backtrace:
[17:56:37] [debug] #0 004016eb in ?? () from samp-server.exe
[17:56:37] [debug] #1 72f535e9 in ?? () from plugins\mysql.DLL
[17:56:37] [debug] #2 72f56688 in ?? () from plugins\mysql.DLL
[17:56:37] [debug] #3 72f3c52e in ?? () from plugins\mysql.DLL
[17:56:37] [debug] #4 72f3dc7f in ?? () from plugins\mysql.DLL
[17:56:37] [debug] #5 72f3e3d3 in ?? () from plugins\mysql.DLL
[17:56:37] [debug] #6 00469a66 in ?? () from samp-server.exe
[17:56:37] [debug] #7 0048d4db in ?? () from samp-server.exe
[17:56:37] [debug] #8 0049b4a1 in ?? () from samp-server.exe
[17:56:37] [debug] #9 0049b4b1 in ?? () from samp-server.exe
[17:56:37] [debug] Registers:
[17:56:37] [debug] EAX: 04737648 EBX: 00000000 ECX: 0474b020 EDX: 00000008
[17:56:37] [debug] ESI: 00000038 EDI: ffffd8be EBP: 0049b4a1 ESP: 0019fe88
[17:56:37] [debug] EIP: 0049b4b1 EFLAGS: 00010246
[17:56:37] [debug] Stack:
[17:56:37] [debug] ESP+00000000: 004ab4a0 0019ff60 004ab0e1 ffffffff
[17:56:37] [debug] ESP+00000020: 00000094 00000006 00000002 000023f0
[17:56:37] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[17:56:37] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[17:56:37] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[17:56:37] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[17:56:37] [debug] ESP+000000c0: 00000000 00000000 c0000005 00000000
[17:56:37] [debug] ESP+000000e0: 004ba530 00000000 0019ff80 75f50419
[17:56:37] [debug] ESP+00000100: 00387000 9184d677 00000000 00000000
[17:56:37] [debug] ESP+00000120: 00000000 00000000 00000000 00000000
[17:56:37] [debug] ESP+00000140: 00000000 0019ffe4 778a86d0 e60ebb1b
[17:56:37] [debug] ESP+00000160: 778b51cb 00000000 00000000 0049cb3a
[17:56:37] [debug] ESP+00000180: 00000001 00003318 000000dc 00000000
[17:56:37] [debug] ESP+000001a0: 00000007 00000034 0000017c 00000001
[17:56:37] [debug] ESP+000001c0: 00000000 00000002 1a26ef4e 00000298
[17:56:37] [debug] ESP+000001e0: f33271ba 0000053c 0000004a 00000588
[17:56:37] [debug] ESP+00000200: 00000032 00000900 000002fa 00000000
[17:56:37] [debug] ESP+00000220: 00000330 00000000 38505fc8 00000f70
[17:56:37] [debug] ESP+00000240: b1280544 00001334 00000056 0000138c
[17:56:37] [debug] ESP+00000260: 00000002 00000001 0000017c 000015dc
[17:56:37] [debug] ESP+00000280: 00000001 00000003 00001ef8 00000e8c
[17:56:37] [debug] ESP+000002a0: 00000002 00000005 00003098 00000098
[17:56:37] [debug] ESP+000002c0: 00000002 00000007 000031fc 000000f0
[17:56:37] [debug] ESP+000002e0: 00000002 0000000b 00003314 00000004
[17:56:37] [debug] ESP+00000300: 00000001 00000001 00000006 0000008c
[17:56:37] [debug] ESP+00000320: 0000005e 00000000 00000000 00000000
[17:56:37] [debug] ESP+00000340: 00000000 00000000 00000002 00000024
[17:56:37] [debug] ESP+00000360: 004e0049 004f0044 00530057 0057005c
[17:56:37] [debug] ESP+00000380: 1a26ef4e 0000011c 00000044 00000164
[17:56:37] [debug] ESP+000003a0: 0000004a 0000040c 00000342 00000002
[17:56:37] [debug] ESP+000003c0: 000002fa 00000003 32ceeacd 00000a80
[17:56:37] [debug] ESP+000003e0: 38505fc8 00000df4 0000005e 00000e54
[17:56:37] [debug] Loaded modules:
[17:56:37] [debug] 00400000 - 00519000 samp-server.exe
[17:56:37] [debug] 77830000 - 779cc000 ntdll.dll
[17:56:37] [debug] 75f30000 - 76010000 KERNEL32.DLL
[17:56:37] [debug] 74d90000 - 74f8a000 KERNELBASE.dll
[17:56:37] [debug] 74720000 - 74c6e000 SHELL32.dll
[17:56:37] [debug] 77760000 - 77820000 msvcrt.dll
[17:56:37] [debug] 74f90000 - 74fcb000 cfgmgr32.dll
[17:56:37] [debug] 76060000 - 76182000 ucrtbase.dll
[17:56:37] [debug] 757a0000 - 75829000 shcore.dll
[17:56:37] [debug] 76260000 - 7631f000 RPCRT4.dll
[17:56:37] [debug] 74610000 - 74630000 SspiCli.dll
[17:56:37] [debug] 74600000 - 7460a000 CRYPTBASE.dll
[17:56:37] [debug] 75860000 - 758c2000 bcryptPrimitives.dll
[17:56:37] [debug] 751d0000 - 75249000 sechost.dll
[17:56:37] [debug] 75b80000 - 75df8000 combase.dll
[17:56:37] [debug] 77160000 - 7775c000 windows.storage.dll
[17:56:37] [debug] 75090000 - 75110000 msvcp_win.dll
[17:56:37] [debug] 74fe0000 - 7505e000 advapi32.dll
[17:56:37] [debug] 76930000 - 7694c000 profapi.dll
[17:56:37] [debug] 77000000 - 77054000 powrprof.dll
[17:56:37] [debug] 77070000 - 770b4000 shlwapi.dll
[17:56:37] [debug] 75830000 - 75853000 GDI32.dll
[17:56:37] [debug] 75250000 - 753b6000 gdi32full.dll
[17:56:37] [debug] 75420000 - 755b9000 USER32.dll
[17:56:37] [debug] 75780000 - 75797000 win32u.dll
[17:56:37] [debug] 764c0000 - 764cf000 kernel.appcore.dll
[17:56:37] [debug] 74d70000 - 74d82000 cryptsp.dll
[17:56:37] [debug] 72590000 - 72598000 WSOCK32.dll
[17:56:37] [debug] 745d0000 - 745f4000 WINMM.dll
[17:56:37] [debug] 746c0000 - 7471f000 WS2_32.dll
[17:56:37] [debug] 74450000 - 74473000 WINMMBASE.dll
[17:56:37] [debug] 75060000 - 75085000 IMM32.DLL
[17:56:37] [debug] 10000000 - 1000f000 sscanf.DLL
[17:56:37] [debug] 734b0000 - 734c5000 VCRUNTIME140.dll
[17:56:37] [debug] 73450000 - 734a1000 crashdetect.DLL
[17:56:37] [debug] 73070000 - 7312f000 MSVCR100.dll
[17:56:37] [debug] 733e0000 - 73449000 MSVCP100.dll
[17:56:37] [debug] 73000000 - 73067000 streamer.DLL
[17:56:37] [debug] 72f80000 - 72ff1000 MSVCP140.dll
[17:56:37] [debug] 72f30000 - 72f7e000 mysql.DLL
[17:56:37] [debug] 5f820000 - 5f8ed000 libmariadb.dll
[17:56:37] [debug] 733c0000 - 733da000 log-core.dll
[17:56:37] [debug] 76320000 - 764b9000 CRYPT32.dll
[17:56:37] [debug] 764d0000 - 764de000 MSASN1.dll
[17:56:37] [debug] 71a70000 - 71a7a000 Secur32.dll
[17:56:37] [debug] 73650000 - 73661000 napinsp.dll
[17:56:37] [debug] 73630000 - 73646000 pnrpnsp.dll
[17:56:37] [debug] 73800000 - 73852000 mswsock.dll
[17:56:37] [debug] 73700000 - 73790000 DNSAPI.dll
[17:56:37] [debug] 77060000 - 77067000 NSI.dll
[17:56:37] [debug] 74410000 - 74443000 IPHLPAPI.DLL
[17:56:37] [debug] 73620000 - 7362b000 winrnr.dll
[17:56:37] [debug] 73600000 - 73616000 NLAapi.dll
[17:56:37] [debug] 735f0000 - 73600000 wshbth.dll
[17:56:37] [debug] 73580000 - 73588000 rasadhlp.dll
[17:56:37] [debug] 73590000 - 735e1000 fwpuclnt.dll
[17:56:37] [debug] 75f00000 - 75f19000 bcrypt.dll
Alles anzeigen