• 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 0.3.6 to 0.4 to 1.0 to 1.1 Conversion Documentation

dkangel83

Member
Joined
Mar 31, 2010
Messages
148
Reaction score
18
Location
Brazil
Hi, im not sure if request board is the place for.. but

What i want is to know if theres in any place 'full' documentation about changes coming from 0.3.6 to 1.1 and since theres changes from 0.3.6 to 0.4 to 1.0 to 1.1+ i need it since old one

Im trying to start a private project (side project) and it will be based in 0.3.6 c++ codes/lua scripts conversion but theres lots of different things that i really dont know .. i dont even know about 0.3.6 but theres no nothing that a bit of logic doesnt help..

like in tfs 1.1 theres no

Code:
    for(xmlNodePtr p = root->children; p; p = p->next)
    {
        if(p->type != XML_ELEMENT_NODE)
            continue;

        if(!xmlStrcmp(p->name, (const xmlChar*)"health"))
        {
            if(!readXMLInteger(p, "max", intValue))
            {
                SHOW_XML_ERROR("Missing health.max");
                monsterLoad = false;
                break;
            }

            mType->healthMax = intValue;
            if(!readXMLInteger(p, "now", intValue))
                mType->health = mType->healthMax;
            else
                mType->health = intValue;
        }

and theres no way to add things like this

Code:
        else if(!xmlStrcmp(p->name, (const xmlChar*)"level"))
        {
            if(!readXMLInteger(p, "max", intValue))
                mType->levelMax = 1;
            else
                mType->levelMax = intValue;

            if(!readXMLInteger(p, "min", intValue))
                mType->levelMin = mType->levelMax;
            else
                mType->levelMin = intValue;
        }

nor
Code:
level = (int32_t)random_range(_mType->levelMin, _mType->levelMax, DISTRO_NORMAL);

I tried by searching but didnt found anything useful to me.. then i came here to ask for some directions about where to find those documentations .. cuz i'll need to make lots of changes and implement some by myself.

I'll be very glad if anyone help
 
Back
Top