• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Failed checking software version - malformed file

Teppo

New Member
Joined
Jul 18, 2013
Messages
62
Reaction score
2
Hi,


So, finally i got everything working except for these things, I was online in server, but i didnt get my character promoted to GOD ( I used znotes website, it worked on him but not with me :/ ), so i desided to shut down server, and try to open it again to check if it has changed to GOD, but now server wont get back online. It crashes when loading items, there is no error it just closes.

i noticed this: [19/01/2014 18:57:59] >> Checking software version... failed checking - malformed file.

Thats only fail i can see when i try to open my server. :D

So, if you know what is the problem, can you help me fix it? :)


(I'm a noob, this is my first time making my own server so i dont know what to do :D)

Please help me,
~Teppo
 
First, Thanks guys for fast comments! :)

EvilSkillz: i have seen that thread and i don't know what to do, ( what folder, what i do in there etc ), im a noob in things like this, can you tell me what i need to do? :D

Limos: I already use windows xp :D


Thank you,
~Teppo
 
First, Thanks guys for fast comments! :)

EvilSkillz: i have seen that thread and i don't know what to do, ( what folder, what i do in there etc ), im a noob in things like this, can you tell me what i need to do? :D

Limos: I already use windows xp :D


Thank you,
~Teppo

you have the source? of your tfs
 
omg :o listen first u need stain dev compiler ... get it from download/tools section
then you need to compile your source . ~ .
how ?
extract source to new folder
then open compiler and search for *.dev in source .. ~ ..
and then compile
 
haha yeah i have alot to learn :D

Result :

Status: Done
Errors: 0
Warnings: 0

what do i do now? :eek:


Edit: or do i need to compile every .dev file? :D

What to do now? errors : 0, warnings : 0? :D


Edit: i still have same error :/ [19/01/2014 22:24:31] >> Checking software version... failed checking - malformed file.

if not i will do it for you xD

but i need you to go 1+ more step in open tibia by learning new things :D

Hey,

Do you have any other ideas or i need to do something now? :D

I really would appreciate it if you can help me :)

Thx,
~Teppo
 
Last edited by a moderator:
Read This Quote :D
@Otserver.cpp remove:
Code:
    std::clog << ">> Checking software version...";
    if(xmlDocPtr doc = xmlParseFile(VERSION_CHECK))
    {
        xmlNodePtr p, root = xmlDocGetRootElement(doc);
        if(!xmlStrcmp(root->name, (const xmlChar*)"versions"))
        {
            p = root->children->next;
            if(!xmlStrcmp(p->name, (const xmlChar*)"entry"))
            {
                std::string version;
                int32_t patch, build, timestamp;

                bool tmp = false;
                if(readXMLString(p, "version", version) && version != SOFTWARE_VERSION)
                    tmp = true;

                if(readXMLInteger(p, "patch", patch) && patch > VERSION_PATCH)
                    tmp = true;

                if(readXMLInteger(p, "build", build) && build > VERSION_BUILD)
                    tmp = true;

                if(readXMLInteger(p, "timestamp", timestamp) && timestamp > VERSION_TIMESTAMP)
                    tmp = true;

                if(tmp)
                {
                    std::clog << " ";
                    if(version.find("_SVN") == std::string::npos)
                        std::clog << "running sub version, please mind it's unstable and only for testing purposes!";
                    else
                        std::clog << "outdated, please consider upgrading!";

                    std::clog << std::endl << "> Current version information - version: "
                        << SOFTWARE_VERSION << ", patch: " << VERSION_PATCH
                        << ", build: " << VERSION_BUILD << ", timestamp: " << VERSION_TIMESTAMP
                        << "." << std::endl << "> Latest version information - version: "
                        << version << ", patch: " << patch << ", build: " << build
                        << ", timestamp: " << timestamp << "." << std::endl;
                    if(g_config.getBool(ConfigManager::CONFIRM_OUTDATED_VERSION) &&
                        asLowerCaseString(version).find("_svn") == std::string::npos)
                    {
                        std::clog << "Continue? (y/N)" << std::endl;
                        char buffer = getch();
                        if(buffer != 121 && buffer != 89)
                            startupErrorMessage("Aborted.");
                    }
                }
                else
                    std::clog << "up to date!" << std::endl;
            }
            else
                std::clog << "failed checking - malformed entry." << std::endl;
        }
        else
            std::clog << "failed checking - malformed file." << std::endl;

        xmlFreeDoc(doc);
    }
    else
        std::clog << "failed - could not parse remote file (are you connected to any network?)" << std::endl;
 
I feel just like a idiot :D im so confused, i dont know should i edit something, or remove it?


Thanks for being patient with me, im retarted sometimes xD

ooh now i see, i need to make it just like its in there or?
 
Last edited by a moderator:
Back
Top