Jump to content
  • 0

Rent Item Scripting


Question

Posted (edited)

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

3 answers to this question

Recommended Posts

Posted

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
Posted

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
Posted

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 :)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...