Jump to content

[Share] Rin4a's Buffer v1.3


Recommended Posts

i wana make a little share ..... here is it

 

if STYLE == "Buttons" :

HTML_MESSAGE += "<tr><td><button value=\""+name+"\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\" width=150 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr>"

if STYLE == "Text" :

HTML_MESSAGE += "<tr><td width=150><center><a action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\">"+name+"</a></center></td></tr>"

if STYLE == "IDualButtons" :

if buffType == "dance" :

name = name.replace("Concentration","Concentrat.")

if i == 1 :

HTML_MESSAGE +="<tr><td><img src=\"Icon.skill"+format+"\" width=32 height=32></td><td width=\"103\"><button value=\""+name+"\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\" width=101 height=32 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td>"

else :

HTML_MESSAGE +="<td><img src=\"Icon.skill"+format+"\" width=32 height=32></td<td width=\"103\"><button value=\""+name+"\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\" width=101 height=32 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr>"

i = 0

if STYLE == "DualButtons" :

if buffType == "dance" :

name = name.replace("Concentration","Concentrat.")

if i == 1 :

HTML_MESSAGE +="<tr><td width=\"136\"><button value=\""+name+"\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\" width=136 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td>"

else :

HTML_MESSAGE +="<td width=\"136\"><button value=\""+name+"\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " giveBuffs "+str(id)+" "+str(level)+" "+buffType+"\" width=136 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr>"

i = 0

 

and this

 

 

elif valType == "custom" :

HTML_MESSAGE += "<combobox var=\""+cfgName+"\" width=110 List=\"Text;Buttons;Icons+Buttons;IDualButtons;DualButtons;DualText\">"

 

 

 

modify the ___init__.py .......hf:D

Link to comment
Share on other sites

thanks for your update, but does it look ok?

What I wanted to say is that the width is a bit too small... the text on the button will go out of the buttons borders

didn't see theat ^^ ...problem fixed :D

and btw can u make it for l2j.....i try to make this 1.3 version for l2j but i get a error at line 1334.....i don't understand what i do wrong:|

 

Link to comment
Share on other sites

I have said it before and I will say it again - I will not be making it for Interlude or any other servers that are older than the current server...

I will make it to be compatible with L2jServer... I will try to do it this week...

Link to comment
Share on other sites

i don't think will appear one buffer better than this !

This is too good ... for a java server !

 

Don't make lag don't have errors, all codes are clean, and nice!

 

Cool ! Gz man

 

Regards,

xXMisterioXx

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...