Gertjan300
Retired Tibia Staff
- Joined
- May 6, 2014
- Messages
- 30
- Reaction score
- 3
Dear Otland!
Im here again with another question!
And i know how to fix it but im not that good at that coding language.
So here is my question.
Screenshot:
This is the buggie little thing.
Its not making my server stop or something because i can just press "Yes" And it will still load.
But i want a clean console. I dont like messy things like this.
I know it can be fixed like this
if you remove this bit of code out of your otserv.cpp you have fixed it.
But as i said im not good at that coding language. so somebody please help
Kind regards
Gertjan300
Im here again with another question!
And i know how to fix it but im not that good at that coding language.
So here is my question.
Screenshot:
This is the buggie little thing.
Its not making my server stop or something because i can just press "Yes" And it will still load.
But i want a clean console. I dont like messy things like this.
I know it can be fixed like this
if you remove this bit of code out of your otserv.cpp you have fixed it.
But as i said im not good at that coding language. so somebody please help
Code:
std::cout << ">> Fetching blacklist" << std::endl;
#if defined(WINDOWS) && !defined(__CONSOLE__)
SendMessage(GUI::getInstance()->m_statusBar, WM_SETTEXT, 0, (LPARAM)">> Fetching blacklist");
#endif
if(!g_game.fetchBlacklist())
{
#if defined(WINDOWS) && !defined(__CONSOLE__)
if(MessageBox(GUI::getInstance()->m_mainWindow, "Unable to fetch blacklist! Continue?", "Blacklist", MB_YESNO) == IDNO)
#else
std::cout << "Unable to fetch blacklist! Continue? (y/N)" << std::endl;
char buffer = getchar();
if(buffer == 10 || (buffer != 121 && buffer != 89))
#endif
startupErrorMessage("Unable to fetch blacklist!");
}
Kind regards
Gertjan300