• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved item editing problems

Exoltes

Novia OTserv Developer
Joined
Jul 2, 2009
Messages
563
Reaction score
47
Location
Belgium
if u want arrow to be unlimited u should edit the "removecount" in the items.xml to ...?

how to make potions have no flasks?
 
arrows dont have breackchance... you just need to chance the removecount in something like noremovecount orso if u edit it they are unlimited but u will get an error when ur running ur server so im looking for the exact words.

and potions just tought about that problem while writing this treath :D
 
Potions

Change:
LUA:
doTransformItem(item.uid, EMPTY_POTION)
To:
LUA:
doRemoveItem(item.uid, EMPTY_POTION)

In all the scripts if necessary.
 
PHP:
<attribute key="ammoAction" value="removecount"/>

Remove it from the items.xml :o
Could it really be that easy?
 
Back
Top