Jump to content

ScRaB4ever

Members
  • Posts

    446
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by ScRaB4ever

  1. line 482 sto diko m if (locationIndex == locationCount) locationIndex = 0; spawnInst._lastLocIndex = locationIndex; } // Set the X, Y and Z co-ordinates, where this spawn will take // place. final int x = locationList[locationIndex].getX(); final int y = locationList[locationIndex].getY(); final int z = locationList[locationIndex].getZ(); final int heading = locationList[locationIndex].getHeading(); <<<<<<<<<<< line 482 // Fetch the template for this NPC ID and create a new spawn. L2NpcTemplate npcTemp = NpcTable.getInstance().getTemplate(spawnInst.getNpcId()); if (npcTemp == null) { _log.warning("Couldnt find NPC id" + spawnInst.getNpcId()+ " Try to update your DP"); return; } L2Spawn newSpawn = new L2Spawn(npcTemp); newSpawn.setLocx(x); newSpawn.setLocy(y); ευχαρηστω π προσπαθεις να με βοηθησεις!!
  2. to code ειναι απο αλλο παλικαρι απλα εγω εχω το ιδιο error. σε εμενα ειναι στη γραμμη 169 _log.fine("SpawnTable: Spawning completed, total number of NPCs in the world: " + _npcSpawnCount); } public L2Spawn getTemplate(int id) { return _spawntable.get(id); } public void addNewSpawn(L2Spawn spawn, boolean storeInDb) { _highestId++; spawn.setId(_highestId); _spawntable.put(_highestId, spawn); <<<<<<<<<<<<<< LINE 169 if (storeInDb) { java.sql.Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("INSERT INTO spawnlist (id,count,npc_templateid,locx,locy,locz,heading,respawn_delay,loc_id) values(?,?,?,?,?,?,?,?,?)"); statement.setInt(1, spawn.getId()); statement.setInt(2, spawn.getA-beep-t()); statement.setInt(3, spawn.getNpcid()); statement.setInt(4, spawn.getLocx()); statement.setInt(5, spawn.getLocy()); statement.setInt(6, spawn.getLocz()); statement.setInt(7, spawn.getHeading()); statement.setInt(8, spawn.getRespawnDelay() / 1000); statement.setInt(9, spawn.getLocation()); statement.execute(); statement.close(); } catch (Exception e) { // problem with storing spawn _log.warning("SpawnTable: Could not store spawn in the DB:" + e); }
  3. καλησπερα στο forum! εχω ενα error στον server μου που με ταλεπορει καιρο... μηπως μπορει καποιος να βοηθησει?? AutoSpawnHandler??: An error occurred while initializing spawn instance (Object ID 268478949): java.lang.NullPointerException?? java.lang.NullPointerException?? at javolution.util.FastMap??$Entry.access$100(Unknown Source) at javolution.util.FastMap??.addEntry(Unknown Source) at javolution.util.FastMap??.put(Unknown Source) at net.sf.l2j.gameserver.datatables.SpawnTable??.addNewSpawn(SpawnTable??.ja va:170) at net.sf.l2j.gameserver.model.AutoSpawnHandler??$AutoSpawner??.run(AutoSpaw?? nHandler.java:523) at java.util.concurrent.Executors$RunnableAdapter??.call(Unknown Source) at java.util.concurrent.FutureTask??$Sync.innerRunAndReset(Unknown Source) at java.util.concurrent.FutureTask??.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor??$ScheduledFutureTask??. access$101(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor??$ScheduledFutureTask??. runPeriodic(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor??$ScheduledFutureTask??. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor??$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor??$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
  4. thank you!!!!
  5. join and see :/
  6. i know i have a problem with nameservers... i have added a mask for site untill i fix my nameservers... btw maybe bump? @D4rkAngeL666: thank you dude! all major stuff working like a charm and still adding and fixing!!! see ya ingame!!
  7. go at server.prop at gameserver/config folder and make it like this: MinProtocolRevision = 1 MaxProtocolRevision = 999
  8. ena search ama kaneis mporeis na breis ayton ton uber odhgo.... http://maxcheaters.com/forum/index.php?topic=84234.0
  9. sta config t server exeis grapsei: URL=jdbc:mysql://localhost/l2jdbl2jdb bale: URL=jdbc:mysql://localhost/l2jdb
  10. sto autospawnhandler.java bazeis: - if (spawnInst.isBroadcasting()) + if (spawnInst.isBroadcasting() && (npcInst != null)) ena lock plz!
  11. mpes sto table npc, bres ta mobs me to id toys h to onoma toys kai 8a ta breis ekei....
  12. 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?
  13. diko s http://portforward.com/networking/staticip.htm
  14. 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
  15. 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)
  16. 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!
  17. 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
  18. 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!
×
×
  • Create New...