Felipe93
Ghost Member
All new accounts start with free premium days in tfs 1.5 downgraded by nekiro
premiumaccount 41689 days, how do i do to make players start free? i've already checked my config.lua freePremium = false
might be something wrong in sources
premiumaccount 41689 days, how do i do to make players start free? i've already checked my config.lua freePremium = false
might be something wrong in sources
Lua:
//Add premium days
//output->addByte(0);
if (g_config.getBoolean(ConfigManager::FREE_PREMIUM)) {
//output->addByte(1);
//output->add<uint32_t>(0);
output->add<uint16_t>(0xFFFF); //client displays free premium
} else {
//output->addByte(account.premiumEndsAt > time(nullptr) ? 1 : 0);
//output->add<uint32_t>(account.premiumEndsAt);
output->add<uint16_t>((account.premiumEndsAt - time(nullptr)) / 86400);
}
Bug in my tfs 1.2 freepremium = false
Hello, i got a problem that i put freePremium = false in config.lua, and if player get any premium day he will get automaticaly free premium when log in to account... where i can change it? ** The problem is probably in protocollogin.cpp but i cant fix it in tfs 1.2 **Solved in...
otland.net
Last edited: