Jump to content
  • 0

html or _init__.py????


Question

Posted

kinda i need help...

i dunno whats wrong with my buffer

when i hit the buttom to buff it shows me a msg instead of buffing me...

 

_init__.py:

          #Mage Buffs Category

          if event == "93":

                st.takeItems(ADENA_ID,500000)

                SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer()) #Wind Walk

                SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer()) #Acumen

                SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer()) #Concentration

                SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer()) #Greater Empower

                SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer()) #Wild Magic

                SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer()) #Blessed Body

                SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer()) #Blessed Soul

                SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer()) #Berseker Spirit

                SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer()) #Shield

                SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer()) #Mental Shield

                SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer()) #Magic Barrier

SkillTable.getInstance().getInfo(1243,6).getEffects(st.getPlayer(),st.getPlayer()) #Blessed Shield

                SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer()) #Resist Shock

                SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Wind

SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer()) #Song Of Earth

                SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Vitality

SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer()) #Song Of Life

                SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Warding

                SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Water

                SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Meditation

                SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance of Mystic

                SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance of Concentration

SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance of Light

                return "1.htm"

                st.setState(COMPLETE)

 

          #Fighter Buffs Category

          if event == "94"

                st.takeItems(ADENA_ID,500000)

                SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer()) #Wind Walk

                SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer()) #Berseker Spirit

                SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer()) #Blessed Body

SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer()) #Blessed SOul

                SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer()) #Might

                SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer()) #Haste

                SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer()) #Focus

                SkillTable.getInstance().getInfo(1242,3).getEffects(st.getPlayer(),st.getPlayer()) #Death Whisper

                SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer()) #Vampiric Rage

                SkillTable.getInstance().getInfo(1240,3).getEffects(st.getPlayer(),st.getPlayer()) #Guidance

SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer()) #Agility

                SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer()) #Shield

                SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer()) #Magic Barrier

                SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer()) #Mental Shield

SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer()) #Resist Shock

                SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Wind

SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer()) #Song Of Earth

                SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Vitality

SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer()) #Song Of Life

                SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Warding

                SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer()) #Song of Water

SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer()) #Song Of Hunter

SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance Of Warrior

SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance Of Inspiration

SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance Of Fire

SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer()) #Dance Of Fury

                return "1.htm"

                st.setState(COMPLETE)

 

if htmltext != event:

st.setState(COMPLETED)

st.exitQuest(1)

return htmltext

 

html:

  <tr>

    <td><button value="Mages" action="bypass -h Quest 9999_NPCBuffer 93" width=82 height=25 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>

    <center><td><button value="Chants" action="bypass -h Quest 9999_NPCBuffer 5.htm" width=82 height=25 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>

    <td><button value="Fighters" action="bypass -h Quest 9999_NPCBuffer 94" width=82 height=25 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>

  </tr>

</table>

<img src="L2UI_CH3.onscrmsg_pattern01_1" width=300 height=32 align=left>

</body>

</center>

</html>

 

and when ingame shows me a msg saying the number of that skill (the one i created in init) in the system msg box...

4 answers to this question

Recommended Posts

  • 0
Posted

ty guys

i find it out myself alone :P

it was mising this:

 

if htmltext != event:

st.setState(COMPLETED)

st.exitQuest(1)

 

i am only posting in case some1 has the same problem... to know how to fix it ^^

i hope i helped

Guest
This topic is now closed to further replies.
×
×
  • Create New...