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

Red skull dont remove after 15 frags?

TKO

Syphero Owner!
Joined
Mar 10, 2008
Messages
2,252
Reaction score
27
Location
Sweden
hey on my server many players still have 15 frags and after 15 frags like 14 they dont lose there skull any one know why?:S
ps using 0.2.4 tfs
 
I am having the same problem. Probably something to do with
Lua:
bool Commands::playerKills(Creature* creature, const std::string& cmd, const std::string& param)
{
	Player* player = creature->getPlayer();
	if(player)
	{
		int32_t fragTime = g_config.getNumber(ConfigManager::FRAG_TIME);
		if(player->redSkullTicks && fragTime > 0)
		{
			int32_t frags = (player->redSkullTicks / fragTime) + 1;
			int32_t remainingTime = player->redSkullTicks - (fragTime * (frags - 1));
			int32_t hours = ((remainingTime / 1000) / 60) / 60;
			int32_t minutes = ((remainingTime / 1000) / 60) - (hours * 60);

			char buffer[175];
			sprintf(buffer, "You have %d unjustified frag%s. The amount of unjustified frags will decrease after: %s.", frags, (frags > 1 ? "s" : ""), formatTime(hours, minutes).c_str());
			player->sendTextMessage(MSG_STATUS_CONSOLE_BLUE, buffer);
		}
		else
			player->sendTextMessage(MSG_STATUS_CONSOLE_BLUE, "You do not have any unjustified frag.");
	}
	return false;
}
 
try to relog, it should be gone then. otherwise you can kill somebody and your red skull will be white instead.
 
nope still the same.. player get ban after 30 and they got thos frags to 30 they get ban and noting happens if it gose below 15...
 
Back
Top