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

OTB Editor not working properly

dominique120

Science & Reason
Senator
Premium User
Joined
Jun 16, 2013
Messages
3,881
Solutions
3
Reaction score
1,046
Location
Númenor
I'm using this editor but when I save my changes noting happens, the attributes stay the same. Is there a fix for this or maybe a different program?

My items.otb version is for 8.6 and I'm using tfs 0.3.6
 
Sometimes when I try to edit atributes for an item, and spawn it in game my client will crash and give me a debug the next time I turn it on. Please please help me with this
 
I'm not going to be able to help specifically here, but I've had the same problem as you. What solved it for me was a mixture of making sure that:

1. The sprite is a sprite that exists in the .spr file
2. The item has both a SID and CID that don't conflict with other items.
3. The item has it's own SID/CID in the .dat file
4. The item has it's own SID/CID in the .otb file
5. The item is listed in your server's items.xml file
6. Make sure that the same .dat/.spr/.otb files are being used by your client/server/editortools

If all of these things have been checked and double checked and it's still not working... I'm not sure I can help..
 
Also, if you don't know what an SID/CID are.. the SID is the item's number ingame, while the CID is the items OTHER number.. as seen in .dat editors... Item editors that edit the items.otb file usually display both SID and CID.
 
No problem! I'm working on a tutorial... here's how I personally add items:

Using Tibia Client 9.61 / Forgotten Server 0.2.14 (Mystic Spirit):
upload_2013-10-4_16-53-50.png

I keep a copy of the current Tibia.dat, Tibia.spr, items.otb, and items.xml in the Tibia client folder, items folder of my server, and the work folders for my item editing tools.. that way, when I'm done editing.. I just copy the latest versions of ALL the files into each of these folders over the old ones... this way I know that my client, server, and editors are all using the same files.. even if, for example, the client doesn't need .otb and .xml files, I copy them all together.. this prevents me from forgetting to update all my programs to my latest editions of the files.

EDIT:
NOTE: The biggest issue with my method is that the three item editing programs I use are sketchy (no offense to the developers, they are EXCELLENT, but not complete), and it's important to be careful to BACK UP FIRST and check for bugs after... there are A LOT OF ITEMS, and, during my process, I encounter a lot of errors, and holes in the arrays, and bugs in general, but, for ADDING items, it seems to work. :)
 
Wow! Thanks so much for this guide! Could you please send me a link to the editors you use?

This is fantastic, thanks again!
 
Links:
Tibia Clients:
http://tibiamulticlient.com/category/tibia-client/

The Forgotten Server 9.60/9.61:
http://otland.net/threads/9-60-9-61-the-forgotten-server-v0-2-14-mystic-spirit.166619/

Tibia Editor 9.81:
http://otland.net/threads/tibia-editor-9-81.177586/#post-1752694

otitemeditor 0.5.2:
http://otland.net/threads/9-81-otitemeditor.178769/

Storm Editor:
http://otland.net/threads/9-6-storms-sprite-dat-editor.193540/


--- Updated ---


Ideally... the three item editors could be combined into one or two.. Storm Editor was posted by @Summ and it's in production.. I see it eventually replacing the need for Tibia Editor, but I find that I need Tibia Editor in order to add CIDs to my .dat file.

Note that I just found: I don't recommend compiling your .spr file with Tibia Editor. It will remove your last sprite and replace it with a null sprite. Storm Editor will not do this, so JUST use Tibia Editor to add CIDs... Storm Editor can do the .spr aspect of things.
 
Last edited by a moderator:
I've tried everything you said but I still cant edit the file successfully. If you could please edit it for me it would be amazing , and I would be so gratefully.

Thanks again.
 
Describe what you are trying to do (or just answer my questions below):

Are you making a new item or editing an existing one?

Are there custom sprites involved?

What are the item attributes (i.e. name, weight, purpose, etc.)?

I cannot really help you unless you choose to operate using 9.61. This is because, like most people on this forum, I am not a developer of the tools I'm using (sadly, I'm a leech, not a seed :/). This means that I'm at the mercy of whatever version of Tibia has all the tools I need already built for it, and I only have a complete understanding of how to edit items using those tools (however quirky and unstable they may be). The newest/most stable version I've found (since a week ago) is 9.61 because there already exists a 9.61 server/client/published .otb file/series of item editors and a 9.60 map editor that can make maps understood by the 9.61 server. There are past versions that have all these tools, but, I wanted the newest version I could achieve without lacking the tools I wanted.

I personally don't ever intend to update past 9.61. I think that the perpetual battle with cipsoft to produce tools/distributions that can modify their latest work would keep me from ever getting what I want done when I'm always focussed on "does the new XXXXX System work on my server?"

Now that my rant is over, answer my questions and I'll tell you what I can do to edit your items! :)
 
1. I'm editing an existing one(since it was not working I tried duplicating it but nothing)

2. Nope

3. Its a mana rune(or atleast will be a mana rune)
 
ok... so you're editing an existing mana rune to have different properties than it used to? How will the new rune be different than the old?
 
hmm... what is the Sprite #? and what are the corresponding item's CID/SID?

If you don't know all three numbers, just give me the ones you do. If you have an up and running server and a gamemaster character, the easiest number to get for me is the SID by looking at the item as the game master to get "You see a XXXXX. ItemID: [####]" Where #### is the SID.

Also, what client/server are you using? Sorry, but if I'm going to try and make you .dat and .otb files.. I need all the information I can get.
 
From the otb editor

sid: 12584 cid: 11628

This is not the only item I am trying to edit, I just want to learn how to do it with one so I can do the rest myself

Client is 8.60 and server is 0.3.6, but I think this OTB has been edited before, I got it from the MoonOTS datapack.
 
I think I got it to work, I edited the dat file, aswell as the otb. it appears to be working now. But it look like I am going to have to distribute a custom client when I release my OT
 
Thanks Drakkhan for your tutorial and thanks to Dominique for sharing this link with me. Personally I wont mind going to 9.6+ but so far I have a bare bones 9.61 which will mean a ton of work to get it firing on all cylinders so to speak.

Ill give this a shot later today, thanks again
 
Last edited:
Back
Top