Jump to content
  • 0

A java problem (l2dot)


Question

Posted

heh so i decided to add a Vote System (in core edits) ,so i started.. The only problem i got is this :

    Connection con = null;

    try

    {

    con = L2DatabaseFactory.getInstance().getConnection(con);

    PreparedStatement statement = con.prepareStatement(UPDATE_CHAR_VOTE);

So its underlined in RED and i can't compile because of this :

    [javac] Compiling 1264 source files to D:\Workspace\L2Dot_IL_Game\build\classes

    [javac] D:\Workspace\L2Dot_IL_Game\java\com\l2dot\gameserver\model\actor\instance\L2PcInstance.java:6274: getConnection() in com.l2dot.L2DatabaseFactory cannot be applied to (java.sql.Connection)

    [javac]    con = L2DatabaseFactory.getInstance().getConnection(con);

    [javac]                                                                    ^

    [javac] D:\Workspace\L2Dot_IL_Game\java\com\l2dot\gameserver\model\actor\instance\L2PcInstance.java:6302: getConnection() in com.l2dot.L2DatabaseFactory cannot be applied to (java.sql.Connection)

    [javac]    con = L2DatabaseFactory.getInstance().getConnection(con);

    [javac]                                                                    ^

    [javac] 2 errors

 

BUILD FAILED

 

I can give teamviewer to someone if he can help me ,or just post here the fix.. Thanks for the attention!

4 answers to this question

Recommended Posts

  • 0
Posted

Leeroy can u help me?

im using last dot pack and i cant the buffer

i mean im executing the sql

im patch the html c:/server/gameserver/data/blabla/blabla

and i press buffs and says me u dont weirther care your quest or u dont have meet ciretria or smthing

 

would you add me to this msn ? la2tecktonik@windowslive.com

i have add you in your wizzyto@abv.bg

 

thx

  • 0
Posted

Leeroy can u help me?

im using last dot pack and i cant the buffer

i mean im executing the sql

im patch the html c:/server/gameserver/data/blabla/blabla

and i press buffs and says me u dont weirther care your quest or u dont have meet ciretria or smthing

 

would you add me to this msn ? la2tecktonik@windowslive.com

i have add you in your wizzyto@abv.bg

 

thx

 

You are off topic or it's just my idea?...Take care next time..If you want help just send a PM or make another topic.

 

Topic Locked. If the owner wants something more just PM me to unlock it again.

Guest
This topic is now closed to further replies.


  • Posts

    • Grand Opening: April 11, 2026 Website: https://l2strive.com Discord: https://discord.gg/SsUARZpbkG   🛡️ Server Rates Strive is a High Five Mid-PvP/Craft Server  Experience (XP): x15 Skill Points (SP): x15 Adena: x10 Drop: x15 Spoil: x3 Safe Enchant: +3 Max Enchant: +16 ⚔️ Enhanced Boss Jewelry     ⚔️ Making Bosses Useful Again Let’s be real: usually, Core, Orfen, and Baylor are just placeholder bosses that nobody cares about. We’ve overhauled their jewelry to make them legit end-game gear. We’ve turned these into high-value targets for PvP—if you want these massive percentage boosts, you’re going to have to fight for them.   ⚔️ Enhanced Boss Jewelry   💍 Improved Ring of Core Base Stats: M.Def 48 | HP +445 | MP +21 Offensive: P. Atk +12% | M. Atk +12% Critical: Physical Critical Rate +14 | Magic Critical Rate +2 Utility: Skill Reuse Delay -10% | MP Consumption -5% 🛡️ Improved Earring of Orfen Base Stats: M.Def 71 | MP +31 Defensive: P. Def +15% | M. Def +15% Recovery: Vampiric Rage +4% | Healing Received +6% Resistances: Bleed / Poison / Root / Sleep +20% (Chance & Resistance) 💎 Baylor's Earring Base Stats: M.Def 71 | MP +31 Speed: Atk. Spd +5% | Casting Spd +5% Combat: MP Regeneration +5% Resistances: Stun / Paralyze +30% (Chance & Resistance) 🚀 Core Features Full & Enchanted Buffs: Enjoy 6-hour durations on all standard and enchanted buffs. Premium Buffs: Premium users benefit from extended 9-hour buff durations. 100% Free AutoFarm: Built-in system for seamless progression while away from your PC. Custom Shop: Professional and intuitive UI for all essential equipment and consumables. NPC Buffer: Full scheme support to get you battle-ready instantly. Stability: Dedicated high-performance hardware with professional Anti-DDoS protection.  
    • Hello,   im looking for c4 client developer that can fix some issues, missing icons etc. if you are l2off developer then even better.   its easy ones, fix few skill icons, item icon, easy money if someone has time. I guess its lack of files in my patch, but might be smth other   contact with me on discord: endART_#6190 @DumanisT @SkyLord @XManton @Fr3DBr @mjst @Sighed any ideas who could help me XD
  • 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..