Lineage 2 Tower Forum

Full Version: damage counter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello

some one have damage counter plugin for free
not with money plz

ty
i need to damage counter plx

ty
pvpsuite has shared once a plugin like that, and its free try to search through his posts
(09-01-2014 17:36 PM)eustach3 Wrote: [ -> ]pvpsuite has shared once a plugin like that, and its free try to search through his posts

His plugin is in OUTDATED status... Is it still working with Ertheia update?

I downloaded it, will test next time i reboot !
damage counter from pvp suite show me only damage give by myself not damage take from enemy

some help ??
ok, i tried it this morning and as soon as i log in, i get an error so the plugin aint working for me.
what about make yourself? .-.
(09-02-2014 23:09 PM)ExoDo Wrote: [ -> ]what about make yourself? .-.

becouse i dont know how to do

and ty for help

make y if y know how to do
search in PVPSuite:
    LUA Programming
function OnChatSystemMessage(id, msg)
	if (id == 2261) then
		local dmsg = msg;
		dmsg = dmsg:match(" %d+ ");
		if (dmsg ~= nil) then
			dmsg = dmsg:gsub(" ","");
		end;
		if (tonumber(dmsg) ~= nil) then
			damageDone = damageDone + dmsg;
			if (ShowOnEachDoneHit) then
				DoDialog("Damage Counter");
			end;
		end;
	elseif (id == 2262) then
			local dmsg = msg;
			dmsg = dmsg:match(" %d+ ");
			if (dmsg ~= nil) then
				dmsg = dmsg:gsub(" ","");
			end;
			if (tonumber(dmsg) ~= nil) then
				damageReceived = damageReceived + dmsg;
				if (ShowOnEachReceivedHit) then
					DoDialog("Damage Counter");
				end;
			end;


and replace for:

    LUA Programming
function OnChatSystemMessage(id, msg)
	if (id == 2261) then
		local dmsg = msg;
		dmsg = string.gsub(dmsg, ",", "");
		if (dmsg ~= nil) then
			dmsg = string.match(dmsg, "%d+");
		end;
		if (tonumber(dmsg) ~= nil) then
			damageDone = damageDone + dmsg;
			if (ShowOnEachDoneHit) then
				DoDialog("Damage Counter");
			end;
		end;
	elseif (id == 2262) then
			local dmsg = msg;
			dmsg = string.gsub(dmsg, ",", "");
			if (dmsg ~= nil) then
				dmsg = string.match(dmsg, "%d+");
			end;
			if (tonumber(dmsg) ~= nil) then
				damageReceived = damageReceived + dmsg;
				if (ShowOnEachReceivedHit) then
					DoDialog("Damage Counter");
				end;
			end;

Reference URL's