Anyone can help me where did this error come from? Every time I do enter my gold room script and get out the gold room map, maybe 3~5mins or so.. This error will show. I don't if its just coincidence.
// https://rathena.org/board/topic/108888-request-a-gold-room-drop-gold-point/
prontera,165,159,4 script GoldRoom#goldroom 4_M_BARMUND,{
doevent "gold_room_main::OnTalk";}// warp portal back prontera
ordeal_3-2,155,153,4 script GoldExit2_M_OLDBLSMITH,{
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "Hello, I am expert at running away!";
mes "You want to leave?";while(1){switch(select("Yes, I'm Scared!","Dqf? No!")){case1:
warp "prontera",162,153;
end;case2:
mes "[ Manager ]";
mes "Okay, Brave man!~";
close;}}}// Duplicados Warps v1.0
ordeal_3-2.gat,130,193,0 warp goldroomwrp#1 3,3,ordeal_3-2.gat,154,154
ordeal_3-2.gat,106,154,0 warp goldroomwrp#2 3,3,ordeal_3-2.gat,154,154
ordeal_3-2.gat,201,129,0 warp goldroomwrp#3 3,3,ordeal_3-2.gat,154,154
ordeal_3-2.gat,177,193,0 warp goldroomwrp#4 3,3,ordeal_3-2.gat,154,154
ordeal_3-2.gat,66,25,0 warp goldroomwrp#5 3,3,ordeal_3-2.gat,154,154// peco peco summon
ordeal_3-2,0,0,0,0 monster GoldenPeco3050,200,60000,0,"gold_room_main::OnKill"// GUARDIAN
ordeal_3-2,0,0,0,0 monster GoldGuardian3051,45,60000,0,"gold_room_main::OnKill"- script gold_room_main FAKE_NPC,{OnInit:// gold room map.map$ ="ordeal_3-2";// entrance fee.zeny_cost =1000000;// rate to get gold.rate =100;// gold random amount
setarray .gold_amount,2;// setmapflag .map$,mf_noteleport;
setmapflag .map$,mf_pvp;
setmapflag .map$,mf_pvp_noguild;
setmapflag .map$,mf_pvp_noparty;
setmapflag .map$,mf_nobranch;
setmapflag .map$,mf_nosave;
setmapflag .map$,mf_nomemo;
setmapflag .map$,mf_noreturn;
setmapflag .map$,mf_nowarp;
setmapflag .map$,mf_nowarpto;
end;OnTalk:
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "How may I serve for you ?";
mes "I can warp you to a Gold Mine.";
mes "and it will only cost";if(.zeny_cost )
mes F_InsertComma(.zeny_cost )+" Zeny";
next;
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "A friendly reminder to our fellow gold diggers~";
mes "Exchange Gold when you're ^FF0000OVERWEIGHT^000000";
mes "Bye bye golds! GMs are not responsible for your lost.";switch( select("Enter Gold Room","Exchange Gold Point(s)","Cancel")){case1:if(Zeny<.zeny_cost ){
mes "Not enough Zeny.";}else{
next;set.@a,rand(50);set.@b,rand(50);
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "I need you to give me";if(.zeny_cost )
mes F_InsertComma(.zeny_cost )+" Zeny to enter and";
mes "you need to answer the question for security check.";
mes "If A = "+.@a+" B = "+.@b;switch( rand(1)){set.@answer,.@a+.@b;
mes "How many is A + B ?";
next;
input .@input;
next;if(.@input!=.@answer){
atcommand "@kick "+ strcharinfo(0);
close;break;}elseif(.@input==.@answer){Zeny-=.zeny_cost;
warp .map$,153,154;
close;}
end;}}break;case2:
next;
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "Please check your inventory. If you're ^FF0000OVERWEIGHT^000000.";
mes "your gold will be ^FF0000DROPPED^000000. GMs are not responsible for any lost!";
mes "We already warned you..";
mes "^0000FFYou got ("+F_InsertComma(#GOLDPOINTS )+") Gold Points^000000.";
input .@value,0,#GOLDPOINTS;if( checkweight(969,.@value)){#GOLDPOINTS -= .@value;
getitem 969,.@value;
mes "Gained "+.@value+" Gold.";}else{
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "Sorry your transaction failed.";
next;
mes "[ ^FF0000Gold Room Manager^000000 ]";
mes "You have to farm gold to exchange.";
mes "Please input Gold you wanted to exchange.";}default:break;}
close;OnKill:if(.rate ){.@point= rand(1,.gold_amount[0]);#GOLDPOINTS += .@point;
dispbottom "Gained "+.@point+" Gold Point. You got "+F_InsertComma(#GOLDPOINTS )+" Gold Points now.";}
end;OnPCDieEvent:if(strcharinfo(3)!="ordeal_3-2") end;#GOLDPOINTS = 0;
dispbottom "You died, you lost all the Gold point(s).";
end;}// Map Flags v1.0
ordeal_3-2 mapflag nowarp
//ordeal_3-2 mapflag noteleport
ordeal_3-2 mapflag nobranch
ordeal_3-2 mapflag nomemo
ordeal_3-2 mapflag nowarpto
ordeal_3-2 mapflag nopenalty
ordeal_3-2 mapflag pvp_noparty
ordeal_3-2 mapflag noskill
ordeal_3-2 mapflag nosave
ordeal_3-2 mapflag novending
Anyone can help me where did this error come from? Every time I do enter my gold room script and get out the gold room map, maybe 3~5mins or so.. This error will show. I don't if its just coincidence.
I will also put my Gold room script too.
git hash: ed5d2d7222401f17f9c8ded96ff0e86aba8e88d6
Gold Room Script:
Share this post
Link to post
Share on other sites