Kalhspera 8a i8ela na sas rwtisw kati... exw dei to guide tou ExTrEmEDwarf ta ekana ola ok sxedon (exw mia aporia alla thn exw kanei post idi makari na me help kapios..) loipon px pernw enan code... auton edw -> http://www.maxcheaters.com/forum/index.php?topic=47248.0 paw ekei pou leei sto /java/net/sf/l2j/gameserver/model/olympiad/Olympiad.java (mesa sto eclipse) alla emena dn einai akrivos etc einai ligo diaforetiko epeidh exw epilogue nomizw.. (einai etc.. /java/com.l2jserver.gameserver.model.olympiad/olympiad.java) to anoigw mou dixnei ta codes auta
Arxizei etc...
/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @author godson
*/
package com.l2jserver.gameserver.model.olympiad;
import gnu.trove.TIntIntHashMap;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Calendar;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.ScheduledFuture;
import java.util.logging.Level;
import java.util.logging.LogRecord;
import java.util.logging.Logger;
import com.l2jserver.Config;
import com.l2jserver.L2DatabaseFactory;
import com.l2jserver.gameserver.Announcements;
import com.l2jserver.gameserver.ThreadPoolManager;
import com.l2jserver.gameserver.instancemanager.ZoneManager;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.entity.Hero;
import com.l2jserver.gameserver.model.entity.TvTEvent;
import com.l2jserver.gameserver.network.SystemMessageId;
import com.l2jserver.gameserver.network.serverpackets.ExOlympiadMatchEnd;
import com.l2jserver.gameserver.network.serverpackets.ExOlympiadUserInfo;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
import com.l2jserver.gameserver.templates.StatsSet;
import com.l2jserver.util.L2FastList;
import javolution.util.FastMap;
public class Olympiad
{
protected static final Logger _log = Logger.getLogger(Olympiad.class.getName());
protected static final Logger _logResults = Logger.getLogger("olympiad");
private static Map<Integer, StatsSet> _nobles;
protected static L2FastList<StatsSet> _heroesToBe;
private static L2FastList<L2PcInstance> _nonClassBasedRegisters;
private static Map<Integer, L2FastList<L2PcInstance>> _classBasedRegisters;
private static TIntIntHashMap _noblesRank;
kai teleiwnei etc...
String[] commands = command.split(" ");
int id = Integer.parseInt(commands[1]);
int arena = getSpectatorArena(player);
if (arena >= 0)
{
Olympiad.removeSpectator(arena, player);
player.sendPacket(new ExOlympiadMatchEnd());
}
else
return;
Olympiad.addSpectator(id, player, false);
handleSpectatorEnter(id, player);
}
@SuppressWarnings("synthetic-access")
private static class SingletonHolder
{
protected static final Olympiad _instance = new Olympiad();
}
}
ola ok mexri edw pistevw... twra omws den 3erw pou 8a valw auto to code pou dinei...
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
A√imas†i©™
Kalhspera 8a i8ela na sas rwtisw kati... exw dei to guide tou ExTrEmEDwarf ta ekana ola ok sxedon (exw mia aporia alla thn exw kanei post idi makari na me help kapios..) loipon px pernw enan code... auton edw -> http://www.maxcheaters.com/forum/index.php?topic=47248.0 paw ekei pou leei sto /java/net/sf/l2j/gameserver/model/olympiad/Olympiad.java (mesa sto eclipse) alla emena dn einai akrivos etc einai ligo diaforetiko epeidh exw epilogue nomizw.. (einai etc.. /java/com.l2jserver.gameserver.model.olympiad/olympiad.java) to anoigw mou dixnei ta codes auta
Arxizei etc...
kai teleiwnei etc...
ola ok mexri edw pistevw... twra omws den 3erw pou 8a valw auto to code pou dinei...
auto...
an mporei kapoios na me help ...
PS: Exw kai teamviewer (pio eukolo :P)
3 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.