Hello.
This code works well. It removes buff with double click, but If you preffer remove buff with ALT + mouse click, place this code in AbnormalStatusWnd.uc
function OnLButtonDown(WindowHandle a_WindowHandle, int X, int Y)
{
local Rect windowBounds;
local int targetRow;
local int targetCol;
local StatusIconInfo info;
local SkillInfo skillInfo;
if (IsKeyDown(IK_alt) == false)
return;
// Find window position
windowBounds = Me.GetRect();
// Process clicks outside of window frame only
if (X > (windowBounds.nX + NSTATUSICON_FRAMESIZE))
{
// Calc row and col of targeted icon
targetRow = (Y - windowBounds.nY) / NSTATUSICON_SIZE;
targetCol = (X - windowBounds.nX - NSTATUSICON_FRAMESIZE) / NSTATUSICON_SIZE;
// Store status info of targeted icon
StatusIcon.GetItem(targetRow, targetCol, info);
// Store actual skill info and make sure it is exists
if (GetSkillInfo(info.ClassID, info.Level, skillInfo))
{
// Request server to stop skill effect
// Usage: _dispel:<int:skill_id>,<int :skill_level>
// Example: _dispel:313,8
RequestBypassToServer ( "_dispel:" $ string ( skillInfo. SkillID ) $ "," $ string ( skillInfo. SkillLevel ) ) ) ;
}
}
}
Question
DiogenisPro
Gia se oluoa MxC.
As arxisoume .. exo server kai doulebe ola kanonika! ola telia Login,Game server, ola telia.
Mia mera mou stelni to no-ip auti ti proidopiisi.
[tt]Your free host l2darkreward.no-ip.info, will expire
in 14 days due to account inactivity.
l2darkreward.no-ip.info was last updated on 2010-10-08 10:59:10. Free Dynamic DNS
hosts must be updated via our website or dynamic update client every 60 days
to prevent them from being removed from our system.
If you are still actively using l2darkreward.no-ip.info and do not wish to have
your free host removed from our DNS servers and database please click the link
below :
https://www.no-ip.com/hostactive.php?host=l2darkreward&domain=no-ip.info
If you are no longer using this host, simply ignore this message and your host
will be removed automatically. Optionally you can login to your account and
delete the host to prevent further expiration notice emails.
This message only goes out to users of the No-IP Free services. If you would
like to have a non-expiring account upgrade to No-IP Enhanced
(https://www.no-ip.com/members/dns/enhanced.php ) or No-IP Plus
(https://www.no-ip.com/members/account/domain.php?type=plus).
Replies to this email will not be answered. If you have questions or comments
please direct them to our support ticket system at
http://www.no-ip.com/members/ticket/
Thank you,
No-IP.com[/tt]
Kai apo tote meta apo 1 mera o server den anige kai piga Cmd,Ipconfig kai ida oti to ip ixe alaski kai o srv den doulebe..
(Ego mporousa na bo ala i ali oxi..
Plz kapios help
2 answers to this question
Recommended Posts