Jump to content
  • 0

Gold Room Help me to fix this!!!


blueleaf711

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  12/26/16
  • Last Seen:  

//===== 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

when i use this Gold Room Script theres an error HELP :(

Untitled.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

22 minutes ago, blueleaf711 said:

when i use this Gold Room Script theres an error HELP :(

ordeal_2-1.gat	mapflag	noskill

Use tabs instead of spaces in npc headers.

Please go through and read the top portion of this file thoroughly

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L132

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  12/26/16
  • Last Seen:  

Just now, Skorm said:

ordeal_2-1.gat	mapflag	noskill

Use tabs instead of spaces in npc headers.

Please go through and read the top portion of this file thoroughly

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L132

do you have a script for Gold Room npc Script? when you kill the peco peco it drop gold points and exchange gold points to npc?

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Using the latest revision of rAthena from the Github repo is probably a good start.

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...