Jump to content

vampir

Legendary Member
  • Posts

    1,899
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    0%

Everything posted by vampir

  1. Oh my God, i have got no idea how i have missed that utx while searching for radar map :P Thanks!
  2. Hi Does anybody know, where in game client are stored maps that appears in Radar(H5)? Map i am talking about: http://base.l2j.ru/img/maps/ct21_radarmap.jpg
  3. Putting it in L2PcInstance would cause value to be erased after character restart. Why using Map in this situation is not recommended?
  4. You still would have to make a Long with saved time of usage so that's a lot worse solution than simple Map, if i understood it right.
  5. No... Map must be outside the Method. You are getting errors because you didn't import Map and ConcurrentHashMap classes
  6. Good designer. I am happy with final effect and low price. Definitely going to buy more in future
  7. Akumu is the team, you just have made successful contact :P
  8. I think best option for you would be to create Map<Integer, Long> commandUsages = new ConcurrentHashMap<>(); When somebody is trying to use the command you should check long currentTime = System.currentTimeMillis(); if(commandUsages.getOrDefault(activeChar.getObjectId(), 0L) > currentTime) { activeChar.sendMessage("You cannot use it so often!"); return false; } When somebody successfully used the command you should add commandUsages.put(activeChar.getObjectId(), currentTime + TimeUnit.MINUTES.toMillis(5L));
  9. You are wrong about the client Error. You just need to modify Interface.xdat with xdat_editor, if you will delete it, then it will just not be shown. I have removed a lot of frames, texts, buttons like that and i didn't have any errors regarding that. About Interface.u, it looks like it's a dead file. Whatever you change in there(and is not causing the error) is not affecting the game.
  10. You should make a Jar(obfuscate it too), but you need to know that it still will be possible to see the code(just like i can see the code of lameguard). To create new Jar ,you need to create new Ant Build file. Example: http://pastebin.com/KuWDU47B Obfuscation - https://en.wikipedia.org/wiki/Obfuscation_(software)
  11. Do you know how many visitors might http://la2.mmotop.ru/have comparing to the other topsites?
  12. You can by removing the frame(text message + background) with the price. Did modifying Interface.u gave you correct effect in game? Did you check if price actually changed?
  13. Yes. You can remove that by editing Warehouse window with xdat_editor :)
  14. Shouldn't being in Lobby on 2 Game Clients be impossible? On my pack when 2nd client is trying to log on the account that is already in Lobby or In Game, first client is being kicked. I think that should fix the issue.
  15. That's why having that free version on the web might be a bad idea
  16. You will need to create new type of Npc and Override method onBypassFeedback with your new bypass
  17. That's fine if you just want to test it before buying
  18. Do not worry about this, that's not a problem at all. I cannot tell you about Npc Timer because i don't know what you mean
  19. You should skip sending Packet MagicSkillLaunched to person who disables it
  20. Try to create 2^31-1 empty threads and schedule them to be run every second and let me know if your machine can handle it without any high CPU usage :)
  21. But server machine doesn't
  22. I had the same problem, i made screenshot during that blink and found out that the Path(in the installer bat file) to Java JDK was not updated.
  23. From my experience, not at all. I have got threads that are running far more often and that's not causing me any troubles. Just remember: - sometimes scheduleAtFixedRate/scheduleAtFixedDelay might be a lot better - sometimes you can combine 100 threads into 1(for example if you want to give 2 recommendations to every player that was online for at least 2 hours, you can create new thread for each player or you can create 1 thread that would handle them all)
  24. Check if *.jar containing Gameserver.java is loaded by .bat/.sh that you are running. My StartGameServer.bat contains that: config;./libs/* l2f.gameserver.GameServer So all of my jars are in libs folder
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock