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
EvadeTube
Ok Paidia Meta Apo to English Ir8a edo opos ziti8ike tespa
Ekana oti katalaba kai m ebgale afto to error tora
[javac] Compiling 1463 source files to C:\Users\elias\workspace\L2_GameServer 2.4\build\classes
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:89: cannot find symbol
[javac] symbol : method getCanLearn(com.l2jserver.gameserver.model.base.ClassId)
[javac] location: class com.l2jserver.gameserver.model.L2Skill
[javac] if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:89: cannot find symbol
[javac] symbol : method canTeachBy(int)
[javac] location: class com.l2jserver.gameserver.model.L2Skill
[javac] if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestJoinParty.java:111: cannot find symbol
[javac] symbol : variable player
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestJoinParty
[javac] if (((p2.isTeam1Member() && player.isTeam2Member()) || (p2.isTeam2Member() && player.isTeam1Member())) && Config.ENABLE_FACTION_ENGINE)
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestJoinParty.java:111: cannot find symbol
[javac] symbol : variable player
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestJoinParty
[javac] if (((p2.isTeam1Member() && player.isTeam2Member()) || (p2.isTeam2Member() && player.isTeam1Member())) && Config.ENABLE_FACTION_ENGINE)
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestJoinParty.java:113: cannot find symbol
[javac] symbol : variable player
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestJoinParty
[javac] player.sendMessage("You Cant Trade with the Different Faction");
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:183: cannot find symbol
[javac] symbol : variable Config
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask
[javac] loc = new Location(Config.FACTION_TEAM1_BASE_X, Config.FACTION_TEAM1_BASE_Y, Config.FACTION_TEAM1_BASE_Z);
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:183: cannot find symbol
[javac] symbol : variable Config
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask
[javac] loc = new Location(Config.FACTION_TEAM1_BASE_X, Config.FACTION_TEAM1_BASE_Y, Config.FACTION_TEAM1_BASE_Z);
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:183: cannot find symbol
[javac] symbol : variable Config
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask
[javac] loc = new Location(Config.FACTION_TEAM1_BASE_X, Config.FACTION_TEAM1_BASE_Y, Config.FACTION_TEAM1_BASE_Z);
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:187: cannot find symbol
[javac] symbol : variable Config
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask
[javac] loc = new Location(Config.FACTION_TEAM2_BASE_X, Config.FACTION_TEAM2_BASE_Y, Config.FACTION_TEAM2_BASE_Z);
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:187: cannot find symbol
[javac] symbol : variable Config
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask
[javac] loc = new Location(Config.FACTION_TEAM2_BASE_X, Config.FACTION_TEAM2_BASE_Y, Config.FACTION_TEAM2_BASE_Z);
[javac] ^
[javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:187: cannot find symbol
[javac] symbol : variable Config
[javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask
[javac] loc = new Location(Config.FACTION_TEAM2_BASE_X, Config.FACTION_TEAM2_BASE_Y, Config.FACTION_TEAM2_BASE_Z);
[javac] ^
[javac] Note: C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\L2World.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 11 errors
BUILD FAILED
C:\Users\elias\workspace\L2_GameServer 2.4\build.xml:62: Compile failed; see the compiler error output for details.
Total time: 14 seconds
20 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.