• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Would this cause any errors?

Extrodus

|| Blazera.net ||
Joined
Dec 22, 2008
Messages
2,691
Solutions
7
Reaction score
549
Location
Canada
So I am basically trying to get this 6 hour frag timer working. I figured I should at least check and see what you guys think about it to see if there is a better way to go about this.

Code:
Code:
-- Unjustified kills
	-- NOTE: *Banishment and *BlackSkull variables are >summed up<
	-- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
	-- *RedSkull equivalents.
	-- Auto banishing works only if useBlackSkull set to negative.
	-- advancedFragList is not advised if you use huge frags
	-- requirements.
	useFragHandler = true
	redSkullLength = 2 * 24 * 60 * 60
	blackSkullLength = 4 * 24 * 60 * 60
	fragsLimit = 6 * 60 * 60
	fragsSecondLimit = 0
	fragsThirdLimit = 0
	fragsToRedSkull = 3
	fragsSecondToRedSkull = 5
	fragsThirdToRedSkull = 10
	fragsToBlackSkull = fragsToRedSkull
	fragsSecondToBlackSkull = fragsSecondToRedSkull
	fragsThirdToBlackSkull = fragsThirdToRedSkull
	fragsToBanishment = fragsToRedSkull
	fragsSecondToBanishment = fragsSecondToRedSkull
	fragsThirdToBanishment = fragsThirdToRedSkull
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = true
	advancedFragList = false

Do you guys think this could cause problems with the frag system, or should it work out fine.
 
Last edited:
Sometimes ago I created this system for someone from this board. You have to add 3 variables to config and next edit function Player::addUnjustifiedDead in player.cpp.
 
Back
Top