Jump to content

l2redkiller

Members
  • Posts

    200
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by l2redkiller

  1. heya dudes i wanna make my little own server and wanna save all changes in one pack. so if if downloaded and uploaded in my own space how can i syncro with l2j svn ? so hope for a easy way and not load one after one changeset. Thanks for the big help :D
  2. why bad hwat you wanna do there better oO ? and i am beginner in java so thanks.
  3. hmm... okay need tests where server will save crest if maybe npcs use it in town. so i dont know to i just use the old version of captcha. so i try to loop if he dont enter in 30sec he will jailed and if more than 1 time he will baned.
  4. the images in core dont work. just add in client systemtextures
  5. i found on pvp pk colors and updatet to this with gms dont get color and the special was mine idea becurse if get hero and CL so have fun with that :D let me know if anything is not working thanks
  6. here is my share : Index: /trunk/L2J_Server/java/config/l2jmods.properties =================================================================== --- /trunk/L2J_Server/java/config/l2jmods.properties (revision 6) +++ /trunk/L2J_Server/java/config/l2jmods.properties (revision 8) @@ -283,4 +283,27 @@ # Mana Potion (item ID 728), using skill ID 10001. EnableManaPotionSupport = False + + +# This option Enable to set Clan Leader Name Color +# default = False +EnableClanLeaderColor = False +# default = 00FF00 (green) +ClanLeaderColor = 00FF00 +# default = 4 +ClanLvL = 4 + +# This option Enable to set Hero Name Color +# default = False +EnableHeroColor = False +# default = 00FF00 (green) +HeroColor = 00FF00 + +# This option Enable to set Clan Leader & Hero Name Color +# default = False +EnableCLHColor = False +# default = 00FF00 (green) +ClanLeaderHeroColor = 00FF00 +# default = 4 +ClanLvL1 = 4 Index: /trunk/L2J_Server/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- /trunk/L2J_Server/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java (revision 6) +++ /trunk/L2J_Server/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java (revision 8) @@ -416,4 +416,29 @@ activeChar.onPlayerEnter(); + if (Config.ALLOWCLANLEADERCOLOR) + { + // Clan leader Color + if (!activeChar.isHero() && !activeChar.isGM() && activeChar.isClanLeader() && activeChar.getClan().getLevel() >= Config.CLANLEADERCOLORLVL) + { + activeChar.getAppearance().setNameColor(Config.CLANLEADERCOLOR); + } + } + if (Config.ALLOWHEROCOLOR) + { + // Hero Color + if (!activeChar.isClanLeader() && activeChar.isHero()) + { + activeChar.getAppearance().setNameColor(Config.HEROCOLOR); + } + } + if (Config.ALLOWCLHCOLOR) + { + // Clan leader && Hero Color + if (!activeChar.isGM() && activeChar.isHero() && activeChar.isClanLeader() && activeChar.getClan().getLevel() >= Config.CLANLEADERCOLORLVL1) + { + activeChar.getAppearance().setNameColor(Config.CLHCOLOR); + } + } + sendPacket(new SkillCoolTime(activeChar)); sendPacket(new ExVoteSystemInfo(activeChar)); Index: /trunk/L2J_Server/java/com/l2jserver/Config.java =================================================================== --- /trunk/L2J_Server/java/com/l2jserver/Config.java (revision 6) +++ /trunk/L2J_Server/java/com/l2jserver/Config.java (revision 8) @@ -699,4 +699,14 @@ public static boolean OFFLINE_FAME; public static boolean L2JMOD_ENABLE_MANA_POTIONS_SUPPORT; + // Colors + public static boolean ALLOWCLANLEADERCOLOR; + public static int CLANLEADERCOLOR; + public static int CLANLEADERCOLORLVL; + public static boolean ALLOWHEROCOLOR; + public static int HEROCOLOR; + public static boolean ALLOWCLHCOLOR; + public static int CLHCOLOR; + public static int CLANLEADERCOLORLVL1; + // End Colors public static boolean L2JMOD_DISPLAY_SERVER_TIME; public static boolean WELCOME_MESSAGE_ENABLED; @@ -2414,4 +2424,15 @@ L2JMOD_ENABLE_MANA_POTIONS_SUPPORT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableManaPotionSupport", "false")); + // Colors + ALLOWCLANLEADERCOLOR = Boolean.parseBoolean(L2JModSettings.getProperty("EnableClanLeaderColor", "false")); + CLANLEADERCOLOR = Integer.decode("0x" + L2JModSettings.getProperty("ClanLeaderColor", "00FF00")); + CLANLEADERCOLORLVL = Integer.decode(L2JModSettings.getProperty("ClanLvL", "4")); + ALLOWHEROCOLOR = Boolean.parseBoolean(L2JModSettings.getProperty("EnableHeroColor", "false")); + HEROCOLOR = Integer.decode("0x" + L2JModSettings.getProperty("HeroColor", "00FF00")); + ALLOWCLHCOLOR = Boolean.parseBoolean(L2JModSettings.getProperty("EnableCLHColor", "false")); + CLHCOLOR = Integer.decode("0x" + L2JModSettings.getProperty("ClanLeaderHeroColor", "00FF00")); + CLANLEADERCOLORLVL1 = Integer.decode(L2JModSettings.getProperty("ClanLvL1", "4")); + // End Colors + L2JMOD_DISPLAY_SERVER_TIME = Boolean.parseBoolean(L2JModSettings.getProperty("DisplayServerTime", "false")); sorry if its already shared.
  7. i have a idea make pictures with 10+9 as example and let the player add answer but the picture will be not 10+9 he need just other names :P ^^
  8. Anyone can help me i have all other files this is the only one i need to change... Thanks
  9. i have all others just need to make the GameGuardReplay.java right i donno with the readS and readD and readB i donno and use the VALID from the l2j file i donno how to put that protect right in that file
  10. the original is l2j this: http://pastebin.com/TmnWXFtW from here i need the Protection things in the l2j file without error and if the protect false just use the default: http://pastebin.com/VVKZgqJA Thanks for help i really dont know
  11. if i add this with getpvpkills than he dont check pks or i am wrong ?
  12. thats the problem at the stats 2pvp 0 pk they get noble and the message so anything will not really check maybe the part of getPvpKills and getPkKills becurse the NobleKills is in increasePvpKills and in increasePkKills. so someone can help me
  13. ye just for test i changet 2pvps 1 pk at stat 2pvps 0 pks i get the status. thanks for help
  14. Thanks for the help but it dont work :( so more ideas ?
  15. i there i will add a config like 100 PvP & 100 PK = Noble. so just dont know how make the double check i tryed like this : and pvp : the orange thing is no error but if he get 100 pvps and have 0 pk they get the noble so what i have todo ? in config i have 100 pvp & 100 pk. thanks for help
  16. Hey dudes, i was beginning to code hero weapons enchantable but it dont wanna work i deleted this in :com\l2jserver\gameserver\network\clientpackets\AbstractEnchantPacket.java now you can enchant hero weapons with all scrolls ( normall,bless,crystal,save ) so what i have todo now ? i just wanna enchant hero wth the crystal scrolls. thanks for help me
  17. i think that is what you wanna have : the green 3 lines you need pls replay if it works.
  18. maybe thats true but i am beginner and dont know much just make configs import and post for errors so hard for me
  19. if you have the tool for no-ip and saved that it will work i made the same before i had a root mashine
  20. if you have the tool for no-ip and saved that it will work i made the same before i had a root mashine
  21. ye the voiced will unpara :P just hmm i let it there and so i had it becurse its working atm good without problems
  22. ye the voiced will unpara :P just hmm i let it there and so i had it becurse its working atm good without problems
  23. here the files : Login : http://www.mediafire.com/?k41ayuunqa3pb5a Sevrer : http://www.mediafire.com/?gr313db2dk2hsdc Add pass and put your l2fear.no-ip.org @this in l2.ini ServerAddr=l2fear.no-ip.org ip.xml is in freya version sorry forgott that
  24. here the files : Login : http://www.mediafire.com/?k41ayuunqa3pb5a Sevrer : http://www.mediafire.com/?gr313db2dk2hsdc Add pass and put your l2fear.no-ip.org @this in l2.ini ServerAddr=l2fear.no-ip.org ip.xml is in freya version sorry forgott that
×
×
  • 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