You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
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
UnholyPow3R
wpos eipa sto kato topic.
exo to pack tou l2anime
kai m vgazei afto ..
L2World: Setting up World Regions
L2World: (87 by 128) World Region Grid set up.
Initializing Script Engine Manager
Script Engine: java 1.6 - Language: java - Language Version: 1.6
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\bsf.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\bsh-engine.jar
'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\bsh-2.0b5.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\mmocore.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\javolution.jar
'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\c3p0-0.9.1.2.j
ar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\mysql-connecto
r-java-5.1.6-bin.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\l2jteon.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\jython-engine.
jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\commons-loggin
g-1.1.jar'
*sys-package-mgr*: processing new jar, 'C:\server\Pack\gameserver\java-engine.ja
r'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\resources
.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\rt.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\jsse.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\jce.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\charsets.
jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\ext\dnsns
.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\ext\local
edata.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\ext\sunjc
e_provider.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\ext\sunms
capi.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib\ext\sunpk
eno ta arxeia eine kanonika mesa
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.