checking software version... failed checking - malformed file.
isso afeta em algo meu ot? , ele nao esta ficando online eu acho que e por culpa disso !
checking software version... failed checking - malformed file.
isso afeta em algo meu ot? , ele nao esta ficando online eu acho que e por culpa disso !
Se não me engano, isso não impede de botar on-line, mas fica aparecendo para você bota yes/no né? isso só atrapalha, caso você use algum restarter para seu server.
Erro simples, vá nas suas sources, abra o arquivo otserver.cpp e remova:
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;
Onde é essa sources, nao achei esse arquivo ai que voce falou...
1 hora atrás, perfollgustavo disse:Onde é essa sources, nao achei esse arquivo ai que voce falou...
Sources não são um arquivo é o código fonte do distro/console do seu servidor.
PS: Esse erro não impede de deixar o servidor online.
"O fracasso é a oportunidade de se começar de novo inteligentemente"