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

[8.40][TFS 0.3.2]Spamming spells on save

Svetrey

3+3*3 = ?
Joined
Aug 5, 2008
Messages
233
Reaction score
0
Hello!
Does someone know how to fix bug?
Players can spam spells while server save. For example level 53 mage killed 200 knight with exori frigo spam.
If you help me, i will give you rep++
 
Probably I've deleted this bug using Simone's svn, I'll know it later;P Anyway thanks for information.
It's avaible to change TFS 0.3.3 or 0.3.4 client support to 8.40 instead of 8.41&8.42?
 
For guys who have still this problem.
Open your condition.cpp and replace this whole function bool Condition::updateCondition(const Condition* addCondition) with this :

Code:
bool Condition::updateCondition(const Condition* addCondition)
{
	if(conditionType != addCondition->getType()){
		return false;
	}

	if(getTicks() == -1 && addCondition->getTicks() > 0){
		return false;
	}

	if(addCondition->getTicks() > 0 && getEndTime() > (OTSYS_TIME() + addCondition->getTicks())){
		return false;
	}

	return true;
}
 
Last edited:
Back
Top