open.mp forum
[Plugin] HELP! How fix crashdetect Run time error 13: "(reserved)" - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Plugin] HELP! How fix crashdetect Run time error 13: "(reserved)" (/showthread.php?tid=2047)



HELP! How fix crashdetect Run time error 13: "(reserved)" - PutuSuhartawan - 2021-05-25

Code:
HELP! How fix crashdetect Run time error 13: "(reserved)"

Run time error 13: "(reserved)"

[debug] Run time error 13: "(reserved)"

[debug] AMX backtrace:

[debug] #0 00000008 in public cmd_addattachedobject () at :0

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/1]#1[/url]?native CallLocalFunction () in samp-server.exe

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/2]#2[/url]?00294290 in public FIXES_OnPlayerCommandText (3, 43497488) at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\zcmd.inc:112

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/3]#3[/url]?000076ec in public OnPlayerCommandText (playerid=3, cmdtext[]=@0297b810 "/addattachedobject 967") at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\fixes.inc:7900

[debug] Run time error 13: "(reserved)"

[debug] AMX backtrace:

[debug] #0 00000008 in public cmd_addattachedobject () at :0

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/1]#1[/url]?native CallLocalFunction () in samp-server.exe

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/2]#2[/url]?00294290 in public FIXES_OnPlayerCommandText (3, 43497488) at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\zcmd.inc:112

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/3]#3[/url]?000076ec in public OnPlayerCommandText (playerid=3, cmdtext[]=@0297b810 "/addattachedobject 967") at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\fixes.inc:7900



Code:
CMD:addattachedobject(playerid, params[])

{

new objectid;

if(sscanf(params, "i", objectid)) return SendClientMessage(playerid, COLOR_ERROR, ""COL_RED"USAGE: "COL_YELLOW"'/addattachedobject [objectid]'");

//extract params -> new objectid;

? new vid = GetClosestCar(playerid, INVALID_VEHICLE_ID);

? if (inEditingMode[playerid] == 0 && !IsPlayerInAnyVehicle(playerid) ) return SEM(playerid, "Need on editing mode and get in to vehicle sir.");? ?

? ? new Float:VehPos[3];

? ? GetVehiclePos( vid, VehPos[0], VehPos[1], VehPos[2]);

? ? //objectid = CreateDynamicObject(11701, VehPos[0], VehPos[1], VehPos[2], 0, 0, 0);

? ? if( IsValidDynamicObject( ExampleAttachedDynamic) )

? ? {

DestroyDynamicObject(ExampleAttachedDynamic);

SEM(playerid, "Sir Old object ExampleAttachedDynamic has been destroyed");

cmd_addattachedobject(playerid);

? ? }

? ? else

? ? {

SetPVarInt(playerid, "ObjectIDinVehicle", objectid);

ExampleAttachedDynamic = CreateDynamicObject(objectid, VehPos[0], VehPos[1], VehPos[2] , 0, 0, 0);

Streamer_Update(playerid);

inEditingMode[playerid] = 1;

EditDynamicObject(playerid, ExampleAttachedDynamic);



return SEM(playerid, "Sir you are now in editing Dynamic Object mode.");

? ? }

? return 1;

}





issues:

https://github.com/Zeex/samp-plugin-crashdetect/issues/96


RE: HELP! How fix crashdetect Run time error 13: "(reserved)" - Y_Less - 2021-05-28

What have you done to that stack trace? That is not a proper output. And we need to know which line the problem occurs on.