HTML_MESSAGE = "<html><head><title>Subclass Master</title></head><body><center><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><br>"
HTML_MESSAGE += "<img src=\"L2UI.SquareGray\" width=250 height=1><br>"
HTML_MESSAGE += "<table width=250 border=0 bgcolor=444444>"
HTML_MESSAGE += "<tr><td></td></tr>"
HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> Before taking any action, make sure you</font></td></tr>"
HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> are using the Main Class or the proper</font></td></tr>"
HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> Subclass, which requested the changes.</font></td></tr>"
if ReqItems == True:
HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> Besides you need the required items.</font></td></tr>"
HTML_MESSAGE += "<tr><td><br></td></tr>"
if xsubsamount < SubsNumber and Item2_Num >= 1: HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> Choose Sub: <font color=\"FFFF00\">"+str(Item2_Num)+" "+str(getitemname(st,Item2_Req))+"</font></font></td></tr>"
if Item3_Num >= 1: HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> Delete Sub: <font color=\"FFFF00\">"+str(Item3_Num)+" "+str(getitemname(st,Item3_Req))+"</font></font></td></tr>"
if Item1_Num >= 1: HTML_MESSAGE += "<tr><td align=\"left\"><font color=\"0088EE\"> Switch Sub: <font color=\"FFFF00\">"+str(Item1_Num)+" "+str(getitemname(st,Item1_Req))+"</font></font></td></tr>"
HTML_MESSAGE += "<tr><td></td></tr></table><br>"
HTML_MESSAGE += "<img src=\"L2UI.SquareGray\" width=250 height=1><br>"
HTML_MESSAGE += "<tr><td width=90 align=\"center\"><table width=90 border=0 bgcolor=444444><tr><td width=90 align=\"center\"><table width=85 border=0 bgcolor=444444>"
if xsubsamount < SubsNumber :
HTML_MESSAGE += "<tr><td><button value=\"Choose Sub\" action=\"bypass -h Quest " +QUEST_INFO + " gethtml 1\" width=80 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr><br1>"
HTML_MESSAGE += "<tr><td><button value=\"Delete Sub\" action=\"bypass -h Quest " +QUEST_INFO + " gethtml 3\" width=80 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr><br1>"
HTML_MESSAGE += "<tr><td><button value=\"Switch Sub\" action=\"bypass -h Quest " +QUEST_INFO + " gethtml 2\" width=80 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr><br1>"
HTML_MESSAGE += "</table></td></tr></table></td></tr>"
HTML_MESSAGE += "</center></body></html>"
return HTML_MESSAGE
Line 423
j+=1
def getsubsammount(st):
j=-1
for i in range(maxsubsindb + 1):
var = getVar(st,"subclassid"+str(i))
if int(var) >= 0 and int(var) <= 136:
j+=1
return j
Line 406
val = "-1"
def getVar(st,const):
conn=DatabaseFactory.getInstance().getConnection()
act = conn.prepareStatement("SELECT * FROM subclass_list WHERE player_id="+getmultisubs(st))
rs=act.executeQuery()
val = "-1"
SELLING AN ANNOUNCER SCRIPT! SIMILAR TO L2OOPS / L2HOP. THE SCRIPT HAS BEEN A LITTLE REDONE, VISUALLY SIMILAR TO THESE ANNOUNCERS, THE PRICE IS VERY GOOD. WE SHOW EVERYTHING HOW TO USE IT, ETC.
DISCORD - adver745645
TELEGRAM - MMOPROMO
WE SELL ADEN, GAME ITEMS AT VERY GOOD PRICES. DISCORD - MMOPROMOOO / TELEGRAM - MMOPROMO
АА
WE SELL ADEN, GAME ITEMS AT VERY GOOD PRICES.
DISCORD - MMOPROMOOO
TELEGRAM - MMOPROMO
I ment interface.u file it self not the code. I can view the file and code inside, but I was unable to edit interface.u file to add the code u shared, could u please share the compiled interface.u file it self?
Sorry my bad, I was compiling incorrectly, I looked up for correct compiler, works nicely! Both, Celestine and your version, works nicely! Ty
Question: what's the reason for disallowing songs/dances to be removed? I'm asking as some1 who has full buff npc buffer, with available option to throw on and off any buffs any time, would this block still makes usage?
// Dance-like skill effect can't be dispelled
if ( skill. isDance ( ) )
{
return ;
}
Question
Litch
I'm looking forward to change my review to the current Lucera
But when adapting the imports of a npc this occurs
Line 641
if event == "confirm":
Line 112
HTML_MESSAGE = "<html><head><title>Subclass Master</title></head><body><center><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><br>"
Line 423
j+=1
Line 406
val = "-1"
Import
NPC
http://www.l2jbrasil.com/index.php?/topic/93842-npc-substack-subclasse-acumulada-frozen-dream-v1v2/
If anyone can help, I would be extremely grateful :dat:
Edited by luannbr1 answer to this question
Recommended Posts