Jump to content

Zoey76

Members
  • Posts

    281
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Zoey76

  1. For example the latest implementation of L2World class uses Trove4J and RentranLock, if you access the map directly deadlocks are the first problem you'll face. And of course reading from not thread safe require null checks if is not synchronized.
  2. You need to update it, it's a copy of current state of the map, not a reference, LOL, imagine the damage that could cause...
  3. ... He won't be able since the HTML is generated at run time and it's ignored by server packets. The solution is to create a page system, divide the data in parts and show it in different pages. Or use an external tool to visualize drops outside game.
  4. Yes to two questions.... What server version is ???
  5. What game server is this? Is clean L2J game server?
  6. Post the code, unless there are mind readers around o_O
  7. @Leluche someone has to teach the bad kids how to code. The "underground" needs some good coders from time to time.
  8. Wow... this was hard to understand... You wan't a persistence system, for more info read: http://en.wikipedia.org/wiki/Persistence_%28computer_science%29 You will always need an in-memory list or array (obviously reading from disk all the time is way too expensive). Short answer, yes it's possible to implement an incremental persistence system, for example using XML. It won't be easy if you don't have experience with XML (reading and writing), you will need to use DOM, no SAX, good thing is that both Java and PHP have great support for it. Anyway I'd recommend a relational database system, such as SQL...
  9. The code is fine, the problem maybe in URL, test with this http://l2topzone.com/lineage2/server-info/3425/L2Worldx20&x1000.html Should give you 2800+ votes. Also for testing change private final int delayForCheck = 1800 * 1000; to private final int delayForCheck = 30 * 1000; thats initial delay.
  10. Show me full current script, I tested it with first server in list and it gave me 2761 votes. You did something wrong.
  11. Have you got a professional L2J developer?
  12. http://wiki.answers.com/Q/How_do_you_stop_the_error_%27java%27_is_not_recognized_as_an_internal_or_external_command_operable_program_or_batch_file
  13. What game version are 404 and 415?
  14. Post a screenshot, your English sucks...
  15. Dirty fix, will work for a while: while ((inputLine = in.readLine()) != null) { if (inputLine.contains(" <tr><td><div align=\"center\"><b><font style=\"font-size:14px;color:#018BC1;\">")) { return Integer.valueOf(inputLine.replace(" <tr><td><div align=\"center\"><b><font style=\"font-size:14px;color:#018BC1;\">", "").replace("</font></b></div></td></tr>", "")); } } You need to copy the if statement and replace it in your script. Please don't bump your topic 3 times in a row the same hour. @l22expert do you have any idea of what you posted?
  16. You need to retrieve the players each time that the class runs: public void run() { Collection<L2PcInstance> players = L2World.getInstance().getAllPlayers(); for(L2PcInstance player : players) { ... Also change this: ThreadPoolManager.getInstance().scheduleGeneral(new AutoRewardTask(), 300000); If you don't want to flood the server.
  17. JDK NOT JRE: http://maxcheaters.com/forum/index.php?topic=226757.msg1999322#msg1999322 Also check http://confluence.atlassian.com/display/DOC/Setting+the+JAVA_HOME+Variable+in+Windows
  18. Go here and download the right Eclipse 3.7.1 for your OS: http://www.eclipse.org/downloads/packages/eclipse-classic-371/indigosr1 Then in Eclipse go to: Windows -> Preferences -> Java -> Compiler -> Compiler compliance level -> 1.7 You must also have JDK 1.7 installed: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html Please someone close this, since this was answered like 10 times in L2J official board.
  19. If you are using L2J sources, revision 5108: http://trac.l2jserver.com/changeset/5108 You need Java 7 to compile and run it.
  20. Review: Simple and clean, good share.
  21. Close or merge this topics: http://maxcheaters.com/forum/index.php?topic=224839.0 Don't do duplicates!
  22. This would require client mods, which should be posted in other sub forum, and server side datapack...
  23. Packets you can use current Interlude's, and about the kamaels will take a while but you can get rid of them, I'm always talking about core, don't mix datapack, of course there is no point on taking a new chronicle datapack. Anyway Freya ins't that clean or stable anyway :D Have fun.
  24. What makes this project special and not be another project like http://maxcheaters.com/forum/index.php?topic=218162.0 ?
×
×
  • Create New...