Jump to content

Gam3Master

Members
  • Posts

    284
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Gam3Master

  1. Thanks everybody for response. I updated patch. from String[] I modified to ArrayList. Didn't test but should work.
  2. Hello. Can anyone tell me how to make text on images inside game? I saw this topic with awesome community board design http://www.maxcheaters.com/topic/194081-community-board/ And I want to make table with this header like on this image Also You use rates which have some background image what is it's "url"?
  3. thanks for response I will update it
  4. If I remember for default item id was 9999, check if you have 9999 weapon in your pack.
  5. What pack are you using? do you have sources?
  6. If there is no way to edit that's mean I have to change it's info from XML to sql I guess.... Anyway thanks for help.... Close the topic
  7. Hello, Few day's ago tried to make some changes in achievements engine, which is shared in this forum, As you know it's data is in .xml file. Here it is: + <list> + <achievement id="1" name="Champion" description="Player level 80" reward="9142,5" minLevel="80"/> + <achievement id="2" name="Hero" description="player hero status" reward="9142,10" mustBeHero="true"/> + <achievement id="3" name="Noble" description="Player noblesse status" reward="9142,10" mustBeNoble="true"/> + <achievement id="4" name="Weapon" description="Enchant a weapon min + 20" reward="9142,15" minWeaponEnchant="16" /> + <achievement id="5" name="Pvp's" description="Need 1,000 PvPs" reward="9142,15" minPvPCount="1000"/> + <achievement id="6" name="Leader" description="Be a clan leader" reward="9142,10" mustBeClanLeader="true"/> + <achievement id="7" name="Pk's" description="Need 1,000 Pks" reward="9142,15" minPkCount="1000"/> + <achievement id="8" name="Craft" description="Event Medal" reward="9142,15" itemAmmount="6392,200"/> + <achievement id="9" name="Comander" description="Be clan leader of a clan level 8" reward="9142,10" minClanLevel="8" mustBeClanLeader="true"/> + <achievement id="10" name="You Life" description="Max HP,CP,MP" reward="9142,10" maxHP="1000" maxMP="1000" maxCP="1000"/> + <achievement id="11" name="Karma Player" description="Min Karma" reward="9142,5" minKarmaCount="100"/> + <achievement id="12" name="Adena Player" description="Min adena cout" reward="9142,5" minAdenaCount="100"/> + <achievement id="13" name="Player In Clan" description="Min player clan" reward="9142,5" minClanMembersCount="1"/> + <achievement id="14" name="Achievements" description="Complete all personal achievements" reward="9142,40" CompleteAchievements="18"/> + <achievement id="15" name="Reputation Clan" description="Reputation in his clan" reward="9142,5" crpAmmount="100"/> + <achievement id="16" name="Leader Of Clan" description="Ter Castle" reward="9142,5" lordOfCastle="true"/> + <achievement id="17" name="Mage Class" description="Mage Class" reward="9142,5" mustBeMageClass="true"/> + <achievement id="18" name="Slayer" description="Kill Boss and be level 80" reward="9142,5" raidToKill="77771" minLevel="80" /> + <achievement id="19" name="Skills" description="Have a +10 skill" reward="9142,15" minSkillEnchant="10"/> + <achievement id="20" name="SubClasses" description="Have 1 subclasses" reward="9142,5" minSubclassCount="1"/> + <achievement id="21" name="Gamer" description="Be online for 1 days" reward="9142,10" minOnlineTime="1"/> + <achievement id="22" name="Cursed" description="Cursed Weapon" reward="9142,10" Cursedweapon="true"/> + <achievement id="23" name="Armor" description="Complete the enchantment of armor" reward="9142,10" minHeadEnchant="16" minChestEnchant="16" minFeetEnchant="16" minLegsEnchant="16" minGlovestEnchant="16"/> + <achievement id="24" name="Married" description="Getting married in the game" reward="9142,10" mustBeMarried="true"/> + <achievement id="25" name="Vip" description="Become a VIP player" reward="9142,10" mustBeVip="true"/> + </list> I wanted to make extra attribute where is name of character, who first finished it. for example <achievement id="1" name="Champion" description="Player level 80" reward="9142,5" minLevel="80" firstFinished="Gam3Master"/> If it is not yet finished attribute must be firstFinished="" So I googled and searched for methods where I can modify xml file and did not get any result, everything was too hard for me. I saw also AnnouncementTable.java(aCis), I knew that where is similar method public void delAnnouncement(int index) { // Stop the current task, if any. _announcements.remove(index).stopTask(); // Regenerate the XML. regenerateXML(); } But as I see it deletes all information and creates a new one. Can anyone help me to make it? Thanks in advance.
  8. Really? I am not sure if aCis has it.
  9. I wrote it on my own, If it is already shared don't know...
  10. Code for forbidden names which users can't name their characters. ### Eclipse Workspace Patch 1.0 #P aCis_350 Index: config/server.properties =================================================================== --- config/server.properties (revision 5) +++ config/server.properties (working copy) @@ -64,6 +64,9 @@ # Allow delete chars after D days, 0 = feature disabled. DeleteCharAfterDays = 7 +#Restricted names for characters +RestrictedNames = fuck,dildo,admin + # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers = 100 Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 5) +++ java/net/sf/l2j/Config.java (working copy) @@ -521,6 +521,8 @@ /** clients related */ public static int DELETE_DAYS; + public static String FORBIDDEN_NAMES; + public static List<String> LIST_FORBIDDEN_NAMES = new ArrayList<>(); public static int MAXIMUM_ONLINE_USERS; public static int MIN_PROTOCOL_REVISION; public static int MAX_PROTOCOL_REVISION; @@ -1108,6 +1110,12 @@ SERVER_LIST_TESTSERVER = server.getProperty("TestServer", false); DELETE_DAYS = server.getProperty("DeleteCharAfterDays", 7); + FORBIDDEN_NAMES = server.getProperty("RestrictedNames", "fuck,dildo,admin"); + LIST_FORBIDDEN_NAMES = new ArrayList<>(); + for (String listid : FORBIDDEN_NAMES.split(",")) + { + LIST_FORBIDDEN_NAMES.add(listid); + } MAXIMUM_ONLINE_USERS = server.getProperty("MaximumOnlineUsers", 100); MIN_PROTOCOL_REVISION = server.getProperty("MinProtocolRevision", 730); MAX_PROTOCOL_REVISION = server.getProperty("MaxProtocolRevision", 746); Index: java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java (revision 5) +++ java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java (working copy) @@ -79,6 +79,18 @@ return; } + if(!Config.FORBIDDEN_NAMES.isEmpty()) + { + for(String st : Config.LIST_FORBIDDEN_NAMES) + { + if(_name.toLowerCase().contains(st)) + { + sendPacket(new CharCreateFail(CharCreateFail.REASON_INCORRECT_NAME)); + return; + } + } + } + if (!StringUtil.isValidPlayerName(_name)) { sendPacket(new CharCreateFail(CharCreateFail.REASON_INCORRECT_NAME));
  11. Maybe you can translate what does he want exactly? :D
  12. Thanks for help :) close the topic
  13. Thanks understood. Thats the case if HashMap is <Integer, Integer> but what if its <L2PcInstance>?
  14. Thanks for response! Sorry for dumb question one more but the final result must be [/img] Like this?
  15. If I understand I wouldn't ask a question :happyforever:
  16. Hello cheaters. I'm trying to adapt some things on aCis and as you know it uses java 8 and instead FastMap it needs HashMap and istead FastList it needs ArrayList. So everytime I replace imports I have some methods which HashMap/ArrayList doesn't have or have another method .for example [/img] What are similar methods for these in HashMap? or how can I change it? Thanks in advance.
  17. Can't download. can someone share it?
  18. There is nothing to fix probably you write wrong user/password/host
  19. It seems you have config store or not dances and songs. Find it in configs. otherwise delete // Dances and songs are not kept in retail. if (skill.isDance() && !Config.ALT_STORE_DANCES) { continue; }
  20. That is not buffer's problem. check storeEffect void in l2pcinstance
  21. Hello. Looking for someone who has time. So I took aCis 360 rev. added some custum things which are: 1.Feanor events(medals,letters etc) 2.Community board which includes gmshop,buffer,teleporter,services(warehouse,symbolmaker,classmaster,siege manager,olympiad manager), donation services, control panel with enable/disable feature of many things, also characters information of stats, acp. achievements, Items market(auction), crafter. statistics of top pvp pk, raid and grandbosses, with their drop view, top clans and castles. 3. Custom auto events - TVT, LastHero, Deathmatch. 4. and many many other Many of these are tested and I want to create beautiful design and fully check community board firstly. If someone has time, good pc and can speak english without translator pm me. Benefit for this someone: after finishing he can leave and use this pack. About further details I will explain if someone will want to. Thanks for attention.
  22. what means you have 30% faster gameplay?
×
×
  • 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