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

[7.4] Avesta (fork) - GITHUB PROJECT - OPEN SOURCE!

On server part:
- I changed items.otb and items.xml to 7.4 version
- I put 7.4 map on data/world

On client side:
- I saved 7.4 tibia.spr and tibia.dat with objectbuilder but on 7.6 version and used it on a 7.72 client.

I missed something?
 
If I use a 7.4 map on a 7.6 server I get errors on startup: FATAL: OTBM Loader - This map needs an updated items.otb.

Remove OTBM version checking from sources, that's a good trick to start with.
 
On server part:
- I changed items.otb and items.xml to 7.4 version
- I put 7.4 map on data/world

On client side:
- I saved 7.4 tibia.spr and tibia.dat with objectbuilder but on 7.6 version and used it on a 7.72 client.

I missed something?

You're trying to load a 7.4 map with an OTBM class trying to load a 7.6+ map, remove or edit the OTBM version code from the OTBM reading source file and recompile this should skip any version checking for either map you use.
 
Remove OTBM version checking from sources, that's a good trick to start with.
I have no C skills, I think that I should change this part on iomapotbm.cpp:
Code:
int header_version = root_header.version;
    /*if(header_version <= 0){
        //In otbm version 1 the count variable after splashes/fluidcontainers and stackables
        //are saved as attributes instead, this solves alot of problems with items
        //that is changed (stackable/charges/fluidcontainer/splash) during an update.
        setLastErrorString("This map needs to be upgraded by using the latest map editor version to be able to load correctly.");
        return false;
    }
    */
    if(header_version > 2){
        setLastErrorString("Unknown OTBM version detected, please update your server.");
        return false;
    }

    if(root_header.majorVersionItems < 1){
        setLastErrorString("This map needs to be upgraded by using the latest map editor version to be able to load correctly.");
        return false;
    }

    if(root_header.majorVersionItems > (unsigned long)Items::dwMajorVersion){
        setLastErrorString("The map was saved with a different items.otb version, an upgraded items.otb is required.");
        return false;
    }

    if(root_header.minorVersionItems > (unsigned long)Items::dwMinorVersion){
        std::cout << "Warning: [OTBM loader] This map needs an updated items.otb." <<std::endl;
    }
    if(root_header.minorVersionItems == CLIENT_VERSION_854_BAD){
        std::cout << "Warning: [OTBM loader] This map needs uses an incorrect version of items.otb." <<std::endl;
    }

    std::cout << "Map size: " << root_header.width << "x" << root_header.height << std::endl;
    map->mapWidth = root_header.width;
    map->mapHeight = root_header.height;

    NODE nodeMap = f.getChildNode(root, type);

    if(type != OTBM_MAP_DATA){
        setLastErrorString("Could not read data node.");
        return false;
    }

    if(!f.getProps(nodeMap, propStream)){
        setLastErrorString("Could not read map data attributes.");
        return false;
    }
but I don't know how to...
 
Comment out:

Code:
if(root_header.minorVersionItems > (unsigned long)Items::dwMinorVersion){
std::cout << "Warning: [OTBM loader] This map needs an updated items.otb." <<std::endl;
}
if(root_header.minorVersionItems == CLIENT_VERSION_854_BAD){
std::cout << "Warning: [OTBM loader] This map needs uses an incorrect version of items.otb." <<std::endl;
}
if(header_version > 2){
setLastErrorString("Unknown OTBM version detected, please update your server.");
return false;
}
 
My cool Otserver with 7.1 graphics.

BDpR3mV.png

s1EaKJk.png

TgkyaBp.png

GMrI7io.png


Actually OTHire, just need this ([html=[url]http://www.4shared.com/file/GqMkf3PNce/Tibia.html]7.72[/url] tibia.spr[/html]), it's not complete and I probably messed up AOL sprite.
>new tiled roof, pillars, and sewer grate
>7.1 graphics

so close
 
Yo, so, I've been having problems with making an offline server with this. I've kept the IP at 127.0.0.1, and I can get to my char list, but when I try to log in to the Tester char, it gives me an error at line 1332 with communication_ex, and then some other error I don't remember. Anyone know what to do to fix it?
 
Hello I got my avesta 7,4 version with 7.6 avesta database and 7.4 mastercoores release i got to remap the monsters and npcs on map but the biggest problem is when i try to load the npcs they won't appear ingame i check my exe and got this error
anyone one that can explain to me what i must do? please or if have the npc for this version runing i can buy but i got not too much money



j6oeETN.png
 
Hello I got my avesta 7,4 version with 7.6 avesta database and 7.4 mastercoores release i got to remap the monsters and npcs on map but the biggest problem is when i try to load the npcs they won't appear ingame i check my exe and got this error
anyone one that can explain to me what i must do? please or if have the npc for this version runing i can buy but i got not too much money
Mastercores NPC system is not the same as avestas, you gotta source edit. Can't help you more than that, sorry x)
 
Mastercores NPC system is not the same as avestas, you gotta source edit. Can't help you more than that, sorry x)
dude this post was long time ago XD y upload avesta global map with npc houses less quest here :) thanks anyway
 
Back
Top