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

Solved [RME BUG] Map Houses aren't being loaded correctly

darkshin

New old member
Joined
Dec 14, 2010
Messages
231
Reaction score
22
Hello Guys!

I have created alot of houses and saved, the Rme writed the houses file correctly... but when Ill load the map, it only load like 3-4 of the houses I've created... and If I save, it rewrite the house file with only the ones he loaded this time..

Im using rme 10.76

The wrong loading:
mapbug.jpg


The house file not bugged:
https://gist.github.com/DarkShinz/215dc596cd08cdef3d05

And this is the bugged file:
Code:
<?xml version="1.0"?>
<houses>
    <house name="The Big Bull" houseid="1" entryx="1015" entryy="1469" entryz="6" rent="6000" townid="3" size="56" />
    <house name="The Mouse Flat #1" houseid="2" entryx="1031" entryy="1476" entryz="7" rent="1000" townid="3" size="19" />
    <house name="The Mouse Flat #2" houseid="3" entryx="1029" entryy="1471" entryz="7" rent="2500" townid="3" size="26" />
    <house name="" houseid="5" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="23" />
    <house name="" houseid="6" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="20" />
    <house name="" houseid="7" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="8" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="13" />
    <house name="" houseid="10" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="25" />
    <house name="" houseid="11" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="12" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="13" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="21" />
    <house name="" houseid="14" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="15" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="25" />
    <house name="" houseid="16" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="17" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="18" />
    <house name="" houseid="18" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="17" />
    <house name="" houseid="19" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="17" />
    <house name="" houseid="20" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="18" />
    <house name="" houseid="21" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="22" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="26" />
    <house name="" houseid="23" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="26" />
    <house name="" houseid="24" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="21" />
    <house name="" houseid="25" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="21" />
    <house name="" houseid="26" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="23" />
    <house name="" houseid="27" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="23" />
    <house name="" houseid="28" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="80" />
    <house name="" houseid="29" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="90" />
    <house name="" houseid="30" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="12" />
    <house name="" houseid="31" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="18" />
    <house name="" houseid="32" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="28" />
    <house name="" houseid="33" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="45" />
    <house name="" houseid="34" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="21" />
    <house name="" houseid="35" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="12" />
    <house name="" houseid="36" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="31" />
    <house name="" houseid="37" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="31" />
    <house name="" houseid="38" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="19" />
    <house name="" houseid="39" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="16" />
    <house name="" houseid="40" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="23" />
    <house name="" houseid="41" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="9" />
    <house name="" houseid="42" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="12" />
    <house name="" houseid="43" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="48" />
    <house name="" houseid="44" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="42" />
    <house name="" houseid="45" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="95" />
    <house name="" houseid="46" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="15" />
    <house name="" houseid="47" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="22" />
    <house name="" houseid="48" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="13" />
    <house name="" houseid="49" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="19" />
    <house name="" houseid="50" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="24" />
    <house name="" houseid="51" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="32" />
    <house name="" houseid="52" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="18" />
    <house name="" houseid="53" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="48" />
    <house name="" houseid="54" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="98" />
    <house name="" houseid="55" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="109" />
    <house name="" houseid="56" entryx="0" entryy="0" entryz="0" rent="0" townid="0" size="113" />
</houses>

Does anyone knows how to fix it?
And by the way, does anyone knows where I can find RME sources?
 
Well Ive edited the sources and fixed it.

*At function loadHouses*
Code:
House* house = nullptr;
        if((attribute = houseNode.attribute("houseid"))) {
            house = map.houses.getHouse(pugi::cast<int32_t>(attribute.value()));
            if(!house) {
                //break;
                continue;
            }
        }
 
Back
Top