Jump to content

ozan

Members
  • Posts

    38
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by ozan

  1. Thank you fixed :)
  2. 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()); } }
  3. No Errors i did not create this npc its official from frozen so but i will try ur idea
  4. 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
  5. 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 ?
  6. oh nice :D dude its the same way :D only yours is much faster :D cuzz a program does it for you :D
  7. 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
  8. 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
  9. hmm yes i made account but when i go to license bar it won't make me one
  10. L2tower don't work = Error onccured License Fetisch - XML
  11. 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 !
  12. 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 !!!!
  13. hmm nope :( i use whatsmyip and set that ip in my server config.txt and they are open 7777-2106-80-9014
  14. 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 :/
  15. 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 ???
  16. NP it will work normally i make always my server in this way :)
  17. hmmm minidead i got some questions can u help me if u can give me ur msn so i can add you
  18. when i click on registergameserver it says no avaible names for gameserver verify servername.xml file but i did that ! and i downloaded and i did all sql tables
  19. hello guys i just formatted my laptop and i thought ill make my server so i made it and recorded :) so just follow the steps on the videos bellow and u will have your server hmm remember its not COMPILED PART1 How To Make A Lineage 2 Server - Part 1 PART2 How To Make A Lineage 2 Server - Part 2 PART3 How To Make A Lineage 2 Server - Part 3 PART4 How To Make A Lineage 2 Server - Part 4 PART5 How To Make A Lineage 2 Server - Part 5 so your server is ready :) i hope you enjoyed the video's sorry for bad english hmm and if you have problems or it doesnt work i don't know it worked fine by me GOODLUCK AND ENJOY
  20. nono its my gameserver console i dont use eclipse i use Nightlies from = http://www.l2jserver.com/nightly/ but login nothing matters its says server ready on 2106 but gameserver console says excepion in thread "main" java.lang.exceptionininitializerError caused by java.lang.nullpointerexception blablalba skilltrees .... 3 more if i go to gameserver map click on errors i get this this is error1 nov 16, 2011 2:16:32 PM com.l2jserver.gameserver.instancemanager.MapRegionManager <init> SEVERE: Failed loading MapRegion java.lang.NullPointerException at com.l2jserver.gameserver.instancemanager.MapRegionManager.load(MapRegionManager.java:97) at com.l2jserver.gameserver.instancemanager.MapRegionManager.<init>(MapRegionManager.java:82) at com.l2jserver.gameserver.instancemanager.MapRegionManager.<init>(MapRegionManager.java:52) at com.l2jserver.gameserver.instancemanager.MapRegionManager$SingletonHolder.<clinit>(MapRegionManager.java:505) at com.l2jserver.gameserver.instancemanager.MapRegionManager.getInstance(MapRegionManager.java:73) at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:211) at com.l2jserver.gameserver.GameServer.main(GameServer.java:482) this is error 2 2011.11.16 14:16:31,313 INFO 1 com.l2jserver.Config Loading GameServer Configuration Files... 2011.11.16 14:16:31,437 WARNING 1 com.l2jserver.Config Could not load HexID file (./config/hexid.txt). Hopefully login will give us one. 2011.11.16 14:16:31,437 INFO 1 com.l2jserver.Config Loaded 6 Filter Words. 2011.11.16 14:16:31,453 INFO 1 com.l2jserver.gameserver.GameServer -----------------------------------------------------------------=[ Database ] 2011.11.16 14:16:31,469 INFO 1 com.mchange.v2.log.MLog MLog clients using java 1.4+ standard logging. 2011.11.16 14:16:31,593 INFO 1 com.mchange.v2.c3p0.C3P0Registry Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10] 2011.11.16 14:16:31,952 INFO 1 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge15z8j1bv9pqzx7sirn|7139e9f8, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15z8j1bv9pqzx7sirn|7139e9f8, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jgs, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, statementDestroyerNumActiveThreads -> -1, statementDestroyerNumConnectionsInUseAllUsers -> -1, statementDestroyerNumConnectionsInUseDefaultUser -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumIdleThreads -> -1, statementDestroyerNumTasksPending -> -1, statementDestroyerNumThreads -> -1, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] 2011.11.16 14:16:31,983 INFO 1 com.l2jserver.gameserver.GameServer L2J Server Version: 5079 2011.11.16 14:16:31,983 INFO 1 com.l2jserver.gameserver.GameServer L2J Datapack Version: Unsupported Custom Version. 2011.11.16 14:16:31,999 INFO 1 com.l2jserver.gameserver.idfactory.IdFactory Updated characters online status. 2011.11.16 14:16:32,077 INFO 1 com.l2jserver.gameserver.idfactory.IdFactory Cleaned 0 elements from database in 0 s 2011.11.16 14:16:32,077 INFO 1 com.l2jserver.gameserver.idfactory.IdFactory Cleaned 0 expired timestamps from database. 2011.11.16 14:16:32,093 INFO 1 com.l2jserver.gameserver.idfactory.BitSetIDFactory IDFactory: 102912 id's available. 2011.11.16 14:16:32,093 INFO 1 com.l2jserver.gameserver.GameServer ------------------------------------------------------------------=[ Engines ] 2011.11.16 14:16:32,093 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Initializing Script Engine Manager 2011.11.16 14:16:32,529 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1 2011.11.16 14:16:32,561 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: BeanShell Engine 1.1 - Language: BeanShell - Language Version: 2.0b5 2011.11.16 14:16:32,576 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: java 1.7 - Language: java - Language Version: 1.7 2011.11.16 14:16:32,592 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: Mozilla Rhino 1.7 release 3 PRERELEASE - Language: ECMAScript - Language Version: 1.8 2011.11.16 14:16:32,685 INFO 1 com.l2jserver.gameserver.GameServer --------------------------------------------------------------------=[ World ] 2011.11.16 14:16:32,685 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Initializing InstanceManager 2011.11.16 14:16:32,685 WARNING 1 com.l2jserver.gameserver.instancemanager.InstanceManager instancenames.xml could not be loaded: file not found 2011.11.16 14:16:32,685 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Loaded 0 instance names 2011.11.16 14:16:32,701 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Multiverse Instance created 2011.11.16 14:16:32,701 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Universe Instance created 2011.11.16 14:16:32,800 INFO 1 com.l2jserver.gameserver.model.L2World L2World: (128 by 136) World Region Grid set up. 2011.11.16 14:16:32,822 SEVERE 1 com.l2jserver.gameserver.instancemanager.MapRegionManager Failed loading MapRegion 2011.11.16 14:16:32,831 WARNING 1 com.l2jserver.gameserver.Announcements data/announcements.txt doesn't exist 2011.11.16 14:16:32,834 INFO 1 com.l2jserver.gameserver.GameServer -------------------------------------------------------------------=[ Skills ] 2011.11.16 14:16:32,836 WARNING 1 com.l2jserver.gameserver.handler.EffectHandler Problems while running EffectMansterHandler 2011.11.16 14:16:32,848 CONFIG 1 com.l2jserver.gameserver.handler.EffectHandler Loaded 0 Effect handlers 2011.11.16 14:16:32,867 INFO 1 com.l2jserver.gameserver.datatables.EnchantGroupsTable EnchantGroupsTable: Loaded 5 groups. 2011.11.16 14:16:32,870 WARNING 1 com.l2jserver.gameserver.skills.SkillsEngine Dir C:\L2J\server\gameserver\data\stats\items not exists 2011.11.16 14:16:32,870 WARNING 1 com.l2jserver.gameserver.skills.SkillsEngine Dir C:\L2J\server\gameserver\data\stats\skills not exists 2011.11.16 14:16:32,872 INFO 1 com.l2jserver.gameserver.skills.SkillsEngine SkillsEngine: Loaded 0 Skill templates from XML files. 2011.11.16 14:16:32,875 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4215 and skill level 1. 2011.11.16 14:16:32,876 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4515 and skill level 1. 2011.11.16 14:16:32,876 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 246 and skill level 1. 2011.11.16 14:16:32,877 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 247 and skill level 1. 2011.11.16 14:16:32,878 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4289 and skill level 1. 2011.11.16 14:16:32,879 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 325 and skill level 1. 2011.11.16 14:16:32,879 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4616 and skill level 1. 2011.11.16 14:16:32,880 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5965 and skill level 1. 2011.11.16 14:16:32,881 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 2025 and skill level 1. 2011.11.16 14:16:32,881 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5182 and skill level 1. 2011.11.16 14:16:32,882 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4380 and skill level 1. 2011.11.16 14:16:32,883 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 3630 and skill level 1. 2011.11.16 14:16:32,883 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 3631 and skill level 1. 2011.11.16 14:16:32,884 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5074 and skill level 1. 2011.11.16 14:16:32,885 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5075 and skill level 1. 2011.11.16 14:16:32,885 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 2139 and skill level 1.
  21. hello guys im trying to make my own server this is my 5 time i never had a problem but i got a problem can some 1 help me ???? excepion in thread "main" java.lang.exceptionininitializerError caused by java.lang.nullpointerexception blablalba skilltrees .... 3 more
  22. hello im starting my server and i want a freya server so can some1 add a freya svn link's i looked alot topics put i get error's i need 1 that 100 % work thx btw :)
  23. when i click build ant 1 i get this error -----------> com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre6"
  24. look my server.ini server addres is on 127.0.0.1 and u the other results u can ssee on top :p if i change the ip to lan =192.168....... then we can login but its stops its says server light 1 ping bratz but can't go to charachter section so server on but we can't go in to server but we can login ...........
  25. dude its request = dev help (l2j)
×
×
  • Create New...