• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Plugin] HELP! How fix crashdetect Run time error 13: "(reserved)"
#1
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-cras.../issues/96
  Reply
#2
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.
  Reply