• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

CreatureEvent Kill/Death Tracker

Some push for the sources I've made for a friend. Just edit it to fit your needs. Thanks to kiper also!

Player.cpp
under
Code:
std::string Player::getDescription(int32_t lookDistance) const
{
	std::stringstream s;
	std::string str;
put:
Code:
int32_t rank = 0;
getStorageValue(1337, rank);

then look for this:
Code:
	else
			s << " You have no vocation.";
add this under it:
Code:
if(rank > 0)            
        	    s << "(Rank: " << rank << ").";

then in ur lua onkill script let the storagevalue being added.
 
he doesnt want a push aparently. He wants it fed to him o.o

Aff. Shit, I did get a working script with that attitude :(


HINT: Finish your goddamn scripts now, before making anymore scripts with your "service".
 
Back
Top