Jump to content

Tessa

Members
  • Posts

    1,472
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by Tessa

  1. Looks pretty well! ^_^
  2. I think this guy deserves at least double reward from the advertising event!
  3. How you get it? Share it if you don't know what to do! :lol:
  4. Check for errors in the console during the start...
  5. The first seems to be ai problem.. do you have any changes that you have done or it comes with the release?
  6. No, they just love your avatar.. and your hacking skills too! :lol:
  7. Lol, I don't have a server.. ^_^ It's not only this... maybe he don't even play on this server, but still spam like someone cares about the fake online. :lol:
  8. Sure 1k+ online, these "most online ever" stats in their forum proves that... ^_^
  9. We waiting to see what is this mystic idea, that costs 3k euro to someone! ^_^
  10. Safe enchant 5, max 20 and normal enchant system. Max 20 because of the red glow, and normal enchant system because of the idea to reach the max with chance to fail. ^^ Many servers uses safe enchant system because of votes and donations..
  11. I think you get me wrong. ^^ I was wondered why l2jfrozen don't have this packet.. :P The name of the file doesn't matter (it's for the developer), since the client reads the first writeC packet.
  12. Thanks! :) I don't use l2jfrozen's pack, but seems there are many people using it. Here is what this patch does: http://prntscr.com/5godye http://prntscr.com/5goe6w http://prntscr.com/5goeh7
  13. Just remove the SocialAction packet that they sends, and they won't turn anymore! ^_^
  14. Is this the big magic you trying to reveal? http://prntscr.com/5gqny7 Just create a replacer that gets the crest id, then the server id and concatenate them like this <img height=12 width=16 src="Crest.crest_%serverId%_%crest%"> EDIT: I think I should give an example :lol: Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEditChar.java =================================================================== --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEditChar.java (revision 5) +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminEditChar.java (working copy) @@ -458,6 +458,8 @@ NpcHtmlMessage adminReply = new NpcHtmlMessage(5); adminReply.setFile("data/html/admin/"+filename); adminReply.replace("%name%", player.getName()); + adminReply.replace("%crest%", String.valueOf(player.getClan().getCrestId())); + adminReply.replace("%serverId%", String.valueOf(Config.SERVER_ID)); adminReply.replace("%level%", String.valueOf(player.getLevel())); adminReply.replace("%clan%", String.valueOf(ClanTable.getInstance().getClan(player.getClanId()))); adminReply.replace("%xp%", String.valueOf(player.getExp())); Enjoy! :P
  15. Hello devs! I want to share small code that shows castle door's/wall's hp. Seems l2jfrozen don't have this feature, so I've decided to extend its current code. Index: head-src/com/l2jfrozen/gameserver/model/actor/knownlist/PcKnownList.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/knownlist/PcKnownList.java (revision 1113) +++ head-src/com/l2jfrozen/gameserver/model/actor/knownlist/PcKnownList.java (working copy) @@ -126,7 +126,14 @@ } else if (object instanceof L2DoorInstance) { - active_char.sendPacket(new DoorInfo((L2DoorInstance) object, false)); + if (((L2DoorInstance) object).getCastle() != null) + { + getActiveChar().sendPacket(new DoorInfo((L2DoorInstance) object, true)); + } + else + { + getActiveChar().sendPacket(new DoorInfo((L2DoorInstance) object, false)); + } active_char.sendPacket(new DoorStatusUpdate((L2DoorInstance) object)); } else if (object instanceof L2BoatInstance) Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestRecordInfo.java =================================================================== --- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestRecordInfo.java (revision 1113) +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestRecordInfo.java (working copy) @@ -90,7 +90,14 @@ } else if (object instanceof L2DoorInstance) { - _activeChar.sendPacket(new DoorInfo((L2DoorInstance) object, false)); + if (((L2DoorInstance) object).getCastle() != null) + { + _activeChar.sendPacket(new DoorInfo((L2DoorInstance) object, true)); + } + else + { + _activeChar.sendPacket(new DoorInfo((L2DoorInstance) object, false)); + } _activeChar.sendPacket(new DoorStatusUpdate((L2DoorInstance) object)); } else if (object instanceof L2BoatInstance) Index: head-src/com/l2jfrozen/gameserver/network/serverpackets/DoorInfo.java =================================================================== --- head-src/com/l2jfrozen/gameserver/network/serverpackets/DoorInfo.java (revision 1113) +++ head-src/com/l2jfrozen/gameserver/network/serverpackets/DoorInfo.java (working copy) @@ -28,10 +28,12 @@ { private static final String _S__60_DOORINFO = "[S] 4c DoorInfo"; private final L2DoorInstance _door; + private final boolean _showHp; public DoorInfo(final L2DoorInstance door, final boolean showHp) { _door = door; + _showHp = showHp; } @Override @@ -40,6 +42,7 @@ writeC(0x4c); writeD(_door.getObjectId()); writeD(_door.getDoorId()); + writeD(_showHp ? 1 : 0); } /* I've tested that on l2jserver's rev 1433, but there shouldn't be a difference.
  16. Quick and dirty loop break: http://prntscr.com/5gmlpj It breaks when reach the maximum items (5 items in this example).. :lol:
  17. 1) Yes, there is a getters that returns the drop size. 2) You can set simple count to break the loop when it reach the html allowed size, pagination needs bigger patch. 3) You can, but this needs bigger patch too.
  18. I think this writeC(234) should be writeC(0xea).. it's strange that l2jfrozen don't have the GMHennaInfo packet. ^^
  19. Just get the five parts in one file and execute it via Navicat.
  20. If it was it's first opening, these 1500 people may be real... but since it failed 3 days after it's first opening, I highly doubt. :lol:
  21. If you have applied the patch use only the html part from this http://pastebin.com/5jJWDU5r This one includes the cosmetic changes... :lol:
  22. Have you tried the patch?
  23. Lol, I can't... ^_^ Like this? http://prntscr.com/5ghfw5
  24. You should try! :lol: augmentId * 65536 + statId This formula was shared by janiii from L2JServer http://www.l2jserver.com/forum/viewtopic.php?f=80&t=11122&p=48959#p48959 You can check the stats in the system folder of the game, the file name is optiondata_client-e.dat. :P
  25. No, I mean + P.Atk, + Accuracy, + Critical... something like that. ^_^
×
×
  • Create New...