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

    • 🚀 L2JOne Website System — Features & Security Overview 📌 Overview The L2JOne Website System is a complete platform designed for Lineage 2 servers, providing account management, donation processing, game integration, automation tools, and advanced security protections.   Built with a focus on: Security Performance Automation Scalability Easy Administration 🎮 Player Features ✔ Account Registration Direct account creation from the website Game database integration Data validation Optional email verification Google reCAPTCHA protection ✔ Secure Login System Protected user sessions Automatic Session ID regeneration Session Fixation protection Secure logout ✔ Player Control Panel Ticket balance management Purchase history Transfer history Character selection Automatic item delivery ✔ Account Recovery Email-based recovery Temporary recovery tokens Automatic token expiration 💰 Donation System Supported Payment Gateways Mercado Pago PIX Credit Card Debit Card Stripe International credit cards PayPal Worldwide payments Binance Pay Cryptocurrency payments ⚡ Automated Credit Delivery Once a payment is confirmed: Gateway validates the transaction. Webhook signature is verified. Order is marked as completed. Credits are added to the player's balance. Player transfers credits to a character. Items are automatically delivered in-game. No manual intervention required. 🎁 Coupon System Percentage discounts Fixed value discounts Usage limits Expiration dates Minimum purchase requirements 🎟 Ticket System Internal virtual currency Item conversion system Administrative adjustments Full transaction history Balance management 📊 Administrative Dashboard Real-Time Statistics Total revenue Daily revenue New registrations Total purchases Pending payments Approved payments Reports Sales reports Financial reports Player activity reports Transfer history Interactive Charts Revenue growth Daily earnings Monthly earnings Visitors by country Payment distribution 🌍 Analytics System Visitor countries Browser statistics Operating systems Device tracking Access history 📰 News Management System Unlimited news posts Featured images HTML editor support Homepage highlights 🎥 Video & Streaming System Supports: YouTube Twitch Kick Custom stream embeds ⏳ Countdown System Launch countdown timer Configurable date and time Timezone support Homepage integration 📥 Download Center Fully configurable: Game Client Official Patch Mirror Downloads Torrent Downloads External Download Links 📱 Social Media Integration Discord Facebook Instagram Telegram YouTube 🔒 Security Layer CSRF Protection All forms include: Unique security tokens Mandatory validation Automatic expiration Protects against: Cross-Site Request Forgery (CSRF) Google reCAPTCHA Protection Integrated Google reCAPTCHA v3 Protects against: Bots Automated registrations Brute-force attacks Session Security Session ID regeneration HttpOnly cookies SameSite cookie protection Secure cookie support Protects against: Session hijacking Session fixation attacks Upload Protection Sensitive file types are blocked: .sql .sqlite .log .pem .key Directory Protection Direct access denied to: config/ private/ storage/ cli/ database/ Unauthorized access is blocked. Anti-Replay Protection Financial callbacks include: Signed timestamps Expiration windows One-time validation Protects against: Payment replay attacks Duplicate transaction processing Webhook Security HMAC signature validation Shared secret verification Mandatory request authentication Protects against: Fake payment notifications Fraudulent credit generation Duplicate Payment Prevention Built-in: Idempotency control Transaction reference validation Payment status verification Prevents: Double credits Repeated processing SQL Injection Protection Secure database layer using: PDO Prepared Statements Parameter Binding No unsafe SQL concatenation. XSS Protection Output sanitization through: HTML escaping Input filtering Protects against: Cross-Site Scripting (XSS) Session theft Licensing Protection Centralized licensing system with: Unique license key Unique secret key Remote validation Domain verification Heartbeat monitoring Anti-Cloning Protection Licenses are linked to: Authorized domain Unique credentials Central validation server Unauthorized domain usage can be automatically blocked. ⚙ Administrative Tools User Management Create accounts Edit accounts Suspend users Adjust balances Financial Management Approve transactions Cancel orders Financial reports Content Management News management Download management Video management Social media management Global Settings Rates configuration Countdown management Payment gateway settings License management 🚀 Technology Stack PHP 8+ MySQL 9+ / MariaDB 11+ Bootstrap 5.3.8 AdminLTE 4..0.2 Mercado Pago SDK Stripe SDK PayPal API Binance Pay API Google reCAPTCHA v3 PDO Secure Database Layer 🛡 Final Result The L2JOne Website System delivers a professional-grade solution for Lineage 2 servers, combining: ✅ Modern Administrative Dashboard ✅ Advanced Donation System ✅ Automatic In-Game Delivery ✅ Real-Time Statistics ✅ Centralized Licensing Platform ✅ Financial Fraud Protection ✅ SQL Injection Protection ✅ XSS Protection ✅ CSRF Protection ✅ Anti-Replay Security ✅ Anti-Cloning Protection A complete, secure, and scalable platform built for professional Lineage 2 server operations DEMO SITE: "My Site" - Lineage II I am currently studying programming in Trybe | Cursos de Inteligência Artificial e Tecnologia Price: 150 USDT Payment methods: Crypto using the Tron network or PayPal (you pay an administrative fee). You can choose to pay a monthly fee to get new features or stick with your current version with security updates! The maintenance fee is only 30 USDT per month. Customers currently using my website: http://www.l2shadowwars.com/                                                                                                        Panel Admin:            Database WebSIte     PANEL PLAYER     StartPack    
    • Fixed a lot of null crashes, damn vanganth 🤣 Added engine that you can create your custom quests Extender dungeon systen so u can create as many dungeons as you like       Possibility to create a server from scratch its possible just is the work + the license/month , many ask for the creation.. i can do everything u like, i can even implement UFOs to fly over gym so.. whatever your dream is i can be as close as possible!
    • Hello, it is someone here to help me to make multiskill on helios pack? ( Not stacksub ) i want. On Hi5 i have this config .   # When enabled, the following will be true: # All classes can learn all skills. # Skills of another class costs x2 SP to learn. # Skills of another race costs x2 SP to learn. # Skills of fighters/mages costs x3 SP to learn. # Default: False AltGameSkillLearn = True
    • Thank you Mobius, and thank you to everybody that has helped this project making it the easiest platform to work on even if new. GGZ
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..