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

RME won't use items.otb from 7.72 downgrade (Unsupported items.otb version)

overdriven

Active Member
Joined
Mar 10, 2020
Messages
70
Solutions
1
Reaction score
42
I want to run TFS 1.5 with 7.72 Nekiro's downgrade and custom map.
I'm trying to add real map for 7.1, so first I have to import it in RME and save again, because otherwise TFS will complain about items.otb.
Problem is that there is no support for 7.72 version in RME - only 7.6 or 8.0 and I need RME to use exact same items.otb that my server is using. RME's items.otb for 7.6 version is not the same:

7.60 RME's items.otb has 183 KB
7.72 downgrade items.otb has 205 KB

no 7.72 support

So I copy items.otb from downgrade files to RME/data/760, but when I create a new map it fails to load items.otb from Nekiro's downgrade:

Couldn't load items.otb: Unsupported items.otb version (version 3)
 
Last edited:
Solution
I recently made a PR with this changes:

The PR is waiting for tests before merge to the 772 branch, it would be great if you or someone else test it
Post automatically merged:

By the way, I think I can help on your map conversion. I am out of access my personal computer for now, but on few hours I can send you what I did to convert the map.
Basically the 7.6 and 7.72 items.otb and map.otbm are compatible...
I recently made a PR with this changes:

The PR is waiting for tests before merge to the 772 branch, it would be great if you or someone else test it
Post automatically merged:

By the way, I think I can help on your map conversion. I am out of access my personal computer for now, but on few hours I can send you what I did to convert the map.
Basically the 7.6 and 7.72 items.otb and map.otbm are compatible...
 
Solution
That's awesome. I've re-compiled TFS with your PR and ran it with items.otb from RME (for version 7.60) and both maps (default world.otbm and Tibia71.otbm) work!

1645626929857.png

Well, some things don't, like NPCs are missing and got few errors in console, but I guess it's just due to some files missing.
And some spawns are tripled ( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)
 
I've replaced similar errors with "(...)"

