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

TFS gives a lot of error if i put new item in items.otb

henkas

Well-Known Member
Joined
Jul 8, 2015
Messages
1,067
Solutions
5
Reaction score
63
Hi so i watched tutorials how to add new items to items.otb i did everything right i guess but when i replace old otb to new one with new items my server is fucked up
Dragon-_Radar-icon.png

There is more error at the bottom. He gives a lot of warning but server launch but if you connect all your map is fucked up everything is gone :D this is weird how one new item can fuck everything that much :D How can i fix it?
 
well then you got a big problem, either you can overwrite old sprites and use that id as your new item which is a bad idea because it might be some settings in the .otb that will make it work in a way it shouldn't.
Or you learn how to use your item.otb in a proper way, if you are going to add many new items it's really not an option not knowing how to handle the item.otb
There is nothing to learn i watched so much tutorials i followed every step did everything right but my tfs gives me errors like a bitch :/ Look if you can, maybe this tutorial showing wrong steps how to add items in items.otb. Because i followed this tutorial
 
There is nothing to learn i watched so much tutorials i followed every step did everything right but my tfs gives me errors like a bitch :/ Look if you can, maybe this tutorial showing wrong steps how to add items in items.otb. Because i followed this tutorial

There is probably nothing wrong with the tutorial, but there might be with your item editor or your objectbuilder or your tibia.dat or your tibia.spr or anything really, maybe some wrong settings somewhere so hard to just simply state where you've gone wrong.
In the item editor try to reload item attributes and create missing items. then go from there.
 
There is probably nothing wrong with the tutorial, but there might be with your item editor or your objectbuilder or your tibia.dat or your tibia.spr or anything really, maybe some wrong settings somewhere so hard to just simply state where you've gone wrong.
In the item editor try to reload item attributes and create missing items. then go from there.
Maybe there is something wrong with my .dat because pretty much every dat editor i tried to open dat .spr they give me errors some kind of "unable to load items" or something like this, but only object builder are able to load all object.
 
Maybe there is something wrong with my .dat because pretty much every dat editor i tried to open dat .spr they give me errors some kind of "unable to load items" or something like this, but only object builder are able to load all object.

It is a possibility that might be the case, all the files works together so you can't take different versions of them and expect them to work, i would not start working on to much until you find all the needed files and you can save the .otb and make it work then you can start with new items.
 
It is a possibility that might be the case, all the files works together so you can't take different versions of them and expect them to work, i would not start working on to much until you find all the needed files and you can save the .otb and make it work then you can start with new items.
Anyway we can close this thread, i think i'll replace old items to new ones because i saw my server have a lot of unused items but they're create in items.otb so i'll replace them with better ones :/ that way i don't get any error, till i find out whats wrong.
 
Anyway we can close this thread, i think i'll replace old items to new ones because i saw my server have a lot of unused items but they're create in items.otb so i'll replace them with better ones :/ that way i don't get any error, till i find out whats wrong.

Good luck :)
Just remember if you replace old items like say a ground floor and you don't change in the .otb that item will act like a floor.
(i.e. if you change a wall sprite to a sword that sword you won't be able to pick it up nor walk through it because your server handle that sword as a wall and not a sword).

The .dat anyone can edit since it's part of the client which you give out for anyone to change but the .otb is located within your server files which only hopefully you got access to therefore the most important one.
I could change a sprite in any client but it would still be the original item as a core shown as my sprite.

To try to sum it up as i know it, you have your .spr files where all the sprites are located only sprites which then get a specific sprite ID only to locate the sprite, then you have the .dat where you tell what sprites create items where you got another item ID and what that item is suppose to do like is it pickupable or is it a useable, those are what your client uses to draw everything in the games client.
Then you have the item.otb file which is created for the server files it tells your server what the item really is so no one can manipulate it except you the actual item, if the server tells you that sword has id 100 then your .dat file has a wall on id 100 you would see every sword as a wall which would be pretty messed up.
 
Back
Top