Jump to content

melron

Legendary Member
  • Posts

    1,399
  • Credits

  • Joined

  • Last visited

  • Days Won

    28
  • Feedback

    0%

Everything posted by melron

  1. Do you want to be able as admin to see the all the objects even if they are not the same instance id with you?
  2. I agree. He is doing pretty nice job and as you said, he is cheap. I've worked with him many times in the past, without any issue. Also, his personality is awesome :D
  3. post OlympiadManager#IsRegistered method
  4. Nice to see gve servers out there. Best of luck guys!
  5. The comment (//) stands there for a reason.. put the code inside
  6. find a code for dualbox limit and just do a check for class ids
  7. -if (getEffected().isPlayable()) +if (getEffected() instanceof Player && !getEffected().getActingPlayer().isInOlympiadMode())
  8. paste the code where the RestoreBuff is taking place
  9. its an option but not the best. RestoreBuf class shouldn't be called if the player is in oly.. so your restriction must be used in the other file
  10. i tell you what. A frozen pack with a few changes in gameplay handled over than 800 ppl without a single lag. I mean, if a frozen retail pack can handle this number of ppl, imagine what could happen with acis,lucera that they are under developing and ofc far better in perfomance than frozen... Also, read again what kara said, its not 2k8... ;)
  11. Its obvious. The config path in files isnt match with the path that setted in java. So by this way, java reads default values which is probably true. :D
  12. Player#create public static Player create(int objectId, PlayerTemplate template, String accountName, String name, byte hairStyle, byte hairColor, byte face, Sex sex) { // Create a new Player with an account name Appearance app = new Appearance(face, hairColor, hairStyle, sex); Player player = new Player(objectId, template, accountName, app); // Set the name of the Player player.setName(name); // Set access level player.setAccessLevel(Config.DEFAULT_ACCESS_LEVEL); // Cache few informations into CharNameTable. PlayerInfoTable.getInstance().addPlayer(objectId, accountName, name, player.getAccessLevel().getLevel()); // Set the base class ID to that of the actual class ID. player.setBaseClass(player.getClassId()); + player.getStat().setLevel((byte) 80);
  13. + public static final <T> T get(Set<T> set) + { + return get(new ArrayList<>(set)); + }
  14. We already talked before some days. My time isn't helping for this one
  15. The fastest way is to delete the method getHwid() from the player class ( it can be in character class too but i doubt) and you will get as errors all the lines that are related to hwid.
  16. This is happening because the hwid method returns null. After the first register (and storing the null hwid) the server checks the hwid of the 2nd player if exists in the stored hwids and this is gonna return true. Fix the hwid or disable it. (Search where you are storing the hwid in oly)
  17. Store the MS when the char is completing the q and check if 12 passed when the char is requesting a new one... if (player.getQEndTime(601) + TimeUnit.HOURS.toMillis(12) < System.currentTimeMillis()) .... // 12 hours passed else .... // Not passed
×
×
  • Create New...