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

TFS 1.X+ Convert map from 8.1 to 8.60 I face these problems

abdala ragab

Veteran OT User
Joined
Aug 18, 2018
Messages
461
Solutions
11
Reaction score
340
Location
gamelaot.sytes.net
After converting the map from 8.10 to version 860, I faced these problems. How can I solve them in the easiest way, because I have about 1,500 errors like this?
Lua:
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00062 / 00118 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00047 / 00119 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00049 / 00119 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00057 / 00119 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00045 / 00121 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00037 / 00123 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00040 / 00124 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00035 / 00126 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00033 / 00129 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00029 / 00132 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00025 / 00133 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00024 / 00135 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00026 / 00136 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00021 / 00138 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00025 / 00143 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00029 / 00143 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00030 / 00143 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00039 / 00143 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00036 / 00144 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00044 / 00144 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00048 / 00145 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00048 / 00148 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00048 / 00152 / 001 ) with radius: 4.
[Warning - Spawns::loadFromXml] Empty spawn at position: ( 00051 / 00154 / 001 ) with radius: 4.
Code:
[Warning - Spawns::startup] Couldn't spawn monster "Warlock" on position: ( 02552 / 03640 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Warlock" on position: ( 02552 / 03640 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Hellfire Fighter" on position: ( 02538 / 03611 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Hellfire Fighter" on position: ( 02538 / 03611 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Phantasm" on position: ( 02836 / 03447 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Phantasm" on position: ( 02836 / 03447 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Demon" on position: ( 02893 / 03435 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Demon" on position: ( 02893 / 03435 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Plaguesmith" on position: ( 02812 / 03386 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Plaguesmith" on position: ( 02812 / 03386 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Phantasm" on position: ( 02897 / 03362 / 010 ).
[Warning - Spawns::startup] Couldn't spawn monster "Phantasm" on position: ( 02897 / 03362 / 010 ).
Thanks in advance
 
tells you exactly the problem
empty spawn at position

The spawn cannot be empty, that is, it has to have a monster added.

and that of
Couldn't spawn monster
is that it has an obstacle, stone, wall, no floor, etc.

What would be the quick solution?
enter the spawn file and delete them by looking for the coordinates that the console tells you
map-spawn.xml
 
 
tells you exactly the problem
empty spawn at position

The spawn cannot be empty, that is, it has to have a monster added.

and that of
Couldn't spawn monster
is that it has an obstacle, stone, wall, no floor, etc.

What would be the quick solution?
enter the spawn file and delete them by looking for the coordinates that the console tells you
map-spawn.xml
I tried that but the error increased
I tried that and it won't work for me

I am working on removing the error manually and it is very boring
I'm clearing the place spawn
And start placing monsters again in the whole map
 
Go to spawn.cpp and look for this line.
Lua:
std::cout << "[Warning - Spawns::loadFromXml] Empty spawn at position: " << centerPos
Simply remove the line and compile to ensure that errors no longer appear in the console. I comprehend that with nearly 1,500+ lines, it may be challenging to locate or there may be a reluctance to search through RME. Therefore, the solution is to delete this line and compile the code, thereby resolving the issue.
 
Last edited:
Go to spawn.cpp and look for this line.
Lua:
std::cout << "[Warning - Spawns::loadFromXml] Empty spawn at position: " << centerPos
Simply remove the line and compile to ensure that errors no longer appear in the console. I comprehend that with nearly 1,500+ lines, it may be challenging to locate or there may be a reluctance to search through RME. Therefore, the solution is to delete this line and compile the code, thereby resolving the issue
Thank you man. This was a very annoying problem. It took me 5 days to delete 3800 errors in my first map and now I no longer need to do it manually.
I will do it from the source, thanks
 
I had converted a map from 7.92 to 1.4.2 at the time, and many errors appeared in the console... I had to search through the entire map... It took me about 6 hours to get it done; it was very tiring because the map is huge... I managed to remove them manually, okay... And then, after a year, I got another map and converted it to 1.4.2 as well... The same errors appeared in the console, and I decided to remove them from the source, which solved the issue, hahaha. 😂😂🤣🤣
 
I had converted a map from 7.92 to 1.4.2 at the time, and many errors appeared in the console... I had to search through the entire map... It took me about 6 hours to get it done; it was very tiring because the map is huge... I managed to remove them manually, okay... And then, after a year, I got another map and converted it to 1.4.2 as well... The same errors appeared in the console, and I decided to remove them from the source, which solved the issue, hahaha. 😂😂🤣🤣

Here's your solution :D
 
Back
Top