keksd0se / mBot

Other
2 stars 0 forks source link

rehost with ongoing [mBot] #9

Closed keksd0se closed 9 years ago

keksd0se commented 9 years ago

rehost with ongoing [mBot] without mentioning in gn

editing game.cpp

command !pub

editing message: trying to rehost [mbot] + payload

keksd0se commented 9 years ago

considering following files + lines:

game.cpp: CONSOLE_Print( "[GAME: " + m_GameName + "] trying to rehost as public game [" + Payload + "]" );

m_GameName = Payload;

CONSOLE_Print( "[GAME: " + m_GameName + "] saving player/stats data to database" );

CONSOLE_Print( "[GAME: " + m_GameName + "] unable to save player/stats data to database" );

CONSOLE_Print( "[GAME: " + m_GameName + "] game is being deleted before all game data was saved, game data has been lost" );

game_base.cpp

CONSOLE_Print( "[GAME: " + m_GameName + "] error loading IP blacklist file [" + m_GHost->m_IPBlackListFile + "]" );

GetGameName( ) 
GetLastGameName( ) 
( nGameName )

bnet.cpp:

// // !PUB (host public game) // else if( Command == "pub" || Command == "yolo" && !Payload.empty( ) ) m_GHost->CreateGame( m_GHost->m_Map, GAME_PUBLIC, false, Payload, User, User, m_Server, Whisper );

keksd0se commented 9 years ago

implementation in bnet.cpp to be done

keksd0se commented 9 years ago

else if( Command == "pub" || Command == "yolo" && !Payload.empty( ) )

GameNameWithmBot = "[mBot] " + Payload { m_GHost->CreateGame( m_GHost->m_Map, GAME_PUBLIC, false, GameNameWithmBot, User, User, m_Server, Whisper ); }

keksd0se commented 9 years ago

added with commit