kalispera paidia tha ithela tin voitheia sas sto na valw tin kainourgia armor sto client...Loipon exw kanei ola ta pragmata apo pleuras server..perasa ta statistika perasa tin sql ola komple...erxomai sto simeio p prepei na tin valw sto client,pws tha ginei auto...to arxeio p katevasa exei sto client System k systextures....to systextures exei mesa kapoia arxeia utx alla me akyra onomata...px den leei FElf.utx leei FantasyEpicArmor8 alla mesa se auto to utx exei arxeia apo FElf....entometaksi mesa sto FElf tous client auta ta arxeia yparxoun idi ti kanw se auti tin periptwsh....?1on auto k 2on to armorgrp.dat k to itemname-e.dat t client otan ta anoigw gia na valw auta p m dinei i kainourgia armor einai anw katw den mporw na katalavw tpt,den einai kinezika apla einai skorpia apo dw k apo kei xwris kapoia sygkekrimeni seira....Ligo help opoios mporei ....Eyxaristw ek'ton proterwn! :)
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
Immortal Dev. TM
kalispera paidia tha ithela tin voitheia sas sto na valw tin kainourgia armor sto client...Loipon exw kanei ola ta pragmata apo pleuras server..perasa ta statistika perasa tin sql ola komple...erxomai sto simeio p prepei na tin valw sto client,pws tha ginei auto...to arxeio p katevasa exei sto client System k systextures....to systextures exei mesa kapoia arxeia utx alla me akyra onomata...px den leei FElf.utx leei FantasyEpicArmor8 alla mesa se auto to utx exei arxeia apo FElf....entometaksi mesa sto FElf tous client auta ta arxeia yparxoun idi ti kanw se auti tin periptwsh....?1on auto k 2on to armorgrp.dat k to itemname-e.dat t client otan ta anoigw gia na valw auta p m dinei i kainourgia armor einai anw katw den mporw na katalavw tpt,den einai kinezika apla einai skorpia apo dw k apo kei xwris kapoia sygkekrimeni seira....Ligo help opoios mporei ....Eyxaristw ek'ton proterwn! :)
5 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.