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.


  • Posts

    • 寒冷的冬天 — 火热的折扣。使用促销代码 WINTER 即可在我们商店的所有购买中获得 10% 折扣! 有效链接: 数字商品商店(网站): 前往 其他服务和产品: 商店 Telegram 机器人: 前往 – 通过 Telegram 信使方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快速且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前的 促销和特别优惠列表 ,用于购买我们服务的产品和服务: 1. 您可以在首次购买时使用促销代码:SOCNET(15% 折扣) 2. 获取 $1 商店余额或 10–20% 折扣——只需在我们的网站注册后按以下模板填写您的用户名:"SEND ME BONUS, MY USERNAME IS..." ——您需要在我们的论坛主题中发布! 3. SMM 面板首次试用可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道和 Stars 购买机器人中每周都会赠送 Telegram Stars! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式和支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Cold winter — hot discounts. Use promo code WINTER and get 10% off on all purchases in our store! Active links: Digital goods store (Website): Go to Other services and products: Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." – you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Cold winter — hot discounts. Use promo code WINTER and get 10% off on all purchases in our store! Active links: Digital goods store (Website): Go to Other services and products: Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." – you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Telegram Stars — a new digital currency inside Telegram. And right now, the best opportunities are opening for profitable purchases and participation in exclusive events. And you can purchase Telegram Stars safely and at the best price in our bot. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services and products: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Telegram Stars — a new digital currency inside Telegram. And right now, the best opportunities are opening for profitable purchases and participation in exclusive events. And you can purchase Telegram Stars safely and at the best price in our bot. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services and products: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to post this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock