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

[PHP] Modern AAC character_view injection death - Paying $5 USD

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,764
Solutions
1
Reaction score
227
Location
Chile, Santiago
Hi dude, the idea is to make a little change, to show all people who killed a player and saying who where the fraggers.

Example:
Died at Level 148 by a warlock, Lord Zarpao, Mac Nabbs, Americanino and Yepi, also assisted by Kito, Myself, Geronimo, Pedro, Dracula and a giant spider.

Quite simple...

PM me with the PHP and paypal email address to pay you.
 
Is there even a way to determine who assisted and who did more damage, because I don't think it's stored?
 
It depends on how much you set on assistedCountKill on config.lua, if you put it = 4, then there will be 5 fraggers and then 5 final_hit = 1.
 
No, only the player who did the last hit has final_hit=1
Code:
		query << "INSERT INTO `killers` (`death_id`, `final_hit`, `unjustified`"
#ifdef __WAR_SYSTEM__
			<< ", `war`"
#endif
			<< ") VALUES (" << deathId << ", " << [B][COLOR="red"]it->isLast()[/COLOR][/B] << ", " << it->isUnjustified();
Code:
		void setLast() {last = true;}
		bool isLast() const {return last;}
Code:
		if(it == [B]deathList.[COLOR="red"]begin[/COLOR]()[/B])
			it->[COLOR="red"]setLast[/COLOR]();
deathAssistCount only affects maximum number of killers, and what is assistedCountKill?
 
Back
Top