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

Hello there,

You probably made the tile-id: 431 movable on your items.otb (It's a stone flooring tile - Check the picture below).

13xIai4.png


Your server will run anyways as loadMap checks for movable items and warns you if there is any moveable id inside any house (which shouldn't be there if the house has no owner), you can either remove the check in the source files which is not recommended or just fix the tile properties to make it not moveable.

OziqDpv.png


Kindest Regards
Okke
 
Last edited:
Did you add the item to items.xml?
Yes i tried to add and still got error next time i tried not to add to items.xml still got same errors
Hello there,

You probably made the tile-id: 431 movable on your items.otb (It's a stone flooring tile - Check the picture below).

13xIai4.png


Your server will run anyways as loadMap checks for movable items and warns you if there is any moveable id inside any house (which shouldn't be there if the house has no owner), you can either remove the check in the source files which is not recommended or just fix the tile properties to make it not moveable.


Kindest Regards
Okke
That's weird because i didn't put my fingers on other items i just added one new items and that's it. And i don't use stone flooring on my map, this is so weird.
 
Go to that item id and check if it’s what okke is telling you. There is also a position that tells you where the item is.
Checked it's only floors with this id. I never had this warning before it's only happen if you add new item. Everything is fine if you dont add something to items.otb. Mind fuck
homepage12.png
 
Checked it's only floors with this id. I never had this warning before it's only happen if you add new item. Everything is fine if you dont add something to items.otb. Mind fuck
homepage12.png

If you look at the position that is shown in the console, is it item id 431? That blue/white coloured ground? And what about item id 1270?
 
If you look at the position that is shown in the console, is it item id 431? That blue/white coloured ground? And what about item id 1270?
Yes it is. Everythin' fine with it to. Maybe problem is somewhere else? I had experience with pawn if you had error or warning it shows exactly where problem is but problem was always in different line, maybe it's same shit? Because i don't believe that problem is with 431 item.
 
You said that before you implanted your new items there was no errors, so the errors must have started from thouse new items you added to items.otb. Check if they are corretly added? Somehow the effect of change has caused that error to occur.

Looking at the console there are other ids that shows error. Perhaps thouse ids, such as 1270 is effecting id 431?
 
You said that before you implanted your new items there was no errors, so the errors must have started from thouse new items you added to items.otb. Check if they are corretly added? Somehow the effect of change has caused that error to occur.

Looking at the console there are other ids that shows error. Perhaps thouse ids, such as 1270 is effecting id 431?
I'm thinking same, that my new item/items fucked everything, but i did everything right i guess. Couple days ago i added sprites,objects to my server
homepage12.png

But all i did is just coplited them and replaced old .dat .spr to new one. I'm so fucking lost right now jesus christ -_-
 
I'm thinking same, that my new item/items fucked everything, but i did everything right i guess. Couple days ago i added sprites,objects to my server
homepage12.png

But all i did is just coplited them and replaced old .dat .spr to new one. I'm so fucking lost right now jesus christ -_-

Try using the older version of your .otb and just add the items to items.xml .spr and .dat via ObjectBuilder, do not recompile / overwrite the .otb.

Kindest Regards,
Okke
 
Try using the older version of your .otb and just add the items to items.xml .spr and .dat via ObjectBuilder, do not recompile / overwrite the .otb.

Kindest Regards,
Okke
So how should i get item id without overwrite the otb file? Object builder give only cid not sid
 
check items.xml, you have a duplicated item...
As the message states you have 2 items with the id of 12694, search in your item.xml and check if there is 2 items with that id
Well yea that's my bad i deleted that other item from items.xml but that's mean i need to delete him from items.otb to -_- because now if create that item my new item doesn't appear only old item appear with that id, so... what next?
 
Depends on, first when you add sprites in object builder you get one cid for the sprites, then in the .otb manager you get another id which is the one you add in your item.xml, far as i know you can't add 2 of the same item ids in item.otb so you shouldn't really have that problem.
It seams like you are trying to add the id from the object builder but that is ONLY a id for locating the sprite not the item. you need to assaign the those sprite ids to an item in items.obj and then use that id in the item.xlm might be a bit confusing if you don't understand it :)
 
Depends on, first when you add sprites in object builder you get one cid for the sprites, then in the .otb manager you get another id which is the one you add in your item.xml, far as i know you can't add 2 of the same item ids in item.otb so you shouldn't really have that problem.
It seams like you are trying to add the id from the object builder but that is ONLY a id for locating the sprite not the item. you need to assaign the those sprite ids to an item in items.obj and then use that id in the item.xlm might be a bit confusing if you don't understand it :)
Okke told me to try add items without overwrite items.otb because as you can see previews messages if i put fingers on my items.otb everything collapses i get bunch of warnings/errors -_-
 
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
 
Back
Top