Kalispera paides!!!Edw kai kati meres prwspa8w mesw t navicat na perasw kapia SQL Arxeia.....Gia tn aribeia 8elw na perasw mia buffer stn server m...Otan paw na perasw to arxeio apo to navicat m bgazei to e3eis problima....
[Err] 1054 - Unknown column 'faction_id' in 'field list'
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
kakarotokarotos
Kalispera paides!!!Edw kai kati meres prwspa8w mesw t navicat na perasw kapia SQL Arxeia.....Gia tn aribeia 8elw na perasw mia buffer stn server m...Otan paw na perasw to arxeio apo to navicat m bgazei to e3eis problima....
[Err] 1054 - Unknown column 'faction_id' in 'field list'
[Err] INSERT INTO npc
(`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `armor`, `walkspd`, `runspd`, `faction_id`, `faction_range`, `isUndead`, `absorb_level`, `absorb_type`, `ss`, `bss`, `ss_rate`, `AI`, `drop_herbs`)
VALUES
(212121, 20821, 'Buffer', 1, 'Maniac Moderator', 1, 'NPC.a_casino_FDarkElf', 8.00, 20.00, 70, 'female', 'L2Npc', 40, 3862, 1493, 11.85, 2.78, 40, 43, 30, 21, 20, 10, 0, 0, 1314, 470, 780, 382, 278, 0, 333, 0, 0, 0, 50, 120, 'NULL', 0, 1, 0, 'LAST_HIT', 0, 0, 0, 'fighter', 'false');
[Msg] Finished - Unsuccessfully
8a ektimousa pragmatika polu an 8a mporousate na me help.....exw kanei 1000ades search alla dn exw brei tpt!!Thnx!! :)
9 answers to this question
Recommended Posts