-
Posts
433 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Elphiss™
-
Ποιος είναι ο καλύτερος παίχτης σε Interlude.
Elphiss™ replied to xNigga's topic in General Discussion [Greek]
daggeras.. piani poli lethal apoti exw proseksi.. -
[Share]Milenium Jewels Yugioh [Ct2.3]
Elphiss™ replied to Devangell™'s topic in Client Development Discussion
could u pls make this and for interlude too? it will be great! thx! -
pes... mine best is 2010! better graphics than fifa..
-
poios itan i einai o agapimenos sas server??
Elphiss™ replied to RefusedMemoriez's topic in General Discussion [Greek]
simfwnw.. l2 pride c6 da best il server.. tora p egine gracia.. efigan players.. -
sorry an ime se wrong section.. if im somebody move it. kseri kanis kana bug gia na mazebw votes sto topzone? ty
-
ok thx to problima lithike. locked.
-
ti pataw edw?
-
k gia tin tvt.. bori kapios na m dosi to link tou guide to zero gia na prosthetoume stats? px atkspeed kai etc? gt dn to briskw
-
dont spam. anyway to problima lithike locked.
-
pedia epsaksa alla dn to brika..bori kapios na m dosi to link tou zerO p dini odigies pos na prosthetis atkspeed,matk kai ta lipa ? kai kati allo exw l2jarchid pack compiled.. prin stamatisi..kai pataw //tvt kai ta rithmizw k.. molis bgeni to tvt kai pane na kanoune partipicasse pos to lene tous bgazi oti dn iparxi to arxio sta html/kai ta lipa. alla benoun..molis benoune ine oi ble kai oi kokini.. kai dixni sto tittle Kills:.. alla otanbgenoun to tittle meni idio kai to xroma tou name dn allazi mono an kanis rr.. bori kapios na me help? ty
-
pedia.. m ixe klidosi h mana m ton ipologisti.. kai egw bika me administrator kai ton katargisa..alla apo tote px otan pataw ctrl+alt+del dn m lei to username p exw bali..(to exw kani metanomasia)kai px otan ime l2 ine kati allo kai to pataw dn iparxoune gia na ta kanw termatismo.. mono to username Nikolas iparxi..kai ta ixia.. dn douleuoun... anabi to fotaki sta ixia.. ola ine full alla tpt... an borouse kapios na help 8a ton euxaristousa ty.
-
proton.. to rapid shop ginete mono otan foras bow.. esu pos to ekanes me dagger? wtf!! kai deuteron auto dn m exi tixi pote.. h to ekanes gia na spamaris/mazepsis post/adena h s exi piasi se 1 nooboserver p o developer ine telios ''akuros''.
-
TheEnd... Very nice exploit! thx a lot! i will test it! PS-Hide it for 1300 posts.. its very pro exploit..this is my opinion!
-
k filos thx ipoxreos. Locked.
-
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
k.. elpizw na min exw problems.. 8a to kitaksw.. kai an exw problems 8a to postarw edw. Mexri Tote. Locked. -
hi guys 8a ithela na sas rotisw an ine h L2JOff-IL ena kalo project.. se sxesi me buggs,protections kai problems.ty
-
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
to video dixni pos bazis protections kai etc? -
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
px pare auto ine to PcStat. gia auto edw.http://www.maxcheaters.com/forum/index.php?topic=70691.0 Oriste. /* * 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/>. */ package net.sf.l2j.gameserver.model.actor.stat; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Logger; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.actor.instance.L2ClassMasterInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PetInstance; import net.sf.l2j.gameserver.model.base.ClassLevel; import net.sf.l2j.gameserver.model.base.Experience; import net.sf.l2j.gameserver.model.base.PlayerClass; import net.sf.l2j.gameserver.model.quest.QuestState; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.PledgeShowMemberListUpdate; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.sf.l2j.gameserver.network.serverpackets.StatusUpdate; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; import net.sf.l2j.gameserver.network.serverpackets.UserInfo; public class PcStat extends PlayableStat { private static Logger _log = Logger.getLogger(L2PcInstance.class.getName()); // ========================================================= // Data Field private int _oldMaxHp; // stats watch private int _oldMaxMp; // stats watch private int _oldMaxCp; // stats watch // ========================================================= // Constructor public PcStat(L2PcInstance activeChar) { super(activeChar); } // ========================================================= // Method - Public @Override public boolean addExp(long value) { L2PcInstance activeChar = getActiveChar(); // Set new karma if (!activeChar.isCursedWeaponEquiped() && (activeChar.getKarma() > 0) && (activeChar.isGM() || !activeChar.isInsideZone(L2Character.ZONE_PVP))) { int karmaLost = activeChar.calculateKarmaLost(value); if (karmaLost > 0) { activeChar.setKarma(activeChar.getKarma() - karmaLost); } } // Player is Gm and acces level is below or equal to GM_DONT_TAKE_EXPSP and is in party, don't give Xp if (getActiveChar().isGM() && (getActiveChar().getAccessLevel() <= Config.GM_DONT_TAKE_EXPSP) && getActiveChar().isInParty()) return false; if (!super.addExp(value)) return false; activeChar.sendPacket(new UserInfo(activeChar)); return true; } /** * Add Experience and SP rewards to the L2PcInstance, remove its Karma (if necessary) and Launch increase level task.<BR> * <BR> * <B><U> Actions </U> :</B><BR> * <BR> * <li>Remove Karma when the player kills L2MonsterInstance</li> <li>Send a Server->Client packet StatusUpdate to the L2PcInstance</li> <li>Send a Server->Client System Message to the L2PcInstance</li> <li>If the L2PcInstance increases it's level, send a Server->Client packet SocialAction (broadcast)</li> <li>If the L2PcInstance increases it's level, manage the increase level task (Max MP, Max * MP, Recommandation, Expertise and beginner skills...)</li> <li>If the L2PcInstance increases it's level, send a Server->Client packet UserInfo to the L2PcInstance</li> <BR> * <BR> * * @param addToExp * The Experience value to add * @param addToSp * The SP value to add */ @Override public boolean addExpAndSp(long addToExp, int addToSp) { float ratioTakenByPet = 0; // Player is Gm and acces level is below or equal to GM_DONT_TAKE_EXPSP and is in party, don't give Xp/Sp L2PcInstance activeChar = getActiveChar(); if (activeChar.isGM() && (activeChar.getAccessLevel() <= Config.GM_DONT_TAKE_EXPSP) && activeChar.isInParty()) return false; // if this player has a pet that takes from the owner's Exp, give the pet Exp now if (activeChar.getPet() instanceof L2PetInstance) { L2PetInstance pet = (L2PetInstance) activeChar.getPet(); ratioTakenByPet = pet.getPetData().getOwnerExpTaken(); // only give exp/sp to the pet by taking from the owner if the pet has a non-zero, positive ratio // allow possible customizations that would have the pet earning more than 100% of the owner's exp/sp if ((ratioTakenByPet > 0) && !pet.isDead()) pet.addExpAndSp((long) (addToExp * ratioTakenByPet), (int) (addToSp * ratioTakenByPet)); // now adjust the max ratio to avoid the owner earning negative exp/sp if (ratioTakenByPet > 1) ratioTakenByPet = 1; addToExp = (long) (addToExp * (1 - ratioTakenByPet)); addToSp = (int) (addToSp * (1 - ratioTakenByPet)); } if (!super.addExpAndSp(addToExp, addToSp)) return false; // Send a Server->Client System Message to the L2PcInstance SystemMessage sm = new SystemMessage(SystemMessageId.YOU_EARNED_S1_EXP_AND_S2_SP); sm.addNumber((int) addToExp); sm.addNumber(addToSp); getActiveChar().sendPacket(sm); return true; } @Override public boolean removeExpAndSp(long addToExp, int addToSp) { if (!super.removeExpAndSp(addToExp, addToSp)) return false; // Send a Server->Client System Message to the L2PcInstance SystemMessage sm = new SystemMessage(SystemMessageId.EXP_DECREASED_BY_S1); sm.addNumber((int) addToExp); getActiveChar().sendPacket(sm); sm = new SystemMessage(SystemMessageId.SP_DECREASED_S1); sm.addNumber(addToSp); getActiveChar().sendPacket(sm); return true; } @Override public final boolean addLevel(byte value) { if (getLevel() + value > Experience.MAX_LEVEL - 1) return false; boolean levelIncreased = super.addLevel(value); /** Remote Class By Daniemwx **/ if (Config.ALLOW_REMOTE_CLASS_MASTERS) { ClassLevel lvlnow = PlayerClass.values()[getActiveChar().getClassId().getId()].getLevel(); if (getLevel() >= 20 && lvlnow == ClassLevel.First) L2ClassMasterInstance.ClassMaster.onAction(getActiveChar()); else if (getLevel() >= 40 && lvlnow == ClassLevel.Second) L2ClassMasterInstance.ClassMaster.onAction(getActiveChar()); else if (getLevel() >= 76 && lvlnow == ClassLevel.Third) L2ClassMasterInstance.ClassMaster.onAction(getActiveChar()); } if (levelIncreased) { QuestState qs = getActiveChar().getQuestState("255_Tutorial"); if (qs != null) qs.getQuest().notifyEvent("CE40", null, getActiveChar()); /** * If there are no characters on the server, the bonuses will be applied to the first character that becomes level 6 and end if this character reaches level 25 or above. If the first character that becomes level 6 is deleted, the rest of the characters may not receive the new character bonus If the first character to become level 6 loses a level, and the player makes another character * level 6, the bonus will be applied to only the first character to achieve level 6. If the character loses a level after reaching level 25, the character may not receive the bonus. */ if (!Config.ALT_GAME_NEW_CHAR_ALWAYS_IS_NEWBIE) { if ((getActiveChar().getLevel() >= Experience.MIN_NEWBIE_LEVEL) && (getActiveChar().getLevel() < Experience.MAX_NEWBIE_LEVEL) && !getActiveChar().isNewbie()) { java.sql.Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT value FROM account_data WHERE (account_name=?) AND (var='newbie_char')"); statement.setString(1, getActiveChar().getAccountName()); ResultSet rset = statement.executeQuery(); if (!rset.next()) { PreparedStatement statement1; statement1 = con.prepareStatement("INSERT INTO account_data (account_name, var, value) VALUES (?, 'newbie_char', ?)"); statement1.setString(1, getActiveChar().getAccountName()); statement1.setInt(2, getActiveChar().getObjectId()); statement1.executeUpdate(); statement1.close(); getActiveChar().setNewbie(true); if (Config.DEBUG) _log.info("New newbie character: " + getActiveChar().getCharId()); } ; rset.close(); statement.close(); } catch (SQLException e) { _log.warning("Could not check character for newbie: " + e); } finally { try { con.close(); } catch (Exception e) { } } } ; if ((getActiveChar().getLevel() >= 25) && getActiveChar().isNewbie()) { getActiveChar().setNewbie(false); if (Config.DEBUG) _log.info("Newbie character ended: " + getActiveChar().getCharId()); } ; } ; getActiveChar().setCurrentCp(getMaxCp()); getActiveChar().broadcastPacket(new SocialAction(getActiveChar().getObjectId(), 15)); getActiveChar().sendPacket(new SystemMessage(SystemMessageId.YOU_INCREASED_YOUR_LEVEL)); } getActiveChar().rewardSkills(); // Give Expertise skill of this level if (getActiveChar().getClan() != null) { getActiveChar().getClan().updateClanMember(getActiveChar()); getActiveChar().getClan().broadcastToOnlineMembers(new PledgeShowMemberListUpdate(getActiveChar())); } // Recalculate the party level if (getActiveChar().isInParty()) getActiveChar().getParty().recalculatePartyLevel(); StatusUpdate su = new StatusUpdate(getActiveChar().getObjectId()); su.addAttribute(StatusUpdate.LEVEL, getLevel()); su.addAttribute(StatusUpdate.MAX_CP, getMaxCp()); su.addAttribute(StatusUpdate.MAX_HP, getMaxHp()); su.addAttribute(StatusUpdate.MAX_MP, getMaxMp()); getActiveChar().sendPacket(su); getActiveChar().refreshOverloaded(); // Update the overloaded status of the L2PcInstance getActiveChar().refreshExpertisePenalty(); // Update the expertise status of the L2PcInstance getActiveChar().sendPacket(new UserInfo(getActiveChar())); // Send a Server->Client packet UserInfo to the L2PcInstance return levelIncreased; } /** Return the Attack Evasion rate (base+modifier) of the L2Character. */ @Override public int getEvasionRate(L2Character target) { int val = super.getEvasionRate(target); if (val > Config.MAX_EVASION && Config.MAX_EVASION > 0 && !getActiveChar().isGM()) return Config.MAX_EVASION; return val; } @Override public boolean addSp(int value) { if (!super.addSp(value)) return false; StatusUpdate su = new StatusUpdate(getActiveChar().getObjectId()); su.addAttribute(StatusUpdate.SP, getSp()); getActiveChar().sendPacket(su); return true; } @Override public final long getExpForLevel(int level) { return Experience.LEVEL[level]; } // ========================================================= // Method - Private // ========================================================= // Property - Public @Override public final L2PcInstance getActiveChar() { return (L2PcInstance) super.getActiveChar(); } @Override public final long getExp() { if (getActiveChar().isSubClassActive()) return getActiveChar().getSubClasses().get(getActiveChar().getClassIndex()).getExp(); return super.getExp(); } @Override public final void setExp(long value) { if (getActiveChar().isSubClassActive()) getActiveChar().getSubClasses().get(getActiveChar().getClassIndex()).setExp(value); else super.setExp(value); } @Override public final byte getLevel() { if (getActiveChar().isSubClassActive()) return getActiveChar().getSubClasses().get(getActiveChar().getClassIndex()).getLevel(); return super.getLevel(); } @Override public final void setLevel(byte value) { if (value > Experience.MAX_LEVEL - 1) value = Experience.MAX_LEVEL - 1; if (getActiveChar().isSubClassActive()) getActiveChar().getSubClasses().get(getActiveChar().getClassIndex()).setLevel(value); else super.setLevel(value); } @Override public final int getMaxHp() { // Get the Max HP (base+modifier) of the L2PcInstance int val = super.getMaxHp(); if (val != _oldMaxHp) { _oldMaxHp = val; // Launch a regen task if the new Max HP is higher than the old one if (getActiveChar().getStatus().getCurrentHp() != val) getActiveChar().getStatus().setCurrentHp(getActiveChar().getStatus().getCurrentHp()); // trigger start of regeneration } return val; } @Override public final int getMaxMp() { // Get the Max MP (base+modifier) of the L2PcInstance int val = super.getMaxMp(); if (val != _oldMaxMp) { _oldMaxMp = val; // Launch a regen task if the new Max MP is higher than the old one if (getActiveChar().getStatus().getCurrentMp() != val) getActiveChar().getStatus().setCurrentMp(getActiveChar().getStatus().getCurrentMp()); // trigger start of regeneration } return val; } @Override public final int getMaxCp() { int val = super.getMaxCp(); if (val != _oldMaxCp) { _oldMaxCp = val; if (getActiveChar().getStatus().getCurrentCp() != val) { getActiveChar().getStatus().setCurrentCp(getActiveChar().getStatus().getCurrentCp()); } } return val; } @Override public final int getSp() { if (getActiveChar().isSubClassActive()) return getActiveChar().getSubClasses().get(getActiveChar().getClassIndex()).getSp(); return super.getSp(); } @Override public final void setSp(int value) { if (getActiveChar().isSubClassActive()) getActiveChar().getSubClasses().get(getActiveChar().getClassIndex()).setSp(value); else super.setSp(value); } } simiose m p ta allazis me allo xroma px me kokino..kai pes m auto to link p s edosa apo pano to fix pia bazw kai pia bazw?.. epidi dn blepw na bgazoume fos boris na m kanis 1 video kai na m to dixnis?ty. -
[Share]New Lineage ][ Skin
Elphiss™ replied to Bearus's topic in Server Development Discussion [Greek]
auto to pernaw sto system etc? -
[Share]New Lineage ][ Skin
Elphiss™ replied to Bearus's topic in Server Development Discussion [Greek]
Giorgaras kane upload ena link allios 8a to kanw request to lock. gt dn blepw kanena logo na ine on.. les [share] dn blepw omos pouthena link gia download.. giauto se perakalw poli bale 1 link.. Euxaristo Poly. EDIT: tora to ida oti ebales link ok. kali doulia thx. -
man its annoyng to search for dev.. if you read guides in here.. u will be a good developer.. so compile one pack.. work on it a long time and i think you will be ok.thats what i did.
-
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
katse... pc to java cp... opou m lei - 8a paw sto pack m kai 8a ta kanw delete? kai meta+ p ta bazw? -
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
nai alla pos? px pano p dinw ena link me to java cp fix... p to bazw? se pia sira? diagrafw tpt? ti kanw? boris na m kanis 1 video pls.. gt fobame min kanw kana lathos! proti m fora ine. -
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
(sorry gia to double post alla kapios help! ine anagi perimenw meres.. kserw oti borite na me help.. pls kapios!! ine megali anagi!!) -
[Help]Java Codes.
Elphiss™ replied to Elphiss™'s question in Request Server Development Help [Greek]
k... pare px auto http://www.maxcheaters.com/forum/index.php?topic=70691.0.. exw di to guide tou the end.. auto edw dld http://www.maxcheaters.com/forum/index.php?topic=64593.0.. alla otan pataw apply patch m bgazi auta.. Clipboard File workspace.. sto file m bgazi anazitisi kseris more.. na psaksw na to brw na balw.. alla px leme tora.. auto to fix p s edwsa pio pano to java - cp to kanw antigrafi etc opos to exi to bazw se 1 text kai meta bazw to text stin anazitisi sto apply patch-file kai ime ok? kai an 8elw na to kanw xirokinita ti kanw? paw sto file p m lei px PcStat.. alla ekei m lei polla.. p to bazw auto p m dixni sto link p s edosa gia to java - cp? prepi na sbisw tpt kai na to balw? kai se pia sira? auta me berdeuoun kapios help!
