Jump to content
  • 0

Rent Item Scripting


khian

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/06/14
  • Last Seen:  

Hi i would just like to know how would i be able to change the req. lvl of a certain item (Neo set Neo Shield, Ring, and Muffler) from 95 to 1 and how would i be able to add more time for it? i try'd putting 259200 for the time but the time is only 4139..

 

2548,Muffler_C,Neo Muffler,4,0,,0,,5,,0,0xFFFFFFFF,18,2,4,,95,0,0,{ rentitem,300; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; bonus bMaxHPrate,10; bonus2 bSubEle,Ele_Water,5; bonus2 bSubEle,Ele_Fire,5; bonus2 bSubEle,Ele_Holy,5; bonus2 bSubEle,Ele_Dark,5; },{},{}

 

^tried putting that on both pre and re folder item_db.txt could anybody help me? did i do something wrong?

post-28771-0-61609000-1411288675_thumb.jpg

Edited by khian
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Khian,

Create a custom box or get an existing one similar to ovb and obb and put all your neo items in there with script below for example:

rentitem 2548,300;

-this will make you use neo muffler for 5 minutes where 300 in (rentitem 2548,300; )is seconds

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   4
  • Joined:  10/14/12
  • Last Seen:  

ok  to setup the Req.lvl you have to modifiy this value :

 

- In the item_db.txt

 

 

2548,Muffler_C,Neo Muffler,4,0,,0,,5,,0,0xFFFFFFFE,18,2,4,,95,0,0,{ bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSubRace,RC_Player,10; bonus bMaxHPrate,10; bonus2 bSubEle,Ele_Water,5; bonus2 bSubEle,Ele_Fire,5; bonus2 bSubEle,Ele_Holy,5; bonus2 bSubEle,Ele_Dark,5; },{},{}

 

you have to change to 1.

 

 

For setting a time limit use the script

 

 

 

rentitem 2548,300;

 

for information 300 is 5 minutes

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/06/14
  • Last Seen:  

bump... already fixed the level issue. what's left is the duration of the item.. again the above script is the one that i put but it doesn't work at all. hope somebody might be able to help :)

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