Jump to content

Question

Recommended Posts

  • 0
Posted (edited)

You should be more polite if you want to get asnwer. We are not some kind of robots to answer to your questions like instant..

 

Also, we're providing tips/hints so you can LEARN, if you rly want.. If you just came here and want to get READY file(s) like most of this 'meh' community, then.. Well..

 

 

@Devlin

Shame on you, if you does something, make it properly or do not do it at all :P

 

@Andrey

If you would be a lil bit smart, you would open ANY file and use SEARCH for L2DatabaseFactory and see how that Connection con should looks like, is that so hard to TRY to manage it on your own - no offense, it's just the way you should follow.. Searching for ready codes / examples to fix your error..

Connection con = L2DatabaseFactory.getConnection()

should be

Connection con = L2DatabaseFactory.getInstance().getConnection()
Edited by SweeTs
  • 0
Posted (edited)

There is strictly nothing to adapt.... Just drop all imports, save the file to re-add imports automatically and you're supposed to be done.

Edited by Tryskell
  • 0
Posted

There is strictly nothing to adapt.... Just drop all imports, save the file to re-add imports automatically and you're supposed to be done.

 

So simple answers from this guy.

 

*

Tryskell,

Thank God of Rats :D

  • 0
Posted

There is only one error.

Warn method is undefined.


Also .. this should be in data/scripts not in gameserver.

  • 0
Posted

How!?

 

24xgvv7.png

 

These imports are 'cause lack of imports. As SweeTs says, use

 

Ctrl + shift + o to fix imports..

 

 

As about "_log.warn", rename it to "_log.warning".

  • 0
Posted

Here you can replace

_log.warn("[SuperMonster] addHero(days) error: ", e);

to

_log.log(Level.WARNING, "[SuperMonster] addHero(days) error: ", e);

The other problems are just imports to be fixed.

Also DatabaseFactory should be renamed to L2DatabaseFactory...

Guest
This topic is now closed to further replies.


  • Posts

    • Creature EnterWorld Invalid NPC or spawn entry.
    • 10-15-2025 - OUR TOPIC IS RELEVANT! CONTACT US BY THE CONTACTS BELOW
    • SELLING EMPTY TELEGRAM BOTS WITH AGE Registration date: November 2024 High-quality & clean bots — no subscribers, no bans, created on fresh IPs. y rested and reliable — perfect for: — Telegram search ranking — any technical or marketing tasks Delivery options: tdata, by phone number, ownership transfer, or via tokens. Current price list: From 3 pcs — $3 each From 20 pcs — $2.5 each From 60 pcs — $2.3 each From 100 pcs — $2.2 each From 400 pcs — $1.9 each Over 15,000+ bots available — ready for instant delivery. Contact on Telegram: @SMMTG6
    • Telegram Bot TOP Search Promotion | SEO Optimization for Bots | SMMTG.PRO We promote Telegram bots to the TOP of search results — by keywords, topics, and countries. What’s included: • Promotion to the TOP of Telegram search • Bot optimization for Telegram algorithms • Competitor analysis and keyword selection • Testing and securing stable ranking Delivery time: 2–3 days per bot Pricing: Starts from $40 per bot (final cost depends on competition level and target country) We work with 50+ countries: Russia • Ukraine • USA • Israel • Uzbekistan • Turkey • China • Thailand • Europe • India Training is also available: Telegram bot SEO optimization Techniques & insights for reaching TOP search positions Real-world cases and recommendations Contact: Telegram — @SMMTG6 Our SMM panel: SMMTG.PRO
    • SMMTG.PRO — TELEGRAM SERVICES PROVIDER PRICE LIST ★ Premium Subscribers for Bots Russia — from $5.6 / 1,000 subs Ukraine — from $5.6 / 1,000 subs USA — from $6.4 / 1,000 subs Israel — from $6.4 / 1,000 subs Uzbekistan — from $6.4 / 1,000 subs Turkey — from $6.4 / 1,000 subs China — from $6.4 / 1,000 subs Thailand — from $6.4 / 1,000 subs Europe — from $6.4 / 1,000 subs India — from $6.4 / 1,000 subs Other countries — from $13 / 1,000 subs OTHER SERVICES Telegram Boost — from $42 / 1,000 votes Premium Subscribers for Channels — from $2.9 / 1,000 Telegram Stars — from $16.9 / 1,000 stars Regular Subscribers for Channels — from $0.19 / 1,000 Regular Subscribers for Bots — from $0.25 / 1,000 Post Reactions — from $0.14 / 1,000 reactions Post Views — from $0.07 / 1,000 views EXCLUSIVE SERVICES ★ Telegram Search TOP Ranking | SEO Optimization ★ Aged Telegram Bots (registered accounts) — from $1.9 / bot ★ Telegram SEO & Search Training PAYMENT METHODS Heleket — any cryptocurrency CrystalPay — RUB | KZT | SBP | CryptoBot & more Payeer — multiple payment options ➤ Website (24/7): SMMTG.PRO ➤ Telegram Channel: t.me/+e_DKWnC5AFw0ZDhi ➤ 24/7 Support: @SMMTG6
  • 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