Lua:
>> Loading map
> Map size: 33402x32991.
> Map loading time: 58.675 seconds.
[Error - Npc::loadFromXml] Failed to load data/npc/Kasmir.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32796 / 31557 / 002 ) with radius: 3.
[Error - Monsters::deserializeSpell] - mummy - Unknown spell name: paralyze_mummy
[Warning - Monsters::loadMonster] Cant load spell. data/monster/mummy.xml
[Error - Npc::loadFromXml] Failed to load data/npc/Riddler.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/A Sweaty Cyclops.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Pino.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Alexander.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Emperor Kruzak.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32586 / 31928 / 003 ) with radius: 2.
[Error - Monsters::deserializeSpell] - orc berserker - Unknown spell name: haste_orcberserker
[Warning - Monsters::loadMonster] Cant load spell. data/monster/orc berserker.xml
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32599 / 31805 / 004 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Uzon.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Thomas.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Zoltan.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32073 / 32107 / 004 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32102 / 32130 / 004 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Sylvester.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32137 / 32171 / 004 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Luna.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Gundralph.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Etzel.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Talesia.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Dagomir.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Boozer.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32976 / 32079 / 005 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Leeland.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Hugo.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Abran Ironeye.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Trimegis.xml: File was not found
[Error - Monsters::deserializeSpell] - giant spider - Unknown spell name: haste_giantspider
[Warning - Monsters::loadMonster] Cant load spell. data/monster/giant spider.xml
[Error - Npc::loadFromXml] Failed to load data/npc/Shiriel.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Ukea.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Eroth.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Roderick.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Elf Guard.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Bunny Bonecrusher.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Willard.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Mirabell.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Beatrice.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Rudolph.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Lea.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32846 / 31919 / 006 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32749 / 31979 / 006 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Wyda.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Christoph.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Rose.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Livielle.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Rodney.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Carina.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Jean Claude.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Rokyn.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Odemara.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Allen.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Yulas.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Borkas.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Arnold.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Julian.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Dustrunner.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Lightfoot.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Chephan.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32914 / 32080 / 006 ) with radius: 14.
[Error - Npc::loadFromXml] Failed to load data/npc/Frans.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Chatterbone.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Nelliem.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Shiantis.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Digger.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Smiley.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Ashtamor.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Norbert.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Velvet.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Aldo.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Yanni.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Xed.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Romella.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Alwin.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Warbert.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32537 / 32143 / 006 ) with radius: 3.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 33097 / 32168 / 006 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Stutch.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/King Tibianus.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Harsky.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32311 / 32171 / 006 ) with radius: 1.
[Error - Monsters::deserializeSpell] - wild warrior - Unknown spell name: haste_wildwarrior
[Warning - Monsters::loadMonster] Cant load spell. data/monster/wild warrior.xml
[Error - Npc::loadFromXml] Failed to load data/npc/Noodles.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Dallheim.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Chester Kahs.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32104 / 32190 / 006 ) with radius: 3.
[Error - Npc::loadFromXml] Failed to load data/npc/Gregor.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32105 / 32207 / 006 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Todd.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Tim, the guard.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Galuna.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Robin.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Lungelen.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Norf.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Kazzan.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Morun.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Chemar.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32044 / 31582 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Brasith.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32486 / 31604 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Elvith.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Irea.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32489 / 31619 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Marlene.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Maealil.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32581 / 31640 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32138 / 31659 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Anerui.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32127 / 31660 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32426 / 31666 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32734 / 31668 / 007 ) with radius: 2.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32138 / 31672 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Faluae.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Nielson.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32027 / 31692 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Olrik.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Trisha.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Bambi Bonecrusher.xml: File was not found
(...)
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32390 / 31821 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Nydala.xml: File was not found
(...)
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32958 / 32022 / 007 ) with radius: 2.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 33059 / 32027 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32256 / 32056 / 007 ) with radius: 3.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32282 / 32056 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Dove.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Yberius.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Lubo.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32490 / 32120 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32385 / 32131 / 007 ) with radius: 10.
[Error - Npc::loadFromXml] Failed to load data/npc/Gamon.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Topsy.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Turvy.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32063 / 32180 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Norma.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32313 / 32183 / 007 ) with radius: 3.
[Error - Npc::loadFromXml] Failed to load data/npc/Harkath Bloodblade.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Grof, The Guard.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Baxter.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Seymour.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32085 / 32199 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Sam.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Lynda.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Gorn.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32047 / 32204 / 007 ) with radius: 2.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32109 / 32204 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Frodo.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32312 / 32210 / 007 ) with radius: 2.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32643 / 32212 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Aruda.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32368 / 32215 / 007 ) with radius: 10.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32097 / 32217 / 007 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Benjamin.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Hanna.xml: File was not found
(...)
[Error - Npc::loadFromXml] Failed to load data/npc/Suzy.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Oldrak.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Muriel.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Kulag, The Guard.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Wyat.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Walter, The Guard.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Hardek.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32289 / 32346 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32259 / 32358 / 007 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32345 / 32363 / 007 ) with radius: 5.
[Error - Npc::loadFromXml] Failed to load data/npc/Muzir.xml: File was not found
(...)
[Error - Npc::loadFromXml] Failed to load data/npc/Simon the Beggar.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 33291 / 32481 / 007 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Miraia.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32582 / 31652 / 008 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Shanar.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Bashira.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Briasol.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 33266 / 31672 / 008 ) with radius: 1.
[Error - Monsters::deserializeSpell] - monk - Unknown spell name: haste_monk
[Warning - Monsters::loadMonster] Cant load spell. data/monster/monk.xml
[Error - Npc::loadFromXml] Failed to load data/npc/Karl.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/William.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Amanda.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Dane.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Puffels.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Lokur.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32524 / 31906 / 008 ) with radius: 4.
[Error - Npc::loadFromXml] Failed to load data/npc/Iwar.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Duria.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Skjaar.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32660 / 32112 / 008 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Lugri.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32103 / 32182 / 008 ) with radius: 4.
[Error - Npc::loadFromXml] Failed to load data/npc/Snake Eye.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Gamel.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Marvik.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Partos.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Shirith.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Elathriel.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/The Orc King.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Humgolf.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32636 / 31886 / 009 ) with radius: 3.
[Error - Npc::loadFromXml] Failed to load data/npc/Kroox.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32634 / 31889 / 009 ) with radius: 3.
[Error - Npc::loadFromXml] Failed to load data/npc/Uzgod.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Bezil.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Nezil.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32661 / 31912 / 009 ) with radius: 8.
[Error - Npc::loadFromXml] Failed to load data/npc/Tezila.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32931 / 32071 / 009 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/A Strange Fellow.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Maria.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Urkalio.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32615 / 32108 / 010 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32654 / 32151 / 010 ) with radius: 4.
[Error - Monsters::deserializeSpell] - vampire - Unknown spell name: paralyze_vampire
[Warning - Monsters::loadMonster] Cant load spell. data/monster/vampire.xml
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32446 / 31623 / 011 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Pydar.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Isimov.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Asrak.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32174 / 32147 / 011 ) with radius: 1.
[Error - Npc::loadFromXml] Failed to load data/npc/Talphion.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Kawill.xml: File was not found
[Error - Monsters::deserializeSpell] - behemoth - Unknown spell name: haste_behemoth
[Warning - Monsters::loadMonster] Cant load spell. data/monster/behemoth.xml
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32788 / 31690 / 013 ) with radius: 10.
[Error - Npc::loadFromXml] Failed to load data/npc/A Prisoner.xml: File was not found
[Error - Monsters::deserializeSpell] - warlock - Unknown spell name: paralyze_warlock
[Warning - Monsters::loadMonster] Cant load spell. data/monster/warlock.xml
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32715 / 31643 / 014 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32614 / 31940 / 014 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32666 / 31677 / 015 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32506 / 31723 / 015 ) with radius: 1.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32641 / 31943 / 015 ) with radius: 2.
[Error - Npc::loadFromXml] Failed to load data/npc/Brodrosch.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/Gurbasch.xml: File was not found
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32418 / 32147 / 015 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 32419 / 32147 / 015 ) with radius: 1.
[Warning - Houses::loadHousesXML] House entry not set - Name:  - House id: 745
(...)
>> Initializing gamestate
>> Loaded all modules, server starting up...
>> Forgotten Server Online!

