Hi everyone,,,I decided to add a gold room yesterday and I found this script...The sad part is the PECOS didnt drop anything and there's an error in the script...anyone who can help me fix it?????
//===== eAthena Script =======================================
//= Treasure Room
//===== By: ==================================================
//= nostafu
//===== Current Version: =====================================
//= v.1
//===== Compatible With: =====================================
//= Any eAthena Version
//============================================================
//========== Treasure Room Settings ==========================
ordeal_2-1.gat mapflag noskill
ordeal_2-1.gat mapflag nosave SavePoint
ordeal_2-1.gat mapflag nomemo
ordeal_2-1.gat mapflag nobranch
ordeal_2-1.gat mapflag noexp
ordeal_2-1.gat mapflag nodrop
ordeal_2-1.gat mapflag nochat
ordeal_2-1.gat mapflag novending
ordeal_2-1.gat mapflag nowarp
ordeal_2-1.gat mapflag nowarpto
ordeal_2-1.gat mapflag noreturn
//ordeal_2-1.gat mapflag pvp
//ordeal_2-1.gat mapflag pvp_noguild
ordeal_2-1.gat mapflag noloot
//===========================================================
//=== Mobs
//===========================================================
- script trum_v1 -1,{
OnInit:
// Target Mobs
monster "ordeal_2-1",0,0,"Gold Mob",1369,150,"trum_v1::OnKill";
end;
OnKill:
getitem 7444,1;
monster "ordeal_2-1",0,0,"Gold Mob",1369,1,"trum_v1::OnKill";
}
//===========================================================
//=== Exit Warper
//===========================================================
ordeal_2-1,154,156,4 script Treasure Miner 826,{
mes "[Treasure Miner]";
mes "Would you like to go back to prontera?";
next;
menu "Yes",M_TELEPORT,"No",M_Bye;
close;
M_TELEPORT:
mes "[Treasure Miner]";
mes "Thank You for mining!!.";
next;
warp "prontera",155,180;
end;
M_Bye:
mes "[Treasure Miner]";
mes "Alright, Go get more Treasure Boxes~.";
close;
}
//===========================================================
//=== Warpers
//===========================================================
prontera,165,152,4 script Treasurer#prt::Treasurer 804,{
mes "[Treasurer]";
mes "Hi There, Would you like to go to the Treasure Room? You need 100,000z to go inside.";
next;
switch(select("Yes. Ahoy!:No")) {
case 1:
if (Zeny > 99999) {
mes "[Treasurer]";
mes "Alright I will now send you to the Treasure Room, Take Care!.";
next;
set Zeny,Zeny-100000;
warp "ordeal_2-1",156,155;
emotion 21;
close;
}
else {
mes "[Treasurer]";
mes "Sorry, But you don't have enough zeny.";
close;
}
case 2:
mes "[Treasurer]";
mes "Alright, No problem.";
close;
}
}
//===========================================================
//=== NPC Clones
//===========================================================
aldebaran,133,116,4 duplicate(Treasurer) Treasurer#alde 804
alberta,23,247,4 duplicate(Treasurer) Treasurer#alb 804
payon,151,182,4 duplicate(Treasurer) Treasurer#pay 804
geffen,115,74,4 duplicate(Treasurer) Treasurer#gef 804
Edited by miczster Please use [CODEBOX] or Attachments for long contents.
Question
miczster
Hi everyone,,,I decided to add a gold room yesterday and I found this script...The sad part is the PECOS didnt drop anything and there's an error in the script...anyone who can help me fix it?????

Edited by miczsterPlease use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites
9 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.