Hi, Does anyone know what does this error mean or how to fix it? there's no much information in search about npc_dynamicpc_removal_timer.
- script asdsadsada -1,{
if($MvPTreasure){ message strcharinfo(0),"The system has been disabled by a gm!"; end; }
getmapxy(.@m1$,.@x1,.@y1,BL_PC);
getmapxy(.@m2$,.@x2,.@y2,BL_NPC);
if(distance(.@x1,.@y1,.@x2,.@y2) > 2){ message strcharinfo(0),"You are too far away!"; end; }
explode(.@npcinfo$,strnpcinfo(2),"_");
if(@OpBox$ == strnpcinfo(2)){ message strcharinfo(0),"You are already opening this box!"; end; }
else if(@OpBox$ != ""){ dispbottom "You can only open one box at a time!"; end; }
if(getd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"")){ dispbottom "Another player is opening box!"; end; }
if((atoi(.@npcinfo$[5])-gettimetick(2))>=1)
{
if(getcharid(0) != atoi(.@npcinfo$[1]))
{
if(strcharinfo(1) != getpartyname(atoi(.@npcinfo$[0])))
{
dispbottom "This chest is not yours, only the owner "+(getpartyname(atoi(.@npcinfo$[0])) != "null"?"and the group ("+getpartyname(atoi(.@npcinfo$[0]))+") they can":"can")+" open it!";
dispbottom "The chest will become unowned in ["+(atoi(.@npcinfo$[5])-gettimetick(2))+" seconds]";
end;
}
}
}
getmapxy(.@map$,.@x,.@y,BL_PC);
set @OpBox$,strnpcinfo(2);
set @OpVar$,".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"";
setd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"",1);
set .@t,atoi(.@npcinfo$[4]);
set .@time,(.@t==3?25:.@t==2?20:.@t==1?15:10);
message strcharinfo(0),"Opening...";
hateffect $MvPTRE_HTEID[0],0;
hateffect $MvPTRE_HTEID[1],0;
hateffect $MvPTRE_HTEID[2],0;
hateffect $MvPTRE_HTEID[3],0;
hateffect (.@t==3?$MvPTRE_HTEID[3]:.@t==2?$MvPTRE_HTEID[2]:.@t==1?$MvPTRE_HTEID[1]:$MvPTRE_HTEID[0]),1;
while(.@time > -1)
{
getmapxy(.@map2$,.@x2,.@y2,BL_PC,strcharinfo(0));
if(.@map$ != .@map2$ || .@x != .@x2 || .@y != .@y2){ .@time = -1; .@fail = 1; @OpBox$ = ""; }
else set .@time,.@time-1;
if(.@time > -1) sleep2 1000;
}
hateffect (.@t==3?$MvPTRE_HTEID[3]:.@t==2?$MvPTRE_HTEID[2]:.@t==1?$MvPTRE_HTEID[1]:$MvPTRE_HTEID[0]),0;
if(.@fail){ message strcharinfo(0),"Unable to open the Treasure Box."; setd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"",0); end; }
Question
Gouki
Hi, Does anyone know what does this error mean or how to fix it? there's no much information in search about npc_dynamicpc_removal_timer.

- script asdsadsada -1,{ if($MvPTreasure){ message strcharinfo(0),"The system has been disabled by a gm!"; end; } getmapxy(.@m1$,.@x1,.@y1,BL_PC); getmapxy(.@m2$,.@x2,.@y2,BL_NPC); if(distance(.@x1,.@y1,.@x2,.@y2) > 2){ message strcharinfo(0),"You are too far away!"; end; } explode(.@npcinfo$,strnpcinfo(2),"_"); if(@OpBox$ == strnpcinfo(2)){ message strcharinfo(0),"You are already opening this box!"; end; } else if(@OpBox$ != ""){ dispbottom "You can only open one box at a time!"; end; } if(getd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"")){ dispbottom "Another player is opening box!"; end; } if((atoi(.@npcinfo$[5])-gettimetick(2))>=1) { if(getcharid(0) != atoi(.@npcinfo$[1])) { if(strcharinfo(1) != getpartyname(atoi(.@npcinfo$[0]))) { dispbottom "This chest is not yours, only the owner "+(getpartyname(atoi(.@npcinfo$[0])) != "null"?"and the group ("+getpartyname(atoi(.@npcinfo$[0]))+") they can":"can")+" open it!"; dispbottom "The chest will become unowned in ["+(atoi(.@npcinfo$[5])-gettimetick(2))+" seconds]"; end; } } } getmapxy(.@map$,.@x,.@y,BL_PC); set @OpBox$,strnpcinfo(2); set @OpVar$,".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+""; setd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"",1); set .@t,atoi(.@npcinfo$[4]); set .@time,(.@t==3?25:.@t==2?20:.@t==1?15:10); message strcharinfo(0),"Opening..."; hateffect $MvPTRE_HTEID[0],0; hateffect $MvPTRE_HTEID[1],0; hateffect $MvPTRE_HTEID[2],0; hateffect $MvPTRE_HTEID[3],0; hateffect (.@t==3?$MvPTRE_HTEID[3]:.@t==2?$MvPTRE_HTEID[2]:.@t==1?$MvPTRE_HTEID[1]:$MvPTRE_HTEID[0]),1; while(.@time > -1) { getmapxy(.@map2$,.@x2,.@y2,BL_PC,strcharinfo(0)); if(.@map$ != .@map2$ || .@x != .@x2 || .@y != .@y2){ .@time = -1; .@fail = 1; @OpBox$ = ""; } else set .@time,.@time-1; if(.@time > -1) sleep2 1000; } hateffect (.@t==3?$MvPTRE_HTEID[3]:.@t==2?$MvPTRE_HTEID[2]:.@t==1?$MvPTRE_HTEID[1]:$MvPTRE_HTEID[0]),0; if(.@fail){ message strcharinfo(0),"Unable to open the Treasure Box."; setd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"",0); end; }
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.