NPCs are missing because TFS obviously doesn't provide them... and neither does the map I've downloaded.
Regarding other errors I'm not sure.
Post automatically merged:

I guess I have to switch to other sprites too... well, that map was for 7.1 after all, not 7.72.
1645627921163.png
But I'm not sure if I'll use this map, I've just grabbed the first RL map I could put my hands on to see if it'll work.
Will probably switch to one dedicated for 7.72, if I find one...
 
Last edited:
I would place a better explanation about converting the map when I get access to my personal computer, but here is how all this stuffs works, basically:

About .otbm files
.otbm versions, say map.otbm has a header with some info:
  1. OTBM version: value = 0 for otbm1; 1 for otbm2; 2 for otbm3, 3 for otbm4
    1. check this link for reference values
    2. check this link for client and otbm version compatibillity
  2. width: width of your map (which is printed on console before loading)
  3. height: height of your map (which is printed on console before loading)
  4. majorVersionItems: the - major - version of items.otb that the map is built from
  5. minorVersionItems: the - minor - version of items.otb that the mas is built from

The first issue that always happen when loading a map is incompatibible version of items.otb. Ideally the items.otb that you place on data/items/ should be the same as the one which map.otbm is built from.

About .otb files
same way .otbm, say items.otb has a header with some info:
  1. dwMajorVersion: major version
  2. dwMinorVersion: minor version
  3. dwBuildNumber: file build number, used and incremented by itemeditor
  4. CSDVersion[128]: dont know about it, maybe a string with detailed version info
The .otb and client versions can be referenced on this link. The items.otb is created by a Tibia.dat/Tibia.spr files, which should be compatible on Preferences of RME too.

So you have some things to worry about:
1 - Which is my .otbm full version?
2 - Do I have the items.otb that is the map is built from?
3 - Which is my .otb version?
4 - My client .spr/.dat files are compatible with version used by items.otb?
 
@danilopucci Thanks for explanation. Now I try to fix these sprites but I've ran into some problems.
Basically I've downloaded old .spr and .dat for 7.4, put them into RME and TFS, switched RME to use 7.40 and imported my Tibia74 map, selected all xmls files in /monsters and /npcs directories and saved the map. I've also copied items.otb for 7.40 from RME into TFS, but when I try to run TFS now it complains "ERROR: Unable to load items (OTB)!" even though I have made everything according to the book:

✔️RME and TFS is using same .spr, .dat and items.otb (for 7.40)
✔️Map has been rebuilt with same items.otb that TFS is using (7.40)

I don't know how to check otb and otbm headers as they are binary files, but in map properties it says it's for Client Version 7.4, so I assume it's all good there.
Post automatically merged:

I've worked it around by copying items.otb from 760 into 740 (on both RME and TFS), it helps to load the map in TFS.

However, now the client (OTC) fails to load Tibia.dat for 740 on 772 protocol. But it cannot run 740 protocol as it says:
"Only clients with protocol 7.72 is allowed!"
I can put Tibia.dat from 7.6 and use it with Tibia.spr for 7.4 and client will work but a lot of sprites will be messed up.

Well, I can't use 7.4 files at all, map in RME is all messed up with 7.4 as well, it has to use 7.6 and those ugly sprites can be probably fixed only manually by hand.
 
