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

Compiling Unable to compile custom items.

  • Thread starter Thread starter Forsakenfate
  • Start date Start date
F

Forsakenfate

Guest
I made a custom client yesterday and i've been trying to add some custom items i made.
I changed the sprites .png to .idc, then i tried to add it to my items, after that i wanted to compile the new .spr but it doesn't seem to work.. I know i should put something in Items.xml but everytime i restart the Dat or Spr editor to check the ID the item is gone again. Someone has a link to a (solved) tutorial for this or knows what I did wrong here? I'm new to this so don't have a clue about it yet. I'm using 0.3.6 TFS (8.54). Thanks for your time.

view.php
 
Last edited by a moderator:
I only know about blackdemons editors, are there any better versions available? I'm also not sure if blackdemons version is for 8.54 but i was told it doesn't make difference. Also what's very weird about it, when i create a item slot with the editor it gives me the ID of an item that already exists, so when i try to make the item i get some wooden door instead, called 'Dragon helmet' with def 50 lol, is it me or is that editor bugged?
 
Last edited by a moderator:
I spend hours on the tutorial everything worked this time, but when i make the item ingame my server gives this error:

[04/05/2011 03:21:50] [Error - TalkAction Interface]
[04/05/2011 03:21:50] data/talkactions/scripts/createitem.lua:onSay
[04/05/2011 03:21:50] Description:
[04/05/2011 03:21:50] (luaDoCreateItemEx) Item not found

While i added the Dragon sword in Items.xml:

<item id="112" article="a" name="dragon sword">
<attribute key="weight" value="3500"/>
<attribute key="defense" value="38"/>
<attribute key="attack" value="55"/>
<attribute key="weaponType" value="sword"/>
<attribute key="extradef" value="2"/>
</item>

And Weapons.xml:

<melee id="112" level="90" unproperly="1" event="function" value="default"/>

I really dont understand it, everything worked out fine just as the tutorial said how it should, exept when i try it ingame..
 
Problem solved!
I tried out some stuff myself on ItemEditor and restarted the server and..

03:47 You see a dragon sword (Atk:55, Def:38 +2).
It can only be wielded properly by players of level 90 or higher.
It weighs 35.00 oz.
ItemID: [112].
Position: [X: 1563] [Y: 1391] [Z: 11].

Thanks so much for your help once more Cykotitan!
Rep+ as soon as i'm able to again.
 
Back
Top