Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Plugin] HELP! How fix crashdetect Run time error 13: "(reserved)"

 
  • 0 Vote(s) - 0 Average
Plugin HELP! How fix crashdetect Run time error 13: "(reserved)"
PutuSuhartawan
Offline

Burgershot Member
Posts: 120
Threads: 52
Joined: Nov 2020
Reputation: 1
Location: Indonesia
#1
2021-05-25, 01:35 AM (This post was last modified: 2021-05-25, 01:36 AM by PutuSuhartawan.)
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[][email protected] "/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[][email protected] "/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] +1, 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
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#2
2021-05-28, 12:40 AM
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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode