23.11.2018, 01:35
This makes my server crash.. i can't figure out the problem myself. Please help me
PHP код:
forward On*******SongAddToPlaylist(playerid, response_code, data[]);
public On*******SongAddToPlaylist(playerid, response_code, data[])
{
new link[128];
new JSONNode:dataNode = json_parse_string(data); // parsing JSON string
json_get_string(dataNode, link, sizeof(link), "file");
PlayAudioStreamForPlayer(playerid, link);
return 1;
}
Quote:
[03:33:42] [join] Test has joined the server (0:127.0.0.1) [03:34:01] [debug] Server crashed while executing GM.amx [03:34:01] [debug] AMX backtrace: [03:34:01] [debug] #0 native json_get_string () from SAMPSON.DLL [03:34:01] [debug] #1 0013dfe8 in public On*******SongAddToPlaylist (0, 200, 33895796) from LSCnR.amx [03:34:01] [debug] Native backtrace: [03:34:01] [debug] #0 619d1664 in ?? () from plugins\SAMPSON.DLL [03:34:01] [debug] #1 004010b6 in ?? () from samp-server.exe [03:34:01] [debug] #2 6430d82a in ?? () from plugins\crashdetect.DLL [03:34:01] [debug] #3 64314fe8 in ?? () from plugins\crashdetect.DLL [03:34:01] [debug] #4 6430a1a7 in ?? () from plugins\crashdetect.DLL [03:34:01] [debug] #5 6430d87a in ?? () from plugins\crashdetect.DLL [03:34:01] [debug] #6 5f303374 in ?? () from plugins\streamer.DLL [03:34:01] [debug] #7 00480cd0 in ?? () from samp-server.exe [03:34:01] [debug] #8 004912c7 in ?? () from samp-server.exe [03:34:01] [debug] Registers: [03:34:01] [debug] EAX: fffffffe EBX: 00000001 ECX: bbf57183 EDX: 032536b0 [03:34:01] [debug] ESI: 005abed8 EDI: 00751ba0 EBP: 00000000 ESP: 0018fe28 [03:34:01] [debug] EIP: 004912c7 EFLAGS: 00210282 [03:34:01] [debug] Stack: [03:34:01] [debug] ESP+00000000: 774c1695 00000000 3a9c9c55 0048d4db [03:34:01] [debug] ESP+00000020: 0001e000 00010001 00000032 00001e61 [03:34:01] [debug] ESP+00000040: 65646f6d 00003531 004c4020 004c401c [03:34:01] [debug] ESP+00000060: 0018ff78 0049d208 004ba2f8 ffffffff [03:34:01] [debug] ESP+00000080: 004ab0e1 ffffffff 0049cca6 00000001 [03:34:01] [debug] ESP+000000a0: 00000001 00001db1 00000002 76726553 [03:34:01] [debug] ESP+000000c0: 00000000 00000000 00000000 00000000 [03:34:01] [debug] ESP+000000e0: 00000000 00000000 00000000 748be0b8 [03:34:01] [debug] ESP+00000100: 00000000 00000000 00000000 00000070 [03:34:01] [debug] ESP+00000120: 00000000 00000003 0049cb52 00000000 [03:34:01] [debug] ESP+00000140: c0000005 00000000 0018fec0 0018f714 [03:34:01] [debug] ESP+00000160: 0018ff94 774c343d 7efde000 0018ffd4 [03:34:01] [debug] ESP+00000180: 00000000 7efde000 00000000 77827c7f [03:34:01] [debug] ESP+000001a0: 77a24dcd 0110917c 00000000 0018ffec [03:34:01] [debug] ESP+000001c0: 00000000 00000000 00000000 0049cb3a [03:34:01] [debug] ESP+000001e0: 00000001 0000330c 000000dc 00000000 [03:34:01] [debug] ESP+00000200: 00000007 00000034 0000017c 00000001 [03:34:01] [debug] ESP+00000220: 00000000 00000002 1a26ef4e 00000298 [03:34:01] [debug] ESP+00000240: f33271ba 00000540 0000004a 0000058c [03:34:01] [debug] ESP+00000260: 00000032 000008e0 00000300 00000000 [03:34:01] [debug] ESP+00000280: 00000336 00000000 38505fc8 00000f5c [03:34:01] [debug] ESP+000002a0: b1280544 00001324 00000056 0000137c [03:34:01] [debug] ESP+000002c0: 00000002 00000001 0000017c 000015d0 [03:34:01] [debug] ESP+000002e0: 00000001 00000003 00001eec 00000e8c [03:34:01] [debug] ESP+00000300: 00000002 00000005 0000308c 00000098 [03:34:01] [debug] ESP+00000320: 00000002 00000007 000031f0 000000f0 [03:34:01] [debug] ESP+00000340: 00000002 0000000b 00003308 00000004 [03:34:01] [debug] ESP+00000360: 00000001 00000001 00000006 0000008c [03:34:01] [debug] ESP+00000380: 0000005e 00000000 00000000 00000000 [03:34:01] [debug] ESP+000003a0: 00000000 00000000 00000002 00000024 [03:34:01] [debug] ESP+000003c0: 006e0069 006f0064 00730077 0057005c [03:34:01] [debug] ESP+000003e0: 1a26ef4e 0000011c 00000044 00000164 [03:34:01] [debug] Loaded modules: [03:34:01] [debug] 00400000 - 00519000 samp-server.exe [03:34:01] [debug] 779b0000 - 77b30000 ntdll.dll [03:34:01] [debug] 774b0000 - 775c0000 kernel32.dll [03:34:01] [debug] 6ccf0000 - 6cd01000 aswhookx.dll [03:34:01] [debug] 75790000 - 757d7000 KERNELBASE.dll [03:34:01] [debug] 75fe0000 - 76c2c000 SHELL32.dll [03:34:01] [debug] 75810000 - 758bc000 msvcrt.dll [03:34:01] [debug] 751b0000 - 75207000 SHLWAPI.dll [03:34:01] [debug] 77250000 - 772e0000 GDI32.dll [03:34:01] [debug] 76dc0000 - 76ec0000 USER32.dll [03:34:01] [debug] 75300000 - 753a1000 ADVAPI32.dll [03:34:01] [debug] 75210000 - 75229000 sechost.dll [03:34:01] [debug] 758d0000 - 759c0000 RPCRT4.dll [03:34:01] [debug] 75120000 - 75180000 SspiCli.dll [03:34:01] [debug] 75110000 - 7511c000 CRYPTBASE.dll [03:34:01] [debug] 75b80000 - 75b8a000 LPK.dll [03:34:01] [debug] 75230000 - 752cd000 USP10.dll [03:34:01] [debug] 735c0000 - 735c7000 WSOCK32.dll [03:34:01] [debug] 76c30000 - 76c65000 WS2_32.dll [03:34:01] [debug] 752e0000 - 752e6000 NSI.dll [03:34:01] [debug] 738e0000 - 73912000 WINMM.dll [03:34:01] [debug] 76ec0000 - 76f20000 IMM32.DLL [03:34:01] [debug] 76c70000 - 76d3d000 MSCTF.dll [03:34:01] [debug] 642f0000 - 64341000 crashdetect.DLL [03:34:01] [debug] 64500000 - 64569000 MSVCP100.dll [03:34:01] [debug] 64440000 - 644ff000 MSVCR100.dll [03:34:01] [debug] 64580000 - 64597000 MapAndreas.DLL [03:34:01] [debug] 645b0000 - 645bd000 Whirlpool.DLL [03:34:01] [debug] 64420000 - 64433000 VCRUNTIME140.dll [03:34:01] [debug] 645a0000 - 645a4000 api-ms-win-crt-runtime-l1-1-0.dll [03:34:01] [debug] 64210000 - 642f0000 ucrtbase.DLL [03:34:01] [debug] 64570000 - 64573000 api-ms-win-core-timezone-l1-1-0.dll [03:34:01] [debug] 64410000 - 64413000 api-ms-win-core-file-l2-1-0.dll [03:34:01] [debug] 64400000 - 64403000 api-ms-win-core-localization-l1-2-0.dll [03:34:01] [debug] 6fe50000 - 6fe53000 api-ms-win-core-synch-l1-2-0.dll [03:34:01] [debug] 64200000 - 64203000 api-ms-win-core-processthreads-l1-1-1.dll [03:34:01] [debug] 641f0000 - 641f3000 api-ms-win-core-file-l1-2-0.dll [03:34:01] [debug] 641e0000 - 641e3000 api-ms-win-crt-heap-l1-1-0.dll [03:34:01] [debug] 641d0000 - 641d4000 api-ms-win-crt-string-l1-1-0.dll [03:34:01] [debug] 641c0000 - 641c4000 api-ms-win-crt-stdio-l1-1-0.dll [03:34:01] [debug] 641b0000 - 641b4000 api-ms-win-crt-convert-l1-1-0.dll [03:34:01] [debug] 64160000 - 641ae000 mysql.DLL [03:34:01] [debug] 64140000 - 6415a000 log-core.dll [03:34:01] [debug] 640d0000 - 6413f000 MSVCP140.dll [03:34:01] [debug] 640c0000 - 640c3000 api-ms-win-crt-locale-l1-1-0.dll [03:34:01] [debug] 640b0000 - 640b5000 api-ms-win-crt-math-l1-1-0.dll [03:34:01] [debug] 640a0000 - 640a3000 api-ms-win-crt-filesystem-l1-1-0.dll [03:34:01] [debug] 64090000 - 64093000 api-ms-win-crt-time-l1-1-0.dll [03:34:01] [debug] 64080000 - 64083000 api-ms-win-crt-environment-l1-1-0.dll [03:34:01] [debug] 64070000 - 64073000 api-ms-win-crt-utility-l1-1-0.dll [03:34:01] [debug] 64060000 - 64065000 api-ms-win-crt-multibyte-l1-1-0.dll [03:34:01] [debug] 60010000 - 600dd000 libmariadb.dll [03:34:01] [debug] 70470000 - 70478000 Secur32.dll [03:34:01] [debug] 75a50000 - 75b72000 CRYPT32.dll [03:34:01] [debug] 75800000 - 7580c000 MSASN1.dll [03:34:01] [debug] 70460000 - 70470000 NLAapi.dll [03:34:01] [debug] 70450000 - 70460000 napinsp.dll [03:34:01] [debug] 70430000 - 70442000 pnrpnsp.dll [03:34:01] [debug] 70850000 - 7088c000 mswsock.dll [03:34:01] [debug] 73bc0000 - 73c04000 DNSAPI.dll [03:34:01] [debug] 70420000 - 70428000 winrnr.dll [03:34:01] [debug] 70480000 - 70486000 rasadhlp.dll [03:34:01] [debug] 5ee70000 - 5f070000 discord-connector.DLL [03:34:01] [debug] 71cd0000 - 71ce7000 CRYPTSP.dll [03:34:01] [debug] 71c90000 - 71ccb000 rsaenh.dll [03:34:01] [debug] 70490000 - 70495000 wshtcpip.dll [03:34:01] [debug] 70840000 - 70846000 wship6.dll [03:34:01] [debug] 73ce0000 - 73cfc000 IPHLPAPI.DLL [03:34:01] [debug] 73cd0000 - 73cd7000 WINNSI.DLL [03:34:01] [debug] 6ea30000 - 6ea68000 fwpuclnt.dll [03:34:01] [debug] 5f300000 - 5f367000 streamer.DLL [03:34:01] [debug] 10000000 - 1000f000 sscanf.DLL [03:34:01] [debug] 5f2a0000 - 5f2f8000 pawnraknet.DLL [03:34:01] [debug] 64020000 - 6405b000 SKY.DLL [03:34:01] [debug] 75180000 - 75185000 PSAPI.DLL [03:34:01] [debug] 64010000 - 6401a000 pawn-memory.DLL [03:34:01] [debug] 619d0000 - 619db000 SAMPSON.DLL [03:34:01] [debug] 60fc0000 - 60fc5000 nativechecker.DLL [03:34:01] [debug] 753e0000 - 7553d000 ole32.dll [03:34:01] [debug] 71f90000 - 72010000 uxtheme.dll [03:34:01] [debug] 6b7f0000 - 6b8e5000 PROPSYS.dll [03:34:01] [debug] 76f50000 - 76fe1000 OLEAUT32.dll [03:34:01] [debug] 6b000000 - 6b19e000 comctl32.dll [03:34:01] [debug] 73b40000 - 73b8c000 apphelp.dll [03:34:01] [debug] 759c0000 - 75a43000 CLBCatQ.DLL [03:34:01] [debug] 752f0000 - 752f5000 api-ms-win-downlevel-advapi32-l1-1-0.dll [03:34:01] [debug] 751a0000 - 751a4000 api-ms-win-downlevel-shlwapi-l1-1-0.dll [03:34:01] [debug] 77020000 - 771bd000 SETUPAPI.dll [03:34:01] [debug] 753b0000 - 753d7000 CFGMGR32.dll [03:34:01] [debug] 76d40000 - 76d52000 DEVOBJ.dll [03:34:01] [debug] 703e0000 - 70401000 ntmarta.dll [03:34:01] [debug] 75b90000 - 75bd5000 WLDAP32.dll [03:34:01] [debug] 6d2d0000 - 6d2d4000 api-ms-win-downlevel-advapi32-l2-1-0.dll |