-
Posts
368 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by xMaylox
-
Paidia ligo help me efkola pramata..
xMaylox replied to Spike32's question in Request Server Development Help [Greek]
1o) koitaxe ta skills sta xml files s. <effect name="Buff" time="14400" count="1" val="0"> 2o)altsettings.properties # Weight Limit multiplier - default 1 AltWeightLimit = 1. other.properties # Warehouse space limits (Must be < 300 for prevent client crash) # Dwarfs will get bonus from lvl 60 MaximumWarehouseSlotsForDwarf = 120 MaximumWarehouseSlotsForNoDwarf = 100 MaximumWarehouseSlotsForClan = 200 MaximumFreightSlots = 20 kane edit afta EDIT: file plz an ehis kai alles erwtisis please postare sto help section. pros apofigi parexigisewn;) efxaristw -
hmmm. ok then. locate that code in your java file: if (activeChar.isInOlympiadMode() && ( bodyPart == L2Item.SLOT_LR_HAND || bodyPart == L2Item.SLOT_L_HAND || bodyPart == L2Item.SLOT_R_HAND ) && ( (item.getItemId() >= 6611 && item.getItemId() <= 6621) || item.getItemId() == 6842 ) ) { return; } and do the same for all your items. item.getItemId() == 6611 || item.getItemId() == 6621) || item.getItemId() == 6842 and add as much as you want. hope this will work Oo
-
[HELP]Error-->Create online server??
xMaylox replied to Todoulis's question in Request Server Development Help [L2J]
dokimase na valis to InternalHostname=127.0.0.1 kai to ExternalHostname=127.0.0.1 afto logika tha s lisi to problima -
[code]if(activeChar.isInOlympiadMode() && (bodyPart == 16384 || bodyPart == 256 || bodyPart == 128 || bodypart == your_id) && item.isHeroItem() || item.isOlyRestrictedItem()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_CANT_BE_EQUIPPED_FOR_THE_OLYMPIAD_EVENT)); return; } here is my useitem.java public class UseItem extends L2GameClientPacket { /* member class not found */ class WeaponEquipTask {} public UseItem() { } protected void readImpl() { _objectId = readD(); _unknown = readD(); } protected void runImpl() { L2PcInstance activeChar = ((L2GameClient)getClient()).getActiveChar(); if(activeChar == null) return; if(!FloodProtector.getInstance().tryPerformAction(activeChar.getObjectId().intValue(), 0)) return; if(activeChar.getPrivateStoreType() != 0) { activeChar.sendPacket(SystemMessageId.CANNOT_TRADE_DISCARD_DROP_ITEM_WHILE_IN_SHOPMODE); activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if(activeChar.getActiveTradeList() != null) { activeChar.sendPacket(SystemMessageId.CANNOT_PICKUP_OR_USE_ITEM_WHILE_TRADING); activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } L2ItemInstance item = activeChar.getInventory().getItemByObjectId(_objectId); if(item == null) return; if(item.isWear()) return; if(item.getItem().getType2() == 3) { activeChar.sendPacket(new SystemMessage(SystemMessageId.CANNOT_USE_QUEST_ITEMS)); return; } int itemId = item.getItemId(); if(!Config.ALT_GAME_KARMA_PLAYER_CAN_TELEPORT && activeChar.getKarma() > 0 && (itemId == 736 || itemId == 1538 || itemId == 1829 || itemId == 1830 || itemId == 3958 || itemId == 5858 || itemId == 5859 || itemId == 6663 || itemId == 6664 || itemId >= 7117 && itemId <= 7135 || itemId >= 7554 && itemId <= 7559 || itemId == 7618 || itemId == 7619 || itemId == 10129 || itemId == 10130)) return; L2Clan cl = activeChar.getClan(); if((cl == null || cl.getHasCastle() == 0) && itemId == 7015 && Config.CASTLE_SHIELD) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if((cl == null || cl.getHasHideout() == 0) && itemId == 6902 && Config.CLANHALL_SHIELD) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(itemId >= 7860 && itemId <= 7879 && Config.APELLA_ARMORS && (cl == null || activeChar.getPledgeClass() < 5)) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(itemId >= 7850 && itemId <= 7859 && Config.OATH_ARMORS && cl == null) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(itemId == 6841 && Config.CASTLE_CROWN && (cl == null || cl.getHasCastle() == 0 || !activeChar.isClanLeader())) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(Config.CASTLE_CIRCLETS && (itemId >= 6834 && itemId <= 6840 || itemId == 8182 || itemId == 8183)) { if(cl == null) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } int circletId = CastleManager.getInstance().getCircletByCastleId(cl.getHasCastle()); if(activeChar.getSubPledgeType() == -1 || circletId != itemId) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } } if((itemId >= 9391 && itemId <= 9415 || itemId == 10169) && activeChar.isSubClassActive()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(activeChar.getPkKills() > 0 && item.getItemId() >= 7816 && item.getItemId() <= 7831) { activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_ARE_UNABLE_TO_EQUIP_THIS_ITEM_WHEN_YOUR_PK_COUNT_IS_GREATER_THAN_OR_EQUAL_TO_ONE)); return; } if(itemId == 57) return; if(activeChar.isFishing() && (itemId < 6535 || itemId > 6540)) { SystemMessage sm = new SystemMessage(SystemMessageId.CANNOT_DO_WHILE_FISHING_3); sendPacket(sm); return; } if(activeChar.isDead()) { SystemMessage sm = new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED); sm.addItemName(item); sendPacket(sm); return; } if(item.getItem().isForWolf() || item.getItem().isForGreatWolf() || item.getItem().isForHatchling() || item.getItem().isForStrider() || item.getItem().isForBabyPet()) { SystemMessage sm = new SystemMessage(SystemMessageId.CANNOT_EQUIP_PET_ITEM); sm.addItemName(item); ((L2GameClient)getClient()).getActiveChar().sendPacket(sm); sm = null; return; } if(_log.isDebugEnabled()) _log.debug((new StringBuilder()).append(activeChar.getObjectId()).append(": use item ").append(_objectId).toString()); if(item.isEquipable()) { if(activeChar.isDisarmed()) return; if(!((L2Equip)item.getItem()).allowEquip(activeChar)) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(activeChar.isKamaelic()) { if(item.getItemType() == L2ArmorType.HEAVY) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(item.getItemType() == L2ArmorType.MAGIC) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(item.getItemType() == L2WeaponType.NONE) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } } else { if(item.getItemType() == L2WeaponType.CROSSBOW) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(item.getItemType() == L2WeaponType.RAPIER) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(item.getItemType() == L2WeaponType.ANCIENT_SWORD) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } } if(activeChar.isStunned() || activeChar.isSleeping() || activeChar.isParalyzed() || activeChar.isAlikeDead()) { activeChar.sendMessage("Your status does not allow you to do that."); return; } int bodyPart = item.getItem().getBodyPart(); if(bodyPart == 16384 || bodyPart == 256 || bodyPart == 128) { if(activeChar.isCastingNow()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.CANNOT_USE_ITEM_WHILE_USING_MAGIC)); return; } if(activeChar.isMounted() || activeChar._inEventCTF && activeChar._haveFlagCTF) { if(activeChar._inEventCTF && activeChar._haveFlagCTF) activeChar.sendMessage("This item can not be equipped when you have the flag."); return; } } if(activeChar.isDisarmed() && (bodyPart == 16384 || bodyPart == 256 || bodyPart == 128)) { activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP)); return; } if(activeChar.isCursedWeaponEquipped() && (bodyPart == 16384 || bodyPart == 256 || bodyPart == 128 || itemId == 6408)) return; if(activeChar.isAttackingNow()) { ThreadPoolManager.getInstance().scheduleGeneral(new WeaponEquipTask(item, activeChar), (activeChar.getAttackEndTime() - GameTimeController.getGameTicks()) * 100); return; } if(itemId == 9819) return; if(activeChar.isInOlympiadMode() && (bodyPart == 16384 || bodyPart == 256 || bodyPart == 128) && item.isHeroItem() || item.isOlyRestrictedItem()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_CANT_BE_EQUIPPED_FOR_THE_OLYMPIAD_EVENT)); return; } if(!activeChar.isHero() && !activeChar.isGM() && item.isHeroItem() && Config.ALT_STRICT_HERO_SYSTEM) return; activeChar.useEquippableItem(item, true); } else { L2Weapon weaponItem = activeChar.getActiveWeaponItem(); int itemid = item.getItemId(); if(itemid == 4393) { activeChar.sendPacket(new ShowCalculator(4393)); } else { if(weaponItem != null && weaponItem.getItemType() == L2WeaponType.ROD && (itemid >= 6519 && itemid <= 6527 || itemid >= 7610 && itemid <= 7613 || itemid >= 7807 && itemid <= 7809 || itemid >= 8484 && itemid <= 8486 || itemid >= 8505 && itemid <= 8513)) { activeChar.getInventory().setPaperdollItem(10, item); activeChar.broadcastUserInfo(); ItemList il = new ItemList(activeChar, false); sendPacket(il); return; } IItemHandler handler = ItemHandler.getInstance().getItemHandler(itemId); if(handler != null) handler.useItem(activeChar, item); else if(_log.isDebugEnabled()) _log.debug((new StringBuilder()).append("No item handler registered for item ID ").append(itemId).append(".").toString()); } } } public String getType() { return "[C] 14 UseItem"; } private static final Log _log = LogFactory.getLog(com/l2jfree/gameserver/network/clientpackets/UseItem.getName()); private static final String _C__14_USEITEM = "[C] 14 UseItem"; private int _objectId; private int _unknown; }[/code] this code is already in your UseItem.java. just add bodypart= you_id. no need to add the same code twice. there is not such a variavle in your altsettings? wait what pack you are using? let me guess l2j?
-
[Share-Compile]Eclipse 3.3.1.1!
xMaylox replied to sτrίkε-'s topic in Server Development Discussion [Greek]
@NOSL2 to Eclipse einai ena tool p mporis na kaneis compile ta java files ta opia kaneis edit. thanks for sharing Strike -
ti ennoas den doulevi to class manager? dose perissotera info. kai oso g to wind walk mporis na valis mesa sto _init_.py kati san afto: if event == "100": st.getPlayer().useMagic(SkillTable.getInstance().getInfo(Skill_Id,2),False,False)
-
try add in my code || bodypart= your_id . not sure but just try it. like if(activeChar.isInOlympiadMode() && (bodyPart == 16384 || bodyPart == 256 || bodyPart == 128 || bodypart == your_id) && item.isHeroItem() || item.isOlyRestrictedItem()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_CANT_BE_EQUIPPED_FOR_THE_OLYMPIAD_EVENT)); return; } hm what about that config in altsettings.properties # Restrict same item in olympiad. ItemID's need to be separated whit comma (ex. 1,200,350) AltOlyRestrictedItems = 0
-
if (activeChar.isInOlympiadMode()== true && itemId == ID || itemId == ID || ) { activeChar.sendMessage("dont use this in oly dumbass!"); return; } that should work. but you said it does not. tho this will work only if people tried to use this item. not if he is already wearing it. try a code to remove all players items when he move to olympiad stadium. EDIT: what about this in UseItem.java if(activeChar.isInOlympiadMode() && (bodyPart == 16384 || bodyPart == 256 || bodyPart == 128) && item.isHeroItem() || item.isOlyRestrictedItem()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_ITEM_CANT_BE_EQUIPPED_FOR_THE_OLYMPIAD_EVENT)); return; } just add the items you need and tell me.
-
english version (BETA) can be found here: http://www.maxcheaters.com/forum/index.php?topic=39157.0
-
hmmm den ehw xanadokimasi kati tetoio. na to meletisw kai tha s pw to sintomotero dinato. an kaneis alos gnwrizi as apantisei!
-
loipon file tha s apantisw se osa mporw. proton. g na mpori kapios na ginei 85 lvl tote prepi na parei exp. gt den vazeis ena exp rate kapw x2000000 etsi kai na valis ta gramlins na einai 5lvl? i na valis alla mob? me afto nmz tha paei katefthian 85. oso g to mob p les na ton rixnei me ena hit kane ena diko s mob mesa sto sql kai vale tou megalo aggro kai megalo p.def etsi opion di na ton rixnei me ena hit. oso g ta skills mporis na ta alaxis opws thes mesa apo to skill_trees.SQL. elpizw na voithisa kapos.
-
Peite m opios 3erei
xMaylox replied to olataolata's question in Request Server Development Help [Greek]
file katarxin kalimera. tin epomeni fora please post sto Dev Help section;) 1st) logika mono apo to config mporis na alaxis to critical rate extos kai an ennoeis kati p den katalava. 2nd) crown lord? exigise ti akrivos xriazese 3rd) dokimase afto edw: http://l2.nkk.lt/uploads/coinmanager.rar -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
edo eimaste: http://rapidshare.com/files/163135154/l2.rar.html dokimase to kai m les -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
hmmm. to epatha kai egw afto fteei to core.dll. s kanw upload mia ena allo. to dokimazeis kai m les. -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
nai. esy tha ehis afta sto host file s. oi alloi tha ehoun to IP tou server s. diladi ena dynamic IP (www.no-ip.com) -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
ehehehe oriste to sosto;) 127.0.0.1 localhost 127.0.0.1 l2authd.lineage2.com 216.107.250.194 nprotect.lineage2.com -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
logika tha ftene ta host files s. dikos s server einai ton trexis sto pc s? -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
nai, sigoura iparxoun. apla afta einai patched g na kanei bypass to gameguard -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
an einai ena core.dll kai ena nwindow.dll valta sto system folder -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
grafei oti einai g kamael doulevi kai g Hellbound kai g Gracia EDIT: vrika ena g Hellbound mono. http://mfyyre.narod.ru/hellbound-nogg.rar Apo ton A-Style;) -
provlima me hellbound
xMaylox replied to underground's question in Request Server Development Help [Greek]
file fteei to gameguard. vale to line afto sto host s. 216.107.250.194 nprotect.lineage2.com an den doulepsi afto tote katevase afto edw http://rapidshare.com/files/140930250/L2_Kamael_GG_Patch.rar.html an kapoio doulepsi pes to. -
koita file. nai, ehoun kanei fix ta perissotera bugs. ta kiriotera twra einai to Invontory bug kai to POM alla mporoun na ftiaxtoun. an les g ta skills kai tetoia afta tergiazoun kai me to part 1 so apla ena copy paste ftanei
-
[Guide] How to dance without Duals!
xMaylox replied to Frank's topic in Server Development Discussion [L2J]
@MrPerfect20 You can cast song with any weapon. you dont need duals. thats retail. -
Pedia plz help(gia l2j server)
xMaylox replied to Luster's question in Request Server Development Help [Greek]
file prospathise na kaneis install xana to java s. meta pigene sto register gameserver kai pata clean (nmz etsi einai to command i clear) kai dokimase xana -
anw swsta. eprepe na kaneis post sto Dev Help section. anw omws. eisai sigouros oti ehi valis swsta to SQL file?
