Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Community Answers

  1. ^Wyatt's post in Autioneer Clan Hall Price Id was marked as the answer   
    It's not something fast to do.
    U should take a look inside http://svn.l2jserver.com/trunk/L2J_Server/java/com/l2jserver/gameserver/model/entity/Auction.java and change fields like "ADENA_ID" from com.l2jserver.gameserver.model.itemcontainer.PcInventory and put your id, but also you should change methods such as "ClanTable.getInstance().getClanByName(Clan).getWarehouse().getAdena()"
  2. ^Wyatt's post in No Xp/sp At Range ! was marked as the answer   
    Ye its for party and also if you're alone, check the /* */ lines above that option.
    The problem/solution I think should be here http://svn.l2jserver.com/branches/L2_GameServer_T2.5/java/com/l2jserver/gameserver/model/actor/L2Attackable.java  calculateRewards() method. Try debugging it or removing the "if (!Util.checkIfInRange(Config.ALT_PARTY_RANGE, this, ddealer, true))
                                continue;" to see what happens.
  3. ^Wyatt's post in Boss was marked as the answer   
    Try adding it manually (when the server is OFF) inside the table from the DB (grandboss_spawnlist, raidboss_spawnlist, or whatever is called in your pack)
  4. ^Wyatt's post in Help With Siege Guards was marked as the answer   
    Take a look inside your database, something about siege and spawnlist...  :y u no?:
  5. ^Wyatt's post in Save Votes On Database was marked as the answer   
    his table hasn't been empty any time so the problem is not there.
  6. ^Wyatt's post in Freya Npc's was marked as the answer   
    http://svn.l2jdp.com/branches/L2J_DataPack_CT2.5/dist/sql/game/npc.sql
    cntrl + F auctioneer
  7. ^Wyatt's post in Config Help :) was marked as the answer   
    Already gave you the fix.
  8. ^Wyatt's post in Custom Nobless Quest. was marked as the answer   
    Try changing this line
     

    -if(getId() != BARAKIEL) +if(npc.getId() != BARAKIEL)
  9. ^Wyatt's post in How To Type With Big Size On Htm was marked as the answer   
    <font name="hs12">Lazy Example</font>

  10. ^Wyatt's post in About Npcs was marked as the answer   
    So which pack are you using? You should look for isAttackable() method inside L2Npc or L2NpcInstance and add there a "return false;" or a config to allow you to switch it as you wish.
  11. ^Wyatt's post in Sa Npc Request was marked as the answer   
    Yes, you must. Take a look into another item with SA and you will see.
    An item with SA is a different item, so you can't make a npc that puts "SA", you can make a npc that what it does is destroy your item and give you a new one (with SA).
    So the easiest way is to create a simple .xml and make a shop.
  12. ^Wyatt's post in Help. Vote Reward was marked as the answer   
    Your methods to get votes are outdated... just change this...
     
     

    while ((inputLine = in.readLine()) != null) {      if(Config.VOTE_SYSTEM_HOPZONE == false){      //TopZone -     if(inputLine.contains("<tr><td><div align=\"center\"><b><font style=\"font-size:14px;color:#018BC1;\">")){ -     String i = inputLine.replace("<tr><td><div align=\"center\"><b><font style=\"font-size:14px;color:#018BC1;\">", ""); -     i = i.replace("</font></b></div></td></tr>", ""); -     i = i.trim(); -     int o = Integer.parseInt(i); -     return Integer.valueOf(o); + if (inputLine.contains("class=\"votes2\">Votes:")){ + return Integer.valueOf(inputLine.split(">")[3].replace("</div", ""));      }      } else {      //for hopzone -if (inputLine.contains("Anonymous User Votes")) + if (inputLine.contains("rank anonymous tooltip")) } }
  13. ^Wyatt's post in Raid Event (Help) was marked as the answer   
    U should use the command "admin_rai_load" before using the autoevent command, or add loadData() at the start of this method "public static void autoEvent()"
  14. ^Wyatt's post in Some Npc Html Code Needed was marked as the answer   
    I have no clue if it's listed somewhere inside the system, but u can use google and find some shares with more or less all icons from l2, for example, http://www.4shared.com/zip/GJaAx2ks/l2jdlgmk_1011b6445.htm
  15. ^Wyatt's post in Any Help? was marked as the answer   
    Change your GS .sh or .bat RAM "Xms1024m -Xmx1024m"
  16. ^Wyatt's post in Showing Flag Or Karma Inside was marked as the answer   
    add another variable as counter for example int e = 0; then inside the existing check add another one like if(character.getPvpFlag() >0)  increase the counter e++; and add another check if(character.getKarma() > 0) increase the other counter i++, then display the "i" and "e" values as you wish.
  17. ^Wyatt's post in Latest Revision Ctf Errors..! was marked as the answer   
    for (BuffInfo e : summon.getEffectList().getEffects()) { if (e != null) { e.stopAllEffects(false); } }
  18. ^Wyatt's post in Priest No Create New Clan was marked as the answer   
    @author
    freedy already answered your question, just change the command "quest" by another name, then change the if(command.equals("") with the new command name, and the htmls that have action=-h bypass Quest customshit blabla" change it too, with the new name.
  19. ^Wyatt's post in Some Help, Thx was marked as the answer   
    You simply can't do it so easy. Plus you need client mod.
    It's a mod that worth some $, and It's in the MarketPlace btw.
  20. ^Wyatt's post in Multifuctionzone Annoying "to Village" Button -_- was marked as the answer   
    Fuck I didn't sleep kill meh, no logic working today.
    Yes, my bad, it should be:
     

    _canTeleport = cha.canRevive() && !cha.isPendingRevive() && !(cha.isInsideZone(ZoneId.MULTI_FUNCTION) && L2MultiFunctionZone.revive));
  21. ^Wyatt's post in Pailaka 73 Injured Dragon --Freya Ct2.5 was marked as the answer   
    Try this http://www.mediafire.com/?ky5a18e358kaeh4
    U must add the line inside scripts.cfg
  22. ^Wyatt's post in Admin Command: Hero For A Limited Time..! was marked as the answer   
    Which devlin posted still misses sql queries and so. Try this one...
     
    http://pastebin.com/FWVTjQi4
     
    Should work, u must add the line in MasterHandler.java to load the admincommand and modify your characters table adding customherotime field, at the end.
    The command should work like //admin customhero 30   -> 30 or any number (hero days) 0 to make it unlimited or without any number.
  23. ^Wyatt's post in Clan War Zone L2Jfrozen Problem With Adopt To L2Jserver was marked as the answer   
    You could change the L2Character patch with a simple

    public static final int ZONE_PVP = 1; public static final int ZONE_PEACE = 2; public static final int ZONE_SIEGE = 4; public static final int ZONE_MOTHERTREE = 8; public static final int ZONE_CLANHALL = 16; public static final int ZONE_UNUSED = 32; public static final int ZONE_NOLANDING = 64; public static final int ZONE_WATER = 128; public static final int ZONE_JAIL = 256; public static final int ZONE_MONSTERTRACK = 512; public static final int ZONE_SWAMP = 1024; public static final int ZONE_NOSUMMONFRIEND = 2048; public static final int ZONE_OLY = 4096; + public static final int ZONE_CLANWAR = 4097; add it in zonedata
    else if(zoneType.equals("SwampZone")) { temp = new L2SwampZone(zoneId); } else if(zoneType.equals("ClanWarZone")) { temp = new L2ClanWarZone(zoneId); } and then in the L2PcInstance check, instead of isinsideclanwarzone() make isInsideZone(ZONE_CLANWAR)and inside the zone change ((L2PcInstance) character).setIsInsideClanwarZone(true); with ((L2PcInstance) character).setIsInsideZone(ZONE_CLANWAR, true);
  24. ^Wyatt's post in [Question] Holy **** ,no Matter How Much I Search ,i Cant Find Crp Aka Clan Reputation........ was marked as the answer   
    CTRL + H "addreputation" or "setreputation" or "reputation" dunno how it's called in ur pack
  25. ^Wyatt's post in {HELP} Setting up ips on c6 server was marked as the answer   
    That, plus open that ports in your router panel. 
    Btw this topic was created at 14 June 2013, I doubt that he still has the problem. Locked.
×
×
  • Create New...