• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X Multiple Logins

ausirosiris

Member
Joined
May 23, 2020
Messages
105
Reaction score
22
How can i make a account with 4 classes that can be logged in by multiple players
So i can have like 10 ms, or rps logged in just with ONE acc



(Can i just set the "AllowClones" in config
and set the acc Flag to something?
 
C++:
void ProtocolGame::login(const std::string& name, uint32_t id, const std::string&,
    OperatingSystem_t operatingSystem, uint16_t version, bool gamemaster)

C++:
if(!foundPlayer || g_config.getNumber(ConfigManager::ALLOW_CLONES) || (accountManager && name == "Account Manager"))

Add the characters name on that condition, example:
C++:
if( ... || (accountManager && name == "Account Manager") || name == "Master Sorcerer")

There are more files to edit like iologindata.cpp and probably game.cpp
 
C++:
void ProtocolGame::login(const std::string& name, uint32_t id, const std::string&,
    OperatingSystem_t operatingSystem, uint16_t version, bool gamemaster)

C++:
if(!foundPlayer || g_config.getNumber(ConfigManager::ALLOW_CLONES) || (accountManager && name == "Account Manager"))

Add the characters name on that condition, example:
C++:
if( ... || (accountManager && name == "Account Manager") || name == "Master Sorcerer")

There are more files to edit like iologindata.cpp and probably game.cpp
I wasnt thinking about source editing! I thought i could make just by some PHP changes or a few xml files. But ok then!
Thank you very much!
This is helpful already!

For now, i just need to put all classes at same condition as the Acc Manager?
 
Last edited:

Similar threads

Replies
14
Views
648
Back
Top