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

Buying help in c++

xLosT

Member
Joined
Jan 11, 2010
Messages
1,021
Reaction score
13
Location
Brasil, Rio Grande do Sul
I want the frag count even if the player is with a skull, eg if the players are pk and you kill him you will get one frag

pay for paypal.
send offers
 
It has to be super easy.

I guess you just remove one part in the if-statement check under addUnjustifiedSkull in player.cpp.
Code:
 || hasCustomFlag(
		PlayerCustomFlag_NotGainSkull)

So..

Code:
if(!g_config.getBool(ConfigManager::USE_FRAG_HANDLER) || hasFlag(
		PlayerFlag_NotGainInFight) || g_game.getWorldType() != WORLDTYPE_OPEN
		|| hasCustomFlag(PlayerCustomFlag_NotGainUnjustified) || hasCustomFlag(
		PlayerCustomFlag_NotGainSkull))
		return false;

to

Code:
if(!g_config.getBool(ConfigManager::USE_FRAG_HANDLER) || hasFlag(
		PlayerFlag_NotGainInFight) || g_game.getWorldType() != WORLDTYPE_OPEN
		|| hasCustomFlag(PlayerCustomFlag_NotGainUnjustified))
		return false;


NOTE: This is just a guess, I am not responsible for any additional damages.
 
I think you do not understand me
my server is hardcore

normal is
pk, red or black kill no skull
gain frags, Injustice

I want to happen the following
PK, RED OR BLACK kill PK, RED OR BLACK
gain frags, Injustice
 
Back
Top