Epilogue NPC Buffer and GM Shop

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
RazRazvan
Posts: 43
Joined: Sat Jan 02, 2010 11:13 am

Re: Epilogue NPC Buffer and GM Shop

Post by RazRazvan »

Why these ?
Just created server , installed Rin4a's Buffer as the "readme" file says , and still , the buttons for buffs , are pretty ..... up.
Somebody can help me ?
http://img716.imageshack.us/img716/741/shot00006kx.png

Don't mind that the NPC does not show name , I know how to do that ( npc_elementals and npcaidata , since changed to H5 ).
Please , help by telling me why are the buff buttons , one over another ... I don't get it.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Epilogue NPC Buffer and GM Shop

Post by Zoey76 »

Because the HTML render in High Five changed a bit, you need to use <br /> or something like that, I never do stuff on HTML so I don't remember exactly, anyway the thing is you must change something in the code or the HTMLs from the NPC.

By the way wrong section, when you read this answer so I can move it here viewforum.php?f=42
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
RazRazvan
Posts: 43
Joined: Sat Jan 02, 2010 11:13 am

Re: Epilogue NPC Buffer and GM Shop

Post by RazRazvan »

Zoey76 wrote:Because the HTML render in High Five changed a bit, you need to use <br /> or something like that, I never do stuff on HTML so I don't remember exactly, anyway the thing is you must change something in the code or the HTMLs from the NPC.

By the way wrong section, when you read this answer so I can move it here viewforum.php?f=42
I'm sorry Zoey.
Anyway , the NPC is inserted via quest :

Code: Select all

import sysfrom java.lang import Systemfrom java.util import Iteratorfrom net.sf.l2j import Configfrom net.sf.l2j.gameserver.model.quest import Statefrom net.sf.l2j.gameserver.model.quest import QuestStatefrom net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuestfrom net.sf.l2j.gameserver.instancemanager import QuestManagerfrom net.sf.l2j import L2DatabaseFactoryfrom net.sf.l2j.gameserver.datatables import SkillTablefrom net.sf.l2j.gameserver.datatables import ItemTablefrom net.sf.l2j.gameserver.model.actor.instance import L2PcInstancefrom net.sf.l2j.gameserver.model.actor.instance import L2PetInstancefrom net.sf.l2j.gameserver.model.actor.instance import L2SummonInstancefrom net.sf.l2j.gameserver.network.serverpackets import SetSummonRemainTimefrom net.sf.l2j.gameserver.network.serverpackets import SetupGauge QUEST_ID = 555QUEST_NAME   = "NPCBuffer"QUEST_DESCRIPTION   = "custom"QUEST_LOADING_INFO = str(QUEST_ID)+"_"+QUEST_NAMENPC_ID = 555 TITLE_NAME = "Rin4a's Buffer"SCRIPT_RELOAD = True ENABLE_VIP_BUFFER = FalseVIP_ACCESS_LEVEL = 1                ENABLE_BUFF_SECTION = True    ENABLE_SCHEME_SYSTEM = True              ENABLE_HEAL = True                       ENABLE_BUFFS = True                      ENABLE_RESIST = True                     ENABLE_SONGS = True                      ENABLE_DANCES = True                     ENABLE_CHANTS = False                 ENABLE_OTHERS = True                     ENABLE_SPECIAL = True                    ENABLE_CUBIC = True                    ENABLE_BUFF_REMOVE = True                ENABLE_BUFF_SET = TrueBUFF_WITH_KARMA = False                  FREE_BUFFS = False                       TIME_OUT = True           TIME_OUT_TIME = 10                    MIN_LEVEL = 20                           BUFF_REMOVE_PRICE = 100000                 HEAL_PRICE = 1000000                      BUFF_PRICE = 100000                     RESIST_PRICE = 100000                    SONG_PRICE = 100000                      DANCE_PRICE = 100000                      CHANT_PRICE = 100000                      OTHERS_PRICE = 1000000                     SPECIAL_PRICE = 1000000                   CUBIC_PRICE = 1000000                    BUFF_SET_PRICE = 10000000                 SCHEME_BUFF_PRICE = 10000000              SCHEMES_PER_PLAYER = 4                   CONSUMABLE_ID = 57                       MAX_SCHEME_BUFFS = Config.BUFFS_MAX_AMOUNTMAX_SCHEME_DANCES = Config.DANCES_MAX_AMOUNT 
So , what html I should change ?
P.S. : I mention I changed net.sf.l2j to com.l2jserver , in order for it to work with Freya / High Five.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Epilogue NPC Buffer and GM Shop

Post by Zoey76 »

That is not nearly the whole code, anyway, at some point in the script there is a loop that writes the skills, so try to search for <head> and after you will find some text like:
page = "<head><body>All buffs cost " + cost + " adena!<br><button ... ><br>Some text<br>" <------------------
change it to <br1> or something like that or add more <br> tags, you have to do some tests.

And repeat that for all places where you find <head> tag.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
RazRazvan
Posts: 43
Joined: Sat Jan 02, 2010 11:13 am

Re: Epilogue NPC Buffer and GM Shop

Post by RazRazvan »

I will give it a try , thanks.
I know it's not the entire code , it had more than 60.000 characters , and I could not paste it.
Post Reply