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

Again and Again, items.otb

smstR

offline, bye
Joined
Nov 2, 2007
Messages
95
Reaction score
0
Hello there, well I've got a problem, and I hope that someone could help me to solve this out.



Bassically im running on TFS 0.4_DEV rev.3884 (same at 3777), and at console it says this error:

[Error - Items::loadFromOtb] Another (client) version of items.otb is required.

> ERROR: Unable to load items (OTB)!

I have searched and found that, if I copy the items of my server (items.xml, and items.otb) to remeresmapeditor folder "/860/", it should work, and it does, I just did that, and in map editor the map works perfectly, and save it with those items, then when I open the server, it says that error.

I have tried to put another items.otb & items.xml, and I can enter to the server, but some items like Zao and the glowing switches of the depot are just f*cked up.

i changed
CLIENT_VERSION_860_OLD = 19,
CLIENT_VERSION_860 = 20
to:
CLIENT_VERSION_860 = 19
and recomplie it, with no matter.


What can I do?, I would appreciate your help, thank you for your attention, and hope that anyone could help me to solve this out.
 
Remove this from Items.cpp and it will work.

Code:
        [COLOR=#0000ff]else[/COLOR] [COLOR=#0000ff]if[/COLOR][COLOR=#008000]([/COLOR]Items[COLOR=#008080]::[/COLOR][COLOR=#007788]dwMinorVersion[/COLOR] [COLOR=#000040]![/COLOR][COLOR=#000080]=[/COLOR] CLIENT_VERSION_861[COLOR=#008000])[/COLOR]
        [COLOR=#008000]{[/COLOR]
                std[COLOR=#008080]::[/COLOR][COLOR=#0000dd]clog[/COLOR] [COLOR=#000080]<<[/COLOR] [COLOR=#FF0000]"[Error - Items::loadFromOtb] Another (client) version of items.otb is required."[/COLOR] [COLOR=#000080]<<[/COLOR] std[COLOR=#008080]::[/COLOR][COLOR=#007788]endl[/COLOR][COLOR=#008080];[/COLOR]
                [COLOR=#0000ff]return[/COLOR] ERROR_INVALID_FORMAT[COLOR=#008080];[/COLOR]
        [COLOR=#008000]}[/COLOR]
 
Remove this from Items.cpp and it will work.

Code:
        [COLOR=#0000ff]else[/COLOR] [COLOR=#0000ff]if[/COLOR][COLOR=#008000]([/COLOR]Items[COLOR=#008080]::[/COLOR][COLOR=#007788]dwMinorVersion[/COLOR] [COLOR=#000040]![/COLOR][COLOR=#000080]=[/COLOR] CLIENT_VERSION_861[COLOR=#008000])[/COLOR]
        [COLOR=#008000]{[/COLOR]
                std[COLOR=#008080]::[/COLOR][COLOR=#0000dd]clog[/COLOR] [COLOR=#000080]<<[/COLOR] [COLOR=#FF0000]"[Error - Items::loadFromOtb] Another (client) version of items.otb is required."[/COLOR] [COLOR=#000080]<<[/COLOR] std[COLOR=#008080]::[/COLOR][COLOR=#007788]endl[/COLOR][COLOR=#008080];[/COLOR]
                [COLOR=#0000ff]return[/COLOR] ERROR_INVALID_FORMAT[COLOR=#008080];[/COLOR]
        [COLOR=#008000]}[/COLOR]

Same problem here, and that did not work :S, same bug at console :(, any idea?
 
Remove this from Items.cpp and it will work.

Code:
        [COLOR=#0000ff]else[/COLOR] [COLOR=#0000ff]if[/COLOR][COLOR=#008000]([/COLOR]Items[COLOR=#008080]::[/COLOR][COLOR=#007788]dwMinorVersion[/COLOR] [COLOR=#000040]![/COLOR][COLOR=#000080]=[/COLOR] CLIENT_VERSION_861[COLOR=#008000])[/COLOR]
        [COLOR=#008000]{[/COLOR]
                std[COLOR=#008080]::[/COLOR][COLOR=#0000dd]clog[/COLOR] [COLOR=#000080]<<[/COLOR] [COLOR=#FF0000]"[Error - Items::loadFromOtb] Another (client) version of items.otb is required."[/COLOR] [COLOR=#000080]<<[/COLOR] std[COLOR=#008080]::[/COLOR][COLOR=#007788]endl[/COLOR][COLOR=#008080];[/COLOR]
                [COLOR=#0000ff]return[/COLOR] ERROR_INVALID_FORMAT[COLOR=#008080];[/COLOR]
        [COLOR=#008000]}[/COLOR]

before complie?
 
Back
Top