You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to disable the "Player xxxx has joined from [0.0.0.0]" message, but I
can't seem to find a way to do it. I've tryed to set the lang string to empty
spaces, but then the bot thinks that the lang str is missing and outputs an
error.
There should be a way to disable specific lang strings in case I want the bot
to be as silent as possible.
Original issue reported on code.google.com by [email protected] on 27 Oct 2011 at 3:58
The text was updated successfully, but these errors were encountered:
Open game_base.cpp, search for the following:
// join message from diff realms
and comment the following (place 2 slashes in front -> // )
SendAllChat( tr("lang_1504", "$NAME$", joinPlayer->GetName( ), "$FROM$",
JoinedRealm == string( ) ? "garena\\lan" : JoinedRealm ));
this line might look different in older revisions. then recompile the bot and
make your own ghost++ binary or ghost.exe
It's good idea.
We must only add in both of CLanguage::GetLang functions a check of the lang
string on the specified string (like "ignore" for exemle), and return null or
specified string. Then we must change all SendChat functions in a game_base.cpp
to check an incoming string and just do nothing if there null or specified
string.
So now you can force bot to ignore and dont show any message you want, just
by typing "ignore" in a lang string.
Original issue reported on code.google.com by
[email protected]
on 27 Oct 2011 at 3:58The text was updated successfully, but these errors were encountered: