protocolgame.cpp
you will find that text you see in the second image. Search for the string one character
, it's easily locatable. if(g_config.getBool(ConfigManager::ONE_PLAYER_ON_ACCOUNT) && !player->isAccountManager() &&
!IOLoginData::getInstance()->hasCustomFlag(id, PlayerCustomFlag_CanLoginMultipleCharacters))
ONE_PLAYER_ON_ACCOUNT
in ConfigManager? Hmm. Check configmanager.cpp
m_confBool[ONE_PLAYER_ON_ACCOUNT] = getGlobalBool("onePlayerOnlinePerAccount", true);
onePlayerOnlinePerAccount = true
protocolgame.cpp
you will find that text you see in the second image. Search for the string one character
, it's easily locatable. if(g_config.getBool(ConfigManager::ONE_PLAYER_ON_ACCOUNT) && !player->isAccountManager() &&
!IOLoginData::getInstance()->hasCustomFlag(id, PlayerCustomFlag_CanLoginMultipleCharacters))
ONE_PLAYER_ON_ACCOUNT
in ConfigManager? Hmm. Check configmanager.cpp
m_confBool[ONE_PLAYER_ON_ACCOUNT] = getGlobalBool("onePlayerOnlinePerAccount", true);
onePlayerOnlinePerAccount = true
protocolgame.cpp
, I don't know what are the effects of tagging or removing it so do it at your own risk. if(gamemaster && !player->hasCustomFlag(PlayerCustomFlag_GamemasterPrivileges))
{
disconnectClient(0x14, "You are not a gamemaster! Turn off the gamemaster mode in your IP changer.");
return false;
}
That's clearly a red herring here.Also you can find the gamemaster warn
I know it isn't needed and it can be easily solved without source edits by just using normal MC but I am trying to avoid his next question "What about my first screenshot".That's clearly a red herring here.
Also you can find the gamemaster warn inprotocolgame.cpp
, I don't know what are the effects of tagging or removing it so do it at your own risk.
C++:if(gamemaster && !player->hasCustomFlag(PlayerCustomFlag_GamemasterPrivileges)) { disconnectClient(0x14, "You are not a gamemaster! Turn off the gamemaster mode in your IP changer."); return false; }
PD: When you modify your source, you need compile these sources, and you get a new executable .exeI really don't know how to modify the source.
I am trying to edit the file named "Gameprotocol.cpp file" but Editing won't work but I want to know what are the ways to edit my source 3777-master
file of source: D:\MyTibia\OTland Servers\3777-master\src\
M0ustafa
Lessaire
Eduardo170
Thanks for the help and reply
greetings to you all ❤
vc10?PD: When you modify your source, you need compile these sources, and you get a new executable .exe
Yes, it worked with me, but another problem is the first screenshot.You shouldn't need to edit your source to get what you want. Just edit your config.lua so that onePlayerOnlinePerAccount is set to false.
Yes, it worked with me, but another problem is the first screenshot.
disconnectClient(0x14, "You are not a gamemaster! Turn off the gamemaster mode in your IP changer.");
return false;
//disconnectClient(0x14, "You are not a gamemaster! Turn off the gamemaster mode in your IP changer.");
//return false;
(void)0;
Oh, are you using official CipSoft client? The only reason to use gamemaster flag client side when you are not actually GM is to allow official client to run more than once. At least that's from what I remember.
If you are sure there is no GM mode setting to turn off in your Multiclient tool, then you can go ahead and try this I suppose:
replace
withC++:disconnectClient(0x14, "You are not a gamemaster! Turn off the gamemaster mode in your IP changer."); return false;
C++://disconnectClient(0x14, "You are not a gamemaster! Turn off the gamemaster mode in your IP changer."); //return false; (void)0;