Jump to content
  • 0

Help Gold room thanks !


iJanus

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  11/05/13
  • Last Seen:  

i got a gold room script from here in rAthena and the dokebi drops all items i want to change it to 1 dokebi = 1 gold only here's my script please help me thanks in advance.

 

 

prontera,164,165,0script Gold Room 123,{
mes "Do you want to enter my gold room?";
menu "Ok",-,"No thanks.",L_No;
warp "ordeal_3-2.gat",0,0;
close;


L_No:
close;


}


// Monsters
ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0
ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0
ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0
ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0
ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0
ordeal_3-2,0,0,0,0 monster Gold Guardian 1439,30,0,0,0
ordeal_3-2,154,154,0,0 monster Gold Guardian 1439,3,0,0,0


// Warps
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
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  145
  • Reputation:   14
  • Joined:  04/28/12
  • Last Seen:  

please post the actual script. thanks.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

You'll need to do a script summon for them and attach some event labels that will give players one gold per kill.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  


ordeal_3-2,0,0,0 script GRControl -1,{

end;

 

OnMyMobDead:

getitem 969,1; //Gold

end;

}

 

// Spawn 50 Dokebis with 1000 millisecond spawn delay

ordeal_3-2,0,0,0,0 monster Dokebi 1110,50,1000,0,"GRControl::OnMyMobDead"

 

// Make the Dokebis drop nothing

ordeal_3-2 mapflag nomobloot

This script is untested. Use it at your risk. Edited by secretdataz
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Add Event on the last part of permanent monster spawn

 

OnMyMobDead:
getitem 969,1; //Gold                    <-----------------------------------------------------------|
end;                                                                                                                          |

                                                                                                                                 |

ordeal_3-2,0,0,0,0 monster Dokebi 1110,50,1000,0,"Control::OnMyMobDead" <--|

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  11/05/13
  • Last Seen:  

please post the actual script. thanks.

prontera,164,165,0script Gold Room 123,{

mes "Do you want to enter my gold room?";

menu "Ok",-,"No thanks.",L_No;

warp "ordeal_3-2.gat",0,0;

close;

L_No:

close;

}

// Monsters

ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0

ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0

ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0

ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0

ordeal_3-2,0,0,0,0 monster Dokebi 1110,1000,0,0,0

ordeal_3-2,0,0,0,0 monster Gold Guardian 1439,30,0,0,0

ordeal_3-2,154,154,0,0 monster Gold Guardian 1439,3,0,0,0

// Warps

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

 

 

 

 

 

this is what im using 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  145
  • Reputation:   14
  • Joined:  04/28/12
  • Last Seen:  

ordeal_3-2,0,0,0 script GRControl -1,{
end;
 
OnMyMobDead:
getitem 969,1; //Gold
end;
}
 
// Spawn 50 Dokebis with 1000 millisecond spawn delay
ordeal_3-2,0,0,0,0 monster Dokebi 1110,50,1000,0,"GRControl::OnMyMobDead"
 
// Make the Dokebis drop nothing
ordeal_3-2 mapflag nomobloot
This script is untested. Use it at your risk.

 

Janus try this. I have this on my last server. it's working.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

thats why dokebi drop all items because of no event added .

 

Please refer to this:

https://rathena.org/wiki/Permanent_Monster_Spawn

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