Jump to content

ScRaB4ever

Members
  • Posts

    446
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by ScRaB4ever

  1. i had a problem with adena drop rates which made server to have x2147 adena drops even if i had it at 4000 its fixed now so farming works like a charm. as considering the domain i have ordered a domain for the server but there is a problem engaging it to my ip. you dont beleve me? try whois for the domain l2chaos.com
  2. to fix einai: Index: java/com/l2jserver/gameserver/model/actor/L2Attackable.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/L2Attackable.java (revision 3978) +++ java/com/l2jserver/gameserver/model/actor/L2Attackable.java (working copy) @@ -1310,7 +1310,7 @@ // At least 1 item will be dropped for sure. So the chance will be adjusted to 100% // if smaller. - int dropChance = drop.getChance(); + long dropChance = drop.getChance(); if (Config.RATE_DROP_ITEMS_ID.get(drop.getItemId()) != 0) dropChance *= Config.RATE_DROP_ITEMS_ID.get(drop.getItemId()); @@ -1320,8 +1320,6 @@ if (Config.L2JMOD_CHAMPION_ENABLE && isChampion()) dropChance *= Config.L2JMOD_CHAMPION_REWARDS; - dropChance = Math.round(dropChance); - if (dropChance < L2DropData.MAX_CHANCE) dropChance = L2DropData.MAX_CHANCE; @@ -1335,7 +1333,7 @@ // Count and chance adjustment for high rate servers if (dropChance > L2DropData.MAX_CHANCE && !Config.PRECISE_DROP_CALCULATION) { - int multiplier = dropChance / L2DropData.MAX_CHANCE; + int multiplier = (int) (dropChance / L2DropData.MAX_CHANCE); if (min < max) itemCount += Rnd.get(min * multiplier, max * multiplier); credits: Stake apo l2jserver forum enas mod na kleisei to topic
  3. kalhspera! h8ela na afksisw ta adena drops stons server moy kai etsi phga sta config t server kai apo 2500 to phga 6000 (sth gramh p afora ta adena) parathrhsa loipwn oti enw egw eixa ayksisei ta drops ta adena p epeftan emeinan to idio etsi phga ston test server kai ebala se ena mob na rixnei 1 adena 1 adena to mob x 6000 to config eprepe na m riksei 6000 anti gi ayto erikse 2147 bazo meta sto config t server adena drop x1000 anoigw ton server 1 adena to mob x1000 to config kai m rixnei kanonika 1000 adena me alla logia to megisto p mporei na riksei se adena einai ta adena drop toy mob x 2147 parathrhsh: to 2147 einai ypopolaplasio toy megistoy posoy p mporei na exei enas char se adena sto inventory 2,147 kkk mporei kapoios na me boh8hsei oste na rixnei kanonika ta adena symfwna me ta congif? eyxarhstw! ps: o server einai l2j interlude
  4. JOIN US AT: www.l2chaos.com Server Rates Exp: x5000 Sp: x5000 Drop items: x1 Drop adena: x4000 Enchant Rates Safe Enchant: +5 Max Enchant: +25 Scroll Enchant Weapon: 75% Scroll Enchant Armor: 75% Crystal Scroll Enchant Weapon: 85% Crystal Scroll Enchant Armor: 85% Blessed Scroll Enchant Weapon: 100% Blessed Scroll Enchant Armor: 100% Augment Rates No-Grade Lifestone: 5% Mid-Grade Lifestone: 10% High-Grade Lifestone: 15% Top-Grade Lifestone: 20% Other Info Vote Reward System Olympiad Heroes Every 1 & 15 of month Retail Clan War System Clan Reputation Item Custom Clan Leader Color Custom Hero Color PvP-PK Colored Title System TvT Event Custom NPCs Custom Tattoos LvL-Up Zone Area PvP-Farm Zone Areas Non-PK Farm Zone PvP-PK AntiBot System Full Server Protection System Geodata Engine Pathnode Engine 54 Buff Slots Buffs Last 4 Hours No Grade Penaly No Death Penalty More than 90% of Skills Fixed
  5. file moy exw hostarei enan server, bebaia den einai se kanena listing site ka8ws 8elw na ton testarw gia kamia ebdomada. an 8es mpes na deis ti paizei http://5.39.77.128
  6. καλησπερα σε ολους. εχω φτιαξει ενα server ολα ομορφα και ωραια και μολις τρεχω τα αρχεια .sh ενα παραθυρο ανοιγει και μετα κλεινει αμεσως. το os ειναι Ubundu to project ειναι interlude l2j ξερει καποιος τι παιζει; ευχαρηστω εκ των πρωτερων!
  7. the code is not working... thats the real code /** * */ package net.sf.l2j.gameserver.handler.admincommandhandlers; import java.util.Collection; import net.sf.l2j.gameserver.handler.IAdminCommandHandler; import net.sf.l2j.gameserver.model.L2Object; import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; /** * @author Ventic * */ public class AdminSit implements IAdminCommandHandler { private static final String[] ADMIN_COMMANDS = { "admin_sit" , "admin_stand", "admin_rangesit", "admin_rangestand" }; @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { if (command.startsWith("admin_sit")) { L2Object target = activeChar.getTarget(); if (target instanceof L2NpcInstance) { activeChar.sendMessage("You can not use it at NPCs!"); return false; } else if (target == null) { activeChar.sendMessage("You have no target!"); return false; } else { ((L2PcInstance) target).sitDown(); } } if (command.startsWith("admin_stand")) { L2Object target = activeChar.getTarget(); if (target instanceof L2NpcInstance) { activeChar.sendMessage("You can not use it at NPCs!"); return false; } else if (target == null) { activeChar.sendMessage("You have no target!"); return false; } else { ((L2PcInstance) target).standUp(); } } if (command.startsWith("admin_rangesit")) { Collection<L2Character> players = activeChar.getKnownList().getKnownCharactersInRadius(240); for (L2Character p : players) { if (p instanceof L2PcInstance) { ((L2PcInstance) p).sitDown(); } } } if (command.startsWith("admin_rangestand")) { Collection <L2Character> players = activeChar.getKnownList().getKnownCharactersInRadius(240); for (L2Character p : players) { if (p instanceof L2PcInstance) { ((L2PcInstance) p).standUp(); } } } return true; } @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } }
  8. is it even working?? ive test it and it doesnt work for me....
  9. ευχαρηστω αλλα νομιζω οτι ξεχασες το code απο το l2attackable
  10. αμα μπορεις κανε ενα share;)
  11. auto lood gia adena mono... mazebeis ta adena kai ta alla peftoyn
  12. ΕΥΧΑΡΗΣΤΩ!!! ΠΕΡΙΜΕΝΩ ΑΠΑΝΤΗΣΗ! ;)
  13. l2j interlude ΕΙΝΑΙ ΜΕ COMPILE OXI PRECON
  14. ΚΑΛΗΣΠΕΡΑ ΣΕ ΟΛΟΥΣ ΕΔΩ ΚΑΙ ΚΑΝΑ ΔΥΟΡΟ ΨΑΧΝΩ ΤΟ JAVA CODE ΓΙΑ ΝΑ ΚΑΝΕΙ Ο SERVER AUTOLOOT TA ADENA. ΑΝ ΜΠΟΡΕΙ ΚΑΠΟΙΟΣ ΝΑ ΒΟΗΘΗΣΕΙ... 10x
  15. oi times gia to color kai to title alalzoyn gia olous stoys char to idio kai pernoin tis times toy teleftaioy char p einai away. den einai skexwristes gia ton ka8e char
  16. filarako m ayxarhstw gia thn boh8eia omws den katalabes akribws p exw to problhma h isws na mhn eimoyn egw safhs to title allazei kai to xroma ti ginete omws patas esy away pataw egw away ara exoyn apo8ikeytei oi dikes m times ama pathseis back 8a pareis tis dikies m times oxi tis dikes s:/ basika 8elw na ftiaksw ena table p na apo8ikebei to onoma to xroma kai ton titlo kai otan o allos pataei back na pernei tis times apo to table
×
×
  • Create New...