• 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!

Lua draken boots

Smygarn

New Member
Joined
Feb 24, 2009
Messages
31
Reaction score
1
I'm currently fixing the loot af all the draken/lizards in zao and i found that i didnt have draken boots, but it seems that it is indeed impossible to add them :(

This is what i got so far:

Position: [X: 32372] [Y: 32215] [Z: 7].
21:59 You see an item of type 12646, please report it to gamemaster.
It can only be wielded properly by paladins and knights.
ItemID: [12646].

items.xml:
Lua:
	<item id="12646" name="draken boots">
		<attribute key="armor" value="3"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="speed" value="15"/>
		<attribute key="weight" value="2500"/>
	</item>

and movements:
Lua:
	<movevent type="Equip" itemid="12646" slot="feet" event="function" value="onEquipItem">
		<vocation id="3"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="4"/>
		<vocation id="6" showInDescription="0"/>
	</movevent>

whats wrong?

I managed to find the correct item for it but it still doesnt work

You see an item of type 12660, please report it to gamemaster.
It can only be wielded properly by paladins and knights of level 80 or higher.
ItemID: [12660].

Lua:
 	<movevent type="Equip" itemid="12660" slot="feet" level="80" event="function" value="onEquipItem">
		<vocation id="3"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="4"/>
		<vocation id="6" showInDescription="0"/>
	</movevent>

items.xml

Lua:
	<item id="12660" name="draken boots">
		<attribute key="armor" value="3"/>
		<attribute key="speed" value="50"/>
		<attribute key="weight" value="2500"/>
	</item>


why doest it not work!?!?!?
 
Last edited by a moderator:
PHP:
<item id="12646" name="draken boots">
		<attribute key="armor" value="3"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="speed" value="15"/>
		<attribute key="weight" value="2500"/>
	</item>


PHP:
 <item id="12660" name="draken boots">
		<attribute key="armor" value="3"/>
		<attribute key="speed" value="50"/>
		<attribute key="weight" value="2500"/>
	</item>

o.0?

-----
post your item.otb ;)
 
You have to edit it correctly in movements.xml

Code:
<movevent [COLOR=#0000aa]type[/COLOR][COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"Equip"[/COLOR] itemid[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"12660"[/COLOR] slot[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"feet"[/COLOR] level[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"80"[/COLOR] event[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"function"[/COLOR] value[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"onEquipItem"[/COLOR][COLOR=#66cc66]>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"3"[/COLOR][COLOR=#66cc66]/>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"5"[/COLOR] showInDescription[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"0"[/COLOR][COLOR=#66cc66]/>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"4"[/COLOR][COLOR=#66cc66]/>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"6"[/COLOR] showInDescription[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"0"[/COLOR][COLOR=#66cc66]/>[/COLOR]     [COLOR=#66cc66]</[/COLOR]movevent[COLOR=#66cc66]>[/COLOR]
<movevent type="DeEquip" itemid="12660" slot="feet" event="function" value="onDeEquipItem"/>

Code:
 [COLOR=#66cc66]<[/COLOR]movevent [COLOR=#0000aa]type[/COLOR][COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"Equip"[/COLOR] itemid[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"12646"[/COLOR] slot[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"feet"[/COLOR] level="80" event[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"function"[/COLOR] value[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"onEquipItem"[/COLOR][COLOR=#66cc66]>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"3"[/COLOR][COLOR=#66cc66]/>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"5"[/COLOR] showInDescription[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"0"[/COLOR][COLOR=#66cc66]/>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"4"[/COLOR][COLOR=#66cc66]/>[/COLOR]         [COLOR=#66cc66]<[/COLOR]vocation id[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"6"[/COLOR] showInDescription[COLOR=#66cc66]=[/COLOR][COLOR=#ff6666]"0"[/COLOR][COLOR=#66cc66]/>[/COLOR]     [COLOR=#66cc66]</[/COLOR]movevent[COLOR=#66cc66]>[/COLOR]
<movevent type="DeEquip" itemid="12646" slot="feet" event="function" value="onDeEquipItem"/>
 
Back
Top