Jump to content
  • 0

gold room script help!


miczster

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

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

post-8638-0-45372700-1354872158_thumb.png

Edited by miczster
Please use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

-<tab>script<tab>trum_v1<tab>-1,{

Edited by Rejected
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

replaced it...still the same Rejected

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

this script working exactly fine in my test server and I don't know why your server produce different result from mine

post-8685-0-54735700-1354922510_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

Change the label to something else instead of "OnKill".

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

@AnnieRuru THX for testing the script in your test server...It helped me confirm its not the script itself thats the problem.

@Joseph Thx dude,,,,your suggestion fixed my problem!! it was the OnKill part that's messing it up in my server..

SOLVED !!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

How can I make the mob receive 1 damage at a time from this treasure room?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

How can I make the mob receive 1 damage at a time from this treasure room?

 

u may try spawn the mobs have high vit. and other else. haha adjust mob_db

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

How can I make the mob receive 1 damage at a time from this treasure room?

 

u may try spawn the mobs have high vit. and other else. haha adjust mob_db

 

 

How can I make the mob receive 1 damage at a time from this treasure room?

 

u may try spawn the mobs have high vit. and other else. haha adjust mob_db

 

Helped lots, thank you my liege!

 

healthydude

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

 

How can I make the mob receive 1 damage at a time from this treasure room?

 

u may try spawn the mobs have high vit. and other else. haha adjust mob_db

 

 

How can I make the mob receive 1 damage at a time from this treasure room?

 

u may try spawn the mobs have high vit. and other else. haha adjust mob_db

 

Helped lots, thank you my liege!

 

healthydude

 

 

 

waakakaka. its funny LOL :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...