Jump to content

Setekh

Legendary Member
  • Posts

    2,510
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Setekh

  1. for them this is an art:P so u see only a preview of it and if u got $$ no problem ul have them in 15 min if u use Western Union xD
  2. ye u guys are probably right this post restriction thingy stinks xD ps: its not only for donate...i just did an example...its a fun thing to do:P u have endless possibilities to do anything with this codes :P It works on any pack ( specially perfect and tested on l2j and oneo....) The l2j-archid thingy is for publicity xD
  3. k edited..and my pack...has that implemented xD + its oneo source not l2j :P so its 1 + for the pack :)
  4. This can be accomplished on any l2j gracia and interlude any pack xD Well lets start shell we?:D At the bottom of the post i attached the admin commands...:D And first we chose a .properties file...lets say other.properties # --------------------------------- # Donator Color Name & Title Config # --------------------------------- # Donator Name Color Enabled?. DonatorNameColorEnabled = false # Donator Color Name Selection. DonatorColorName = 00FFFF # Donator Title Color Enabled? DonatorTitleColorEnabled = false # Donator Color Name Selection. DonatorTitleColor = 00FFFF we add this there. Then in config.java we add the title color and name color of a donator ( RGB Code Color ) /** KidZor: Name Color System of Donator enable */ public static boolean DONATOR_NAME_COLOR_ENABLED; /** KidZor: Color of donator name */ public static int DONATOR_NAME_COLOR; /** KidZor: Title Color System of Donator enable */ public static boolean DONATOR_TITLE_COLOR_ENABLED; /** KidZor: Color of donator name */ public static int DONATOR_TITLE_COLOR; /** Donator color name **/ DONATOR_NAME_COLOR_ENABLED = Boolean.parseBoolean(otherSettings.getProperty("DonatorNameColorEnabled", "False")); DONATOR_NAME_COLOR = Integer.decode("0x" + otherSettings.getProperty("DonatorColorName", "00FFFF")); DONATOR_TITLE_COLOR_ENABLED = Boolean.parseBoolean(otherSettings.getProperty("DonatorTitleColorEnabled", "False")); DONATOR_TITLE_COLOR = Integer.decode("0x" + otherSettings.getProperty("DonatorTitleColor", "00FF00")); and in enterworld.java (clientpaket) this little code, its for donators when they log and the color of the title and name ( if enabled in config if (Config.DONATOR_NAME_COLOR_ENABLED) { if (activeChar.isDonator()) { activeChar.getAppearance().setNameColor(Config.DONATOR_NAME_COLOR); activeChar.sendMessage("Welcome Back: " + activeChar.getName() + " to our Server!"); activeChar.sendMessage("Aww and btw " + activeChar.getName() + " please take time to vote ;)"); activeChar.sendMessage("Please, Enjoy your Stay !"); } } if (Config.DONATOR_TITLE_COLOR_ENABLED) { if (activeChar.isDonator()) { activeChar.getAppearance().setTitleColor(Config.DONATOR_TITLE_COLOR); } } Its good to add it on line 312 Now in L2PlayableInstance.java /** donator System **/ private boolean _donator = false; /** * Set the Donator Flag of the L2PlayableInstance.<BR><BR> **/ public void setDonator(boolean value) { _donator = value; } /** * Return True if the L2PlayableInstance is a Donator.<BR><BR> **/ public boolean isDonator() { return _donator; } put it at the end it don't matter xD And now L2PcInstance.java xD find private static final String RESTORE_CHARACTER and at the end of the string tipe " ,hero,donator " this sh1t loads u hero and donator xD then we go find: player.setNoble(rset.getInt("nobless")==1); then after it add the lines: //L2J-Archid Donator and Hero Mod player.setHero(rset.getInt("hero")==1); player.setDonator(rset.getInt("donator")==1); And after that find: public void leaveOlympiadObserverMode() line 8015 after the strings end put this code: ( it updates the status...changing the donator color name & title instantly when u do //setdonator xD ) public void updateNameTitleColor() { // Donator Color and title update // Note: this code can be used for GM's too if (isDonator()) getAppearance().setNameColor(Config.DONATOR_NAME_COLOR); getAppearance().setTitleColor(Config.DONATOR_TITLE_COLOR); broadcastUserInfo(); } And were almost done! Now we add the the commands (The admin commands are attached at the end of the post add them in: gameserver/handler/admincommandhandlers ) After that's done we register our commands: In l2j server or any tipe of that (L2J Archid, L2J Oneo) net/sf/l2j/gameserver/gameserver.java import net.sf.l2j.gameserver.handler.admincommandhandlers.AdminDonator; import net.sf.l2j.gameserver.handler.admincommandhandlers.AdminHero; import net.sf.l2j.gameserver.handler.admincommandhandlers.AdminNoble; And then we add this (this register the commands xD ) _adminCommandHandler.registerAdminCommandHandler(new AdminDonator()); _adminCommandHandler.registerAdminCommandHandler(new AdminHero()); _adminCommandHandler.registerAdminCommandHandler(new AdminNoble()); Well that's kinda all... Awwwww almost forgot xD In command-privileges.properties Add at the end ################# ### L2JArchid ### ################# admin_sethero = 100 admin_setnoble = 100 admin_setdonator = 100 Admin Comands: Admin Commands Java K now that's all xD Aww and please tell me this is useful or not cus it think it is >.> Awwwww and btw The //sethero is permanently and it dosent interfere with Olympiad xD good for donate... Shit i forgot this: For the Db XD ALTER TABLE `characters` ADD `donator` decimal(1,0) NOT NULL DEFAULT 0; ALTER TABLE `characters` ADD `hero` decimal(1,0) NOT NULL DEFAULT 0; Run this query in mysql..so the hero and the donator Stores xD Thx
  5. A-Styles web pages sends me cold shivers down my back He knows his work Respect ;)
  6. this is a good thing..but its kinda wired .. why don't u create a skill handler that makes castle lord crown summon all clan members or a voice command that dose that...that wold be cool xD Imagine a entire clan spawns in the enemy's face xD that pwns dude xD specialy on faction servers...
  7. aww awesome client mods dude u got talent ;)
  8. Outer space atm, I'm still working on the pack:P I need to fix skills and shit......make it more retail like interlude full...hopefully xD
  9. And if we post that lets add the other one :P anti phx enchant: in net/sf/l2j/gameserver/clientpackets you will findSend WareHouseDepositList.java open it then add after imports finsih this lines: import net.sf.l2j.gameserver.util.IllegalPlayerAction; import net.sf.l2j.gameserver.util.Util; after that: } if (player.getActiveEnchantItem() != null) { player.setAccountAccesslevel(-100);// ban first to remove any potential exploit like restarting player.sendMessage("You got owned by useing phx!"); try { Thread.sleep(5000); // Sleeps 5 seconds } catch (InterruptedException e) {} player.closeNetConnection(); // BB forever :)) return; } ul insert that at line after this lines: if ((warehouse instanceof ClanWarehouse) && Config.GM_DISABLE_TRANSACTION && player.getAccessLevel() >= Config.GM_TRANSACTION_MIN && player.getAccessLevel() <= Config.GM_TRANSACTION_MAX) { player.sendMessage("Transactions are disable for your Access Level"); return; } or find // Alt game - Karma punishment if (!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE && player.getKarma() > 0) return; and put the anti-phx enchant code above it it cold be simple to ad a diff file..but i dont have the time xD but maybe il add it later.. And message to a moderator..please delete the posts that my fellow romanians posted...thx
  10. As u read in my other posts phx can be used on announcements only in l2j free packs Edit by fakoykas: Go to file Say2.java located here C:\Server\gameserver\src\main\java\net\sf\l2j\gameserver\clientpackets and then do what kidzor says This code can be added after: @Override protected void runImpl() { L2PcInstance activeChar = getClient().getActiveChar(); Easy easy to spot xD not too hard ul see it or search for the text in eclipse useing ctrl+f This is the real code for anti-phx announce // If no or wrong channel is used - return if (_type == SystemChatChannelId.Chat_None || _type == SystemChatChannelId.Chat_Announce || _type == SystemChatChannelId.Chat_Critical_Announce || _type == SystemChatChannelId.Chat_System || _type == SystemChatChannelId.Chat_Custom || (_type == SystemChatChannelId.Chat_GM_Pet && !activeChar.isGM())) { _log.warn("[Anti-Phx] Illegal chat channel was used."); return; } if (activeChar == null) { _log.warn("[say2.java] Active Character is null."); return; } it cold be simple to ad a diff file..but i dont have the time xD but maybe il add it later.. And message to a moderator..please delete the posts that my fellow romanians posted...thx
  11. l2phx works on 4 servers i know (l2jOneo pack)...and most of hopzone list ...interlude servers.... ;D
  12. i cant advertise ;D But u can look on first page on hopzone ul see terror there ;D
  13. Il share the icarus too...after i finish all of them...there nice for a pvp/donate server xD
  14. Hello, my custom epics...hope i can get 1 thx for them xD The bow u see in this image is Terror it will be added soon after i finish all of them. Devils Spear: Hades Dagger: Thor Hammer: Odin Cleaver: Artemis Bow: Zeus Mace: Aeris Fists (not sure if thats the name sry if im worng): Dual Medusa Blades: Medusa Blade: Now the Kamael weapons: (i runed out of greek gods so didnt know what to use..) Angelic Crossbow: http://img88.imageshack.us/img88/9715/shot00046wh4.jpg Archangel Rapier: http://img228.imageshack.us/img228/3162/shot00047ot3.jpg Death Gods Sword: http://img223.imageshack.us/img223/2115/shot00048zu6.jpg ------------------------------------------------------------------------- U see diferent characters becose i did kamael epics 3 hours later after the other epics. Install Guide: Run the sqls in ur DB, (If u encounter the problem when u cant equip item its cus of some etcitems has the same id as the epics, u can change the epic ids but if ur updateing ur interlude server in hellbound its better to delete the ids from 9700 to 9712...so ul not have problems with players loseing there items..) After u done that just paste the the data folder in ur server folder and overwrite. And add them in ur patch with file edit... ------------------------------------------------------------------------- Download Links: 4shared RapidShare ------------------------------------------------------------------------- A simple thx will be lovely.
×
×
  • Create New...