Jump to content
  • 0

Question about treasure chest


RandomKey1

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  

Hi

 

So, I changed the drop of the treasure chest who normally spawns in Kriemhild in mob_db. (I verified that this was the good one in agit_main).

 

Things i don't understand is, why, when the 4 treasure chest spawn, they do drop the new custom item I added, but they also drop elunium and dead branch (even though there's no elunium nor deadbranch in their drop in mob_db). Is it just a normal feature of ragnarok (like, treasure chest would always drop db and elunium in pre renewal), or did I do something wrong ?



1326,TREASURE_BOX3,Treasure Chest,Treasure Chest,99,0,0,0,0,0,0,0,0,0,0,0,0,0,999,0,0,0,0,0,20,0x120,0,0,0,0,0,0,0,0,0,0,0,12103,500,7539,500,7875,500,13610,300,13611,200,14533,200,6071,100,7830,100,7372,30,0,0


Here is the custom treasure box i'm talking about in case you need it. As you can see, there's no elunium nor dead branch.

 

Thanks for your insight

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  

Finally found it in agit_main.txt. There were lines who were making Treasure chest spawning randomly in treasure room. (juste in case someone has the same problem as me). 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

 

Hi
 
So, I changed the drop of the treasure chest who normally spawns in Kriemhild in mob_db. (I verified that this was the good one in agit_main).
 
Things i don't understand is, why, when the 4 treasure chest spawn, they do drop the new custom item I added, but they also drop elunium and dead branch (even though there's no elunium nor deadbranch in their drop in mob_db). Is it just a normal feature of ragnarok (like, treasure chest would always drop db and elunium in pre renewal), or did I do something wrong ?
1326,TREASURE_BOX3,Treasure Chest,Treasure Chest,99,0,0,0,0,0,0,0,0,0,0,0,0,0,999,0,0,0,0,0,20,0x120,0,0,0,0,0,0,0,0,0,0,0,12103,500,7539,500,7875,500,13610,300,13611,200,14533,200,6071,100,7830,100,7372,30,0,0
Here is the custom treasure box i'm talking about in case you need it. As you can see, there's no elunium nor dead branch.
 
Thanks for your insight

 

 

Maybe you forgot to edit / remove the other treasure box spawn, there's actually 2 of 'em

 

2 of this:

http://ratemyserver.net/index.php?page=mob_db&mob_id=1354

 

And 2 of this:

http://ratemyserver.net/index.php?page=mob_db&mob_id=1355

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  

else if (strnpcinfo(2) == "prtg_cas01") { 
set .@treasurebox,1326;
setarray .@treasurex[0],201,202,202,201,199,200,201,202,203,204,204,204,204,204,204,203,202,201,200,199,199,199,199,199;
setarray .@treasurey[0],228,228,227,227,230,230,230,230,230,230,229,228,227,226,225,225,225,225,225,225,226,227,228,229;

This is what I have in agit_main.txt. I searched for 1355 and 1354 and found nothing (maybe I already removed them when I was setting the treasure box). 

Is it wrong ? 

 

Thanks a lot for your answer

Edited by RandomKey1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

else if (strnpcinfo(2) == "prtg_cas01") { 
set .@treasurebox,1326;
setarray .@treasurex[0],201,202,202,201,199,200,201,202,203,204,204,204,204,204,204,203,202,201,200,199,199,199,199,199;
setarray .@treasurey[0],228,228,227,227,230,230,230,230,230,230,229,228,227,226,225,225,225,225,225,225,226,227,228,229;

This is what I have in agit_main.txt. I searched for 1355 and 1354 and found nothing (maybe I already removed them when I was setting the treasure box). 

Is it wrong ? 

 

Thanks a lot for your answer

 

 

Oh, i have no idea then lol but if i may suggest,

 

What about just edit their drops directly on mob_db.txt? Just make a copy of of their line below them and comment out the original line, that'll serve as your back up.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  

Yep that's what i'm going to do, but the problem is that I have 3 different kind of treasure box :P. One for prontera, one for payon and one for anurafeltz !

 

But i'll try this, anyway thanks a lot for your answer :)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

Yep that's what i'm going to do, but the problem is that I have 3 different kind of treasure box :P. One for prontera, one for payon and one for anurafeltz !

 

But i'll try this, anyway thanks a lot for your answer :)

 

I see, lol

 

Anyway good luck! No problem.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  

Update : 

 

So i have 3 differents castle : KriemHild, Bright Arbor and Banadis

 

I assigned ID 1329 for Kriemhild, 1328 for Bright Arbor and 1327 for Banadis. 

 

So tonight, when I went to the Treasure Room of Bright Arbor, I opened one treasure who contained item of TB ID 1328, but I also droped on another treasure item who were only on treasure box 1329. I don't even know if it's normal or not. Are treasure boxes supposed to be "mix" ? For exemple, If I assign ID 1329 to Kriemhild, then there's 100% chance that the TB 1329 will spawn, but for the 3 other will just be random TB ? 

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