Jump to content

ozan

Members
  • Posts

    38
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About ozan

Profile Information

  • Gender
    Not Telling

ozan's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. L2GrandBossInstance.java /* * L2jFrozen Project - www.l2jfrozen.com * * 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 com.l2jfrozen.gameserver.model.actor.instance; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.managers.GrandBossManager; import com.l2jfrozen.gameserver.managers.RaidBossPointsManager; import com.l2jfrozen.gameserver.model.L2Character; import com.l2jfrozen.gameserver.model.L2Summon; import com.l2jfrozen.gameserver.model.spawn.L2Spawn; import com.l2jfrozen.gameserver.network.SystemMessageId; import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.gameserver.thread.ThreadPoolManager; import com.l2jfrozen.util.random.Rnd; /** * This class manages all Grand Bosses. * @version $Revision: 1.0.0.0 $ $Date: 2006/06/16 $ */ public final class L2GrandBossInstance extends L2MonsterInstance { private static final int BOSS_MAINTENANCE_INTERVAL = 20000; /** * Constructor for L2GrandBossInstance. This represent all grandbosses. * @param objectId ID of the instance * @param template L2NpcTemplate of the instance */ public L2GrandBossInstance(final int objectId, final L2NpcTemplate template) { super(objectId, template); } @Override protected int getMaintenanceInterval() { return BOSS_MAINTENANCE_INTERVAL; } @Override public boolean doDie(final L2Character killer) { if (!super.doDie(killer)) return false; L2PcInstance player = null; if (killer instanceof L2PcInstance) player = (L2PcInstance) killer; else if (killer instanceof L2Summon) player = ((L2Summon) killer).getOwner(); if (player != null) { SystemMessage msg = new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL); broadcastPacket(msg); msg = null; if (player.getParty() != null) { for (final L2PcInstance member : player.getParty().getPartyMembers()) { RaidBossPointsManager.addPoints(member, getNpcId(), (getLevel() / 2) + Rnd.get(-5, 5)); } } else RaidBossPointsManager.addPoints(player, getNpcId(), (getLevel() / 2) + Rnd.get(-5, 5)); } return true; } @Override public void onSpawn() { super.onSpawn(); if (!this.getSpawn().is_customBossInstance()) GrandBossManager.getInstance().addBoss(this); } @Override protected void manageMinions() { _minionList.spawnMinions(); _minionMaintainTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable() { @Override public void run() { // Teleport raid boss home if it's too far from home location final L2Spawn bossSpawn = getSpawn(); int rb_lock_range = Config.RBLOCKRAGE; if (Config.RBS_SPECIFIC_LOCK_RAGE.get(bossSpawn.getNpcid()) != null) { rb_lock_range = Config.RBS_SPECIFIC_LOCK_RAGE.get(bossSpawn.getNpcid()); } if (rb_lock_range >= 100 && !isInsideRadius(bossSpawn.getLocx(), bossSpawn.getLocy(), bossSpawn.getLocz(), rb_lock_range, true, false)) { teleToLocation(bossSpawn.getLocx(), bossSpawn.getLocy(), bossSpawn.getLocz(), true); // healFull(); // Prevents minor exploiting with it } _minionList.maintainMinions(); } }, 60000, getMaintenanceInterval()); } @Override public boolean isRaid() { return true; } public void healFull() { super.setCurrentHp(super.getMaxHp()); super.setCurrentMp(super.getMaxMp()); } }
  2. No Errors i did not create this npc its official from frozen so but i will try ur idea
  3. when i spawn 93000 raid info Raid Manager it says i will show all epic bosses info's you need When i press on the Button -> Epics Info's <- nothing happens nothing shows up. nothing pops up. any fixes ? L2Jfrozen pack
  4. hello i spawned raidboss manager i killed baium and from manager it says 124:88:00 time etc but their respawn time is way to long where can i change the grandbosses/raidbosses respawn times ?
  5. oh nice :D dude its the same way :D only yours is much faster :D cuzz a program does it for you :D
  6. hey guys this topic is only for people with a dynamic ip so if your using no-ip.org or paying for static ip you don't need to pay anymore ! i'm gona learn you how to go from dynamic ip to static ip free you don't need to download anything ! 1) go to control panel ->Network connection-> then look picture and click there 2) http://img338.imageshack.us/img338/2867/networkconnection.jpg 3)if u clicked u get a little bar click on propties then click on internet protocol version 4 (TCP/IPV4) and click propties 4) pres general tab and Check the Use the Following IP address 5) go to start type in cmd start cmd type ipconfig/all now u need to only this look at the picture below http://img840.imageshack.us/img840/2160/cmdbo.jpg thats how u get a static ip for free without paying money now u can port forward i hope i helped alot of people sorry for my BAD ENGLISH i'm from Turkey
  7. hi guys i got a problem = No available names for GameServer, verify servername.xml file exist in the loginServer folder press a button to continue . . . i putted servername.xml in L2J_Server\login and it says still the same pls help
  8. hmm yes i made account but when i go to license bar it won't make me one
  9. L2tower don't work = Error onccured License Fetisch - XML
  10. raule i tryd your bot but its says on log 22:14:48 - No mobs nearby, targeting from MobList 22:14:52 - No mobs from MobList found. and it keeps saying in the game ;target Porta so i think it realy dectable bot so ! no good choise ill try l2tower tomorrow i tried before but nothing happend when i press home key !
  11. hello guys im playing l2 Shillen official server - goddes of destruction and im searching a bot that works i downloaded like 100 bots i always get error's from gamegaurd and etc can some1 tell me witch 1 post the link bellow ? pls :D i neet bot no i never did this before but i never played official before so !!!!
  12. hmm nope :( i use whatsmyip and set that ip in my server config.txt and they are open 7777-2106-80-9014
  13. still the same :( i restart my computere tryed over and over always the same if i go to gameserver login and i change it to 127.0.0.1 it works all fine but when i do my internal ip nothing works :/
  14. hello guys =) i fully made my server when i lauch my loginserver it says ready when i lauch gameserver i get this error = SEVERE: FATAL: Failed to open server socket. Reason: Cannot assign requested address: bind java.net.BindException: Cannot assign requested address: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.java:112) at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:468) at com.l2jserver.gameserver.GameServer.main(GameServer.java:504) pls help me firewall /router i open this port's = 7777 UDP/TCP - 2106 UDP/TCP - 80 TCP - 9014 UDP/TCP # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Bind ip of the LoginServer, use * to bind on all available IPs # Default: * LoginserverHostname = * # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # Default: * LoginHostname = * # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Game Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # # Note: External/Internal address definitions was moved to the ipconfig.xml # # Where's the Login server this gameserver should connect to # Default: 127.0.0.1 LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests # Default: 9014 LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases. # Default: * (0.0.0.0) GameserverHostname = **.***.***.** # Default: 7777 GameserverPort = 7777 HELP ME ????? i get this error = SEVERE: FATAL: Failed to open server socket. Reason: Cannot assign requested address: bind java.net.BindException: Cannot assign requested address: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.java:112) at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:468) at com.l2jserver.gameserver.GameServer.main(GameServer.java:504) btw does the telnet need to be ON or OFF ???
×
×
  • Create New...