Last edited:
I don't know how to check otb and otbm headers as they are binary files, but in map properties it says it's for Client Version 7.4, so I assume it's all good there.
I've worked it around by copying items.otb from 760 into 740 (on both RME and TFS), it helps to load the map in TFS.
Try to add this lines
C++:
std::cout << "> Map version info: " std::endl;
std::cout << "\t\t OTBM version:" << root_header.version << std::endl;
std::cout << "\t\t OTBM version items: minor is " << root_header.minorVersionItems << "major is " << root_header.majorVersionItems << std::endl;
std::cout << "\t\t OTB version: minor is " << Item::items.minorVersion << "major is " << Item::items.majorVersion << std::endl;

after the following line in iomap.cpp
C++:
std::cout << "> Map size: " << root_header.width << "x" << root_header.height << '.' << std::endl;
This will print the items and map versions

Can you share the items.otb that you are trying to load? I can try to reproduce the "ERROR: Unable to load items (OTB)!" later.
Also, can you share any previous console lines before that?

However, now the client (OTC) fails to load Tibia.dat for 740 on 772 protocol. But it cannot run 740 protocol as it says:
"Only clients with protocol 7.72 is allowed!"
You dont need to do this, you can simple put your Tibia74.spr/.dat inside things/data/772. The folders of things/data are more about the protocol version (which you should keep 772). OTC can handle the version 74 of .spr and .dat

I can put Tibia.dat from 7.6 and use it with Tibia.spr for 7.4 and client will work but a lot of sprites will be messed up.
Don't go this way, you should never mix between .dat and .spr versions. Keep always the "couple"
 
But this map I was trying to use doesn't work well with 7.4 .dat/.spr, in RME all tiles are messed up with 7.4 .dat/.spr. This map is called Tibia74 but was probably made with 7.6 .dat/.spr. And OTCv8 client is not able to load Tibia.dat file from 7.4 either. There is no point for me in trying to make it work for 7.4, I'm forced to use 7.6.

I'm using items.otb from RME (v. 3.7.0), same as here github.com/hampusborgos/rme/tree/master/data/740.
But I switched back to data/760/items.otb, as the older one doesn't seem to work.

This is what I get after adding std:cout lines you've suggested:
The Forgotten Server - Version 1.5 (Nekiro's 7.72 downgrade)

Compiled with Microsoft Visual C++ version 1931
Compiled on Feb 23 2022 15:25:02 for platform x64
Linked with LuaJIT 2.0.5 for Lua support

A server developed by Mark Samman
A server downgraded by Nekiro
Visit our forum for updates, support, and resources: OTLand (https://otland.net/).

Loading config
Establishing database connection... MySQL 10.5.5
Running database manager
Loading vocations
Loading items... OTB v1.3.17
Loading script systems
Using LuaJIT 2.0.5
Loading lua libs
Loading lua scripts
Loading monsters
Loading lua monsters
Loading outfits
Checking world type... PVP
Loading map
Map size: 33432x33023.
OTBM version: 0
OTBM version items: minor is 3, major is 1
OTB version: minor is 3, major is 1
Map loading time: 73.824 seconds.
Post automatically merged:

When I try to use raw Tibia74.otbm (without importing it and resaving) it prints different versions and size:

Map size: 65000x65000.
OTBM version:1
OTBM version items: minor is 3, major is 1
OTB version: minor is 3, major is 1
 
Last edited:
I am sorry, now I got it :p

Yeah, so you are right about deal with the ugly sprites, but maybe I have a hope for you avoid doing it manually. I never did it, but you can give a try and test:
Open 7.4 .spr and .dat files using ObjectBuilder:
File -> Open -> Client Folder: folder with Tibia74.spr Tibia74.dat
File -> Compile As... : select Version 7.6
 
The outcome of compiling 7.4 as 7.6 is even worse than mixing .spr from 7.4 and .dat from 7.6 ;-)
But maybe I can just get rid of faulty sprites by replacing them with newer sprites from 7.6, they look better than old ones anyway.

Btw. what is the difference between OTBM version 0 and 1? According to /data/clients.xml and rme/source/client_version.h:
root_header.version == 0 means the map was made with 7.4-7.6 sprites
root_header.version == 1 means the map was made with 8.0-8.31 sprites
Right? Or I misunderstood?
 
The outcome of compiling 7.4 as 7.6 is even worse than mixing .spr from 7.4 and .dat from 7.6 ;-)
But maybe I can just get rid of faulty sprites by replacing them with newer sprites from 7.6, they look better than old ones anyway.

