Lineage 2 Tower Forum

Full Version: L2Tower for Infinite Odyssey update on April, 22th
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(05-18-2015 15:58 PM)user1488 Wrote: [ -> ]GET BACK NAMES OF TOON ON WINDOW!

+1
(05-17-2015 01:51 AM)Syloth Wrote: [ -> ]
    LUA Programming
function round(val, decimal)
 if (decimal) then
	return math.floor( (val * 10^decimal) + 0.5) / (10^decimal)
 else
 return math.floor(val)
 end;
end;
 
function truncar(num)
numredond = round(num,0);
numbajored = numredond - 1;
if (numredond > num) then
 return numbajored;
 else
 return numredond;
 end;
end;
 
function OnLTick()
	MyTarget = GetTarget()
	if MyTarget ~= nil and MyTarget:IsValid() and not MyTarget:IsAlikeDeath() and not MyTarget:IsMe() then
	SetLineageWindowText("[" .. GetMe():GetLevel() .. "]" .. GetMe():GetName() .. " - " .. truncar(GetMe():GetHpPercent()) .. "% Hp T: " .. MyTarget:GetName() .. " Hp [" .. MyTarget:GetHp() .. "/" .. MyTarget:GetMaxHp() .. "] (" .. MyTarget:GetHpPercent() ..")" )
	else
	SetLineageWindowText("[" .. GetMe():GetLevel() .. "]" .. GetMe():GetName() .. " - " .. truncar(GetMe():GetHpPercent()) .. "% Hp");
	end
end
 
function OnLogout()
 SetLineageWindowText("-=[Lineage II]=- Infinite Odyssey");
end;



Use this to change Name Window when u logout.
(05-18-2015 17:22 PM)cuongbeo88 Wrote: [ -> ]
(05-17-2015 01:51 AM)Syloth Wrote: [ -> ]
    LUA Programming
function round(val, decimal)
 if (decimal) then
	return math.floor( (val * 10^decimal) + 0.5) / (10^decimal)
 else
 return math.floor(val)
 end;
end;
 
function truncar(num)
numredond = round(num,0);
numbajored = numredond - 1;
if (numredond > num) then
 return numbajored;
 else
 return numredond;
 end;
end;
 
function OnLTick()
	MyTarget = GetTarget()
	if MyTarget ~= nil and MyTarget:IsValid() and not MyTarget:IsAlikeDeath() and not MyTarget:IsMe() then
	SetLineageWindowText("[" .. GetMe():GetLevel() .. "]" .. GetMe():GetName() .. " - " .. truncar(GetMe():GetHpPercent()) .. "% Hp T: " .. MyTarget:GetName() .. " Hp [" .. MyTarget:GetHp() .. "/" .. MyTarget:GetMaxHp() .. "] (" .. MyTarget:GetHpPercent() ..")" )
	else
	SetLineageWindowText("[" .. GetMe():GetLevel() .. "]" .. GetMe():GetName() .. " - " .. truncar(GetMe():GetHpPercent()) .. "% Hp");
	end
end
 
function OnLogout()
 SetLineageWindowText("-=[Lineage II]=- Infinite Odyssey");
end;



Use this to change Name Window when u logout.

how ????? TY
Create a file name L2title.lua with l2towerscript o notepad, and put on plugin folder.
i use youre Update idee and now tower dont work at all.. thanks for help..
If some1 know what we do just write it..
Sad Sad
(05-19-2015 18:52 PM)ninal2 Wrote: [ -> ]i use youre Update idee and now tower dont work at all.. thanks for help..
If some1 know what we do just write it..
Sad Sad

dont cry buy plugin/script and premium license. i bot sience tower beta up and no problems, yes sometimes crash but its beta version so sh1t heapening unfortunatly. I started bot 1 week ago and no problems tower working very ok and on this way i whant to say thx to tower team again.
(05-19-2015 18:52 PM)ninal2 Wrote: [ -> ]i use youre Update idee and now tower dont work at all.. thanks for help..
If some1 know what we do just write it..
Sad Sad

that dont work because
    LUA Programming
SetLineageWindowText()

is for premium
Yea.. Really? nice.. i dont have money dudes like you..
no money no honey ee?
thanks a lot....
if you don't work you'll never get money ( one of the work will be to make 1bil adena legit sell it buy premium for 1 year, yeah i know it's verry hard but you allways have many other options to make money and stop qq)
hi all, i was testing beta version and as i see its 3hrs again, i was wondering if this can changed, cause not all ppl can buy premium due to many reasons.

At least L2Tower must be 6 or 8 hrs. for those ppl who dont have 50-90 chars farming 24/7 and just wanna get some exp/sp while studying or working.

Pls L2Tower Developers consider about this petition.
Reference URL's