Jump to content

Bleadd

Members
  • Posts

    523
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Bleadd

  1. You can have a detailled answer with the search button. Max 3 min.
  2. if ((text.startsWith(":") && activeChar.isVIP())) { CreatureSay cs = new CreatureSay(activeChar.getObjectId(), Say2.PARTYROOM_ALL, activeChar.getName(), "[Demon Channel] "+text.substring(1)); for (L2PcInstance player : L2World.getInstance().getAllPlayersArray()) { if (player.isVIP()) { player.sendPacket(cs); } } } Is finally the good code. Thanks An4rchy.
  3. Search omfg. Other won't make server for you.
  4. http://maxcheaters.com/forum/index.php?action=search;advanced Shared by me.
  5. if ((text.charAt(0) == ':') && activeChar.isVIP()) { CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getAppearance().getVisibleName(), "[VIP] "+text); for (L2PcInstance player : L2World.getInstance().getAllPlayersArray()) { if (player.isVIP()) { player.sendPacket(cs); } } } Working. Thanks both to you. Edit : I guess colors for chat are in client? Edit 2 : if ((text.charAt(0) == ':') && activeChar.isVIP()) { StringBuffer temptext = new StringBuffer(text); temptext.deleteCharAt(0); String text2 = ""; text2 = text2+ temptext.toString(); text2 = ':' + ' ' + text; // For an easy read. CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getAppearance().getVisibleName(), "[VIP Channel] "+text2); I want to delete the character ':' from the string. INGAME it's look like : Pseudo: [VIP Channel] 122:test Why 122 and not : "Pseudo: [VIP Channel] : text" ?
  6. if ((text.charAt(0) == ':') && activeChar.isVIP()) { CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getAppearance().getVisibleName(), "[VIP] "+text); Collection<L2PcInstance> plrs = activeChar.getKnownList().getKnownPlayers().values(); for (L2PcInstance player : plrs) { if (player.isVIP()) { player.sendPacket(cs); } } activeChar.sendPacket(cs); } Work for this L2Pcinstance but not for others players.
  7. I've modified the Say2.java and add the 2 handlers that i want to create. After i've create the 2 handler in data/handlers/chathandlers The core part is over now? Do you know where is clientcoded?
  8. Bump with a question. I've made the files to create a new channel but there is a problem : How can i bind a button to this channel? (Example : ! for shout, $ for my channel.)
  9. http://www.java.net/node/664117
  10. hello, How can i make a new channel ? L2jServer Hi5. Cordially, Bleadd
  11. 1/ Edit base stat of class. or 2/ Make skills that decrease pdef/patk/mdef (what you want) and add it on skilltree for the class wanter to be nerfed.
  12. your system protocol match protocol in server config? port 2106 open tcp/udp?
  13. Not Freya? So you need top ut good ip in server.properties (gameserver /config folder) and loginserver.proeprties in login folder.
  14. I'm an ass.. I've forget : <set name="buffDuration" val="10000" /> Thanks Tryskell.
  15. a veryyy ollld preconfigured frozen pack i guess x)
  16. Lol. => No courtesy => No infos => Wrong Section
  17. What was the problem for database_installer.sh? Login.properties is configured? (loginserver.properties) Username/password are put in the properties?
  18. THis is not to blame you but if you don't make difference between client and server, don't make a server..
  19. IL = Java 6 H5 = Java 7 but i think you have at least java 6 for IL. Really strange... and sh ./Database_installer.sh (without sudo)?
  20. Dumb question, but Mysql installed?!
  21. So strange. The pack is yours? Why have you choose L2J Frozen Interlude Project? It's the same that make commits to add bugs in the core..
  22. So always install with sudo sh ./database_installer.sh (I do with this method, and works for me.) After, "Error: Could not find or load main class ..libs.c3p0-0.9.1-pre10.jar ./RegisterGame.sh: 2: net.sf.l2j.gsregistering.GameServerRegister: not found" is in libs folder. You have this .jar? Sure?
×
×
  • Create New...