• 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!

C++ OperatingSystem Not Working

Joined
Aug 15, 2014
Messages
143
Reaction score
24
Hello Guys. I can't recognize otclientv8 in my source. Why??? (breaking head)

I'm using OTC with player, but it printed, why? I'm using OTC (android)


C++:
std::cout << "Player System: " <<player->getOperatingSystem() << std::endl;
std::cout << "Linux Check: " << CLIENTOS_OTCLIENT_LINUX << std::endl;

if (player->getOperatingSystem() >= CLIENTOS_OTCLIENT_LINUX) {
std::cout << "Player is using OTC" << std::endl;
} else {
std::cout << "NOT OTC" << std::endl;
}


I logged 2 players into the game, one for tibia cip, and the other for otclient (android).

Lua:
print("player client:", getClient().os)

either printed:
player client: 2

Can someone help me?
thanks.
 
Back
Top