Btw. what is the difference between OTBM version 0 and 1? According to /data/clients.xml and rme/source/client_version.h:
root_header.version == 0 means the map was made with 7.4-7.6 sprites
root_header.version == 1 means the map was made with 8.0-8.31 sprites
Right? Or I misunderstood?
In terms of sprites this is not a rule. You can have a header version = 2 with 7.4 sprites, for example. Or any combination.

In terms of file structure, there is a difference. OTBM is basically:
  • header info - the one with map version, item version etc
  • list of attributes (file description string, map-spawn file string, map-house file string)
  • nodes: tiles, towns, waypoints
The tiles node has some attributes: flags and item node.
For the item node, there is a structure for it too: id, attributes etc. The difference between header versions 0 and 1 is on this structure:
while otbm header version 0 is: id, count/charges/subType (in case of item is stackable, splash or fluidcontainer) in header version > 1 is: id only

This difference loads to unserialization erros and of course a fatal error while loading map.

PS: My description is a simplification of the structure
 
Ok, but what defines that one map is OTBM=0 and the other one OTBM=1? Tibia.dat and Tibia.spr used by RME to create it? items.otb?

When I use this map as it is, the version is OTBM=1, but when I import it in RME and re-save it (as 7.6 map) it will have version OTBM=0.
I'm talking about this map.
 
Ok, but what defines that one map is OTBM=0 and the other one OTBM=1? Tibia.dat and Tibia.spr used by RME to create it? items.otb?

When I use this map as it is, the version is OTBM=1, but when I import it in RME and re-save it (as 7.6 map) it will have version OTBM=0.
I'm talking about this map.

Just to do not confuse all this things about versions: There is a header version (the integer value of the header) and the version ID.
OTBM version that is printed on the code that I refered previously is the header version, the version which RME prints is the version ID.
So when you load that map as it is, and the header version = 1, it is versonID = 2.
  • You can check the definition of header version and versionID here
  • The versionID has specific client versions (and spr/dat), which can be checked here
  • You can check the equivalent OTBM versions string here, it is the strings "0.6.0" or "0.5.0" that you can check by going on menu Map -> Propreties

So, answering your question: What defines that one map is OTBM=0 and the other one OTBM=1?
It is RME, based on the save options.

To sum up: it looks that the map that you provided is OTBM-version-id=2, so it is for 8.x versions. No problem on this, as long as you edit the data/clients.xml, according to the text documenting the data-fields. This way the RME is going to load the map with proper .spr/.dat files and items.otb

XML:
<!--
        List all client versions here

        name is the name that's displayed in the UI for this version.

        otb is what otb file it uses (see above). More than one client
        using the same otb version WILL NOT WORK

        Tag the ones that can be selected in the UI with visible

        Tag the ONE that is the default when the editor opens up on the
        first time with default="true"

        otbm - There can be multiple otbm subtags, list what map version
        that client version uses. If multiple, set one as default="true"
        and the editor will use that one as the default for new maps.
        Otherwise the first one will be preferred.

        extensions - Tag with range of extensions that version should load.
        If you set it for to=8.20 for example, all made extension for 8.20
        and later will be loaded

        data - The .dat / .spr id (first four bytes). Used to recognize
        the client data files. The format is what version
        of the loader the editor should use (ie. last time data format
        changed)
-->

        <client name="7.4" otb="7.40" visible="true" data_directory="740">
            <otbm version="1"/>
            <otbm version="2" default="true"/>
            <extensions from="7.4" to="7.4"/>
            <data format="7.4" dat="0x41BF619C" spr="0x41B9EA86"/>
        </client>

        <client name="7.6" otb="7.60" visible="true" data_directory="760">
            <otbm version="1"/>
            <otbm version="2" default="true"/>
            <extensions from="7.6" to="7.6"/>
            <data format="7.55" dat="0x439D5A33" spr="0x439852BE"/>
        </client>
 
I'm having the same problem and I saw this topic and asked for help before opening another one. I'm using the updated ForgottenServer tfs 1.5 base directly from github and I'm trying to put a 7.72 map from version OTX7.72REALMAP etc. I managed to load my map in RME3.7 and also in OTAcademyRME and be able to convert it to ot 0.5.5 7.6 and save. Zero sprite errors but when opening the server it gives me this error in the following print.

1709394469966.png
ps: What do i have tried?

I made that changes here: Problem loading map in TFS 1.2 (https://otland.net/threads/problem-loading-map-in-tfs-1-2.279898/#post-2687170)

I tried to commit some line codes relationed with FATA Map::LoadMap and so. I assume that i still lost.. and my knowledge ends here. Id be greatful if you could help me @danilopucci

BTW i could pay for a solution
 
Last edited:
Back
Top