Jump to content

ScRaB4ever

Members
  • Posts

    435
  • Credits

  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Everything posted by ScRaB4ever

  1. sta config t server exeis grapsei: URL=jdbc:mysql://localhost/l2jdbl2jdb bale: URL=jdbc:mysql://localhost/l2jdb
  2. sto autospawnhandler.java bazeis: - if (spawnInst.isBroadcasting()) + if (spawnInst.isBroadcasting() && (npcInst != null)) ena lock plz!
  3. mpes sto table npc, bres ta mobs me to id toys h to onoma toys kai 8a ta breis ekei....
  4. den eimai sigoyros alla an katalaba kala den exeis balei ena ( kai kati ; sto telos twn grammwn.... soy ypogramizei me kokkina tpt mesa sto arxeio java?
  5. diko s http://portforward.com/networking/staticip.htm
  6. kalhspera se oloys prospa8hsa na perasw thn retail oly ston server m me to patch p phra apo edw:http://trac.l2jserver.com/changeset/1951#file4 kai m bgazei ayto to error: kserei kaneis ti prepei na fix? nomizw oti to patch einai gia allo client?? xrhshmopoiw l2j interlude
  7. apla paradeigmata... dld ti einai ayto p anagkazei ton server na diksei to error (dld ama h timh einai null o server den kserei t na kanei kai deixnei error)
  8. ayto den m to bgazei thn wra p fortwnei o server, m to bgazei meta otan o server paizei! otan to dixnei ayto den mporw meta na knaw spawn! btw eyxarhstw gia to endiaferwn!
  9. bsk ftiaei oti gia mia timh den exw grapsei ti 8a kanei o server.. dld an einai mayro tote... allios an einai kokkino tote.... >>an einai kaino tote...<< ayto edw leipei
  10. paidia otan o autospawnmanager paei na kanei spawn m bgazei to eksis error mporei kapoios n m pei ti ftaiei?? eyxarhstw! xrhshmopoio l2j interlude h pic den einai dikia m alla to error eiani to idio!
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. καλησπερα σε ολους. εχω φτιαξει ενα server ολα ομορφα και ωραια και μολις τρεχω τα αρχεια .sh ενα παραθυρο ανοιγει και μετα κλεινει αμεσως. το os ειναι Ubundu to project ειναι interlude l2j ξερει καποιος τι παιζει; ευχαρηστω εκ των πρωτερων!
  17. 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; } }
  18. is it even working?? ive test it and it doesnt work for me....
×
×
  • Create New...