Jump to content

xuinia

Members
  • Posts

    79
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by xuinia

  1. So it works or not? :)
  2. To capture a bot like that, bot has to be on default configuration. Any small change in behaviour will result undetectable bot. And those who make bots arent stupid, so it ain't gona work.
  3. I'm trying to make NPC Flag wich you can capture by killing it. Capturing works fine. If you kill the flag it becomes your factions flag. But... problem is that the flag is imortal. Only way to kill it is by //kill. I added this code to L2TpFlaginstance.java: @Override public void reduceCurrentHp(double damage, L2Character attacker, L2Skill skill) { L2PcInstance plajor = null; boolean cord = false; if (attacker instanceof L2PcInstance) plajor = (L2PcInstance) attacker; else if (attacker instanceof L2SummonInstance) plajor = ((L2SummonInstance) attacker).getOwner(); if (/*plajor.inWorld() == 1 && */plajor.getFactionId() != getFlagFactionId()) cord = true; if (cord) super.reduceCurrentHp(damage, attacker, skill); } But that doesnt seem to do anything. HP of the flag is not decreasing when I hit it. How can I make it mortal? Working with latesr rev of l2jserver
  4. I'm trying to run l2jserver pack on vps with 1gb of ram. And it apears that it is not enough even to start game server. It starts loading, but soon runs out of memory. A year ago I started gracia final server on vps with 512mb ram and it was more then enough for a start. (its a faction server withount mobs, soo less ram needed) Now I tryed using same gracia final server pack as before, and... 1 gb is not enough to start game server. Same files, same database, same OS (debian 5.0 64bit). What has changed during a year that memory usage increased so much? Maybe it's java by itself eating all ram? Any ideas how to make it work with 1 gb ram? It's just for testing puposes so there wont be many players online. Even login server uses ~200 mb of ram... On that old 512mb ram vps, login+gs used ~300-400 mb together. Any ideas?
×
×
  • Create New...