Jump to content

Recommended Posts

Posted

No, we dont use this system, we have own, so shut up, if you dont know nothing...

<sarcasm>Oh..My..God.. Wow you have your OWN 50 lines of code?? Really?? Like zomg man you're the bestestest.</sarcasm>

Anyways.. ok so i login to my account and i have all my precious items stolen, and the screen is only showing the last ip of the thief ( which is pobably proxy anyway ). Am i missing something?

  • 3 weeks later...
Posted

trusted seller

 

nikarasprotos = true spammer...

 

its a share or can't u read? where u see here somethings to sell ?

 

ontopic: guess its useless its won't help a player at all... only if the stealer has a static IP :/

Posted

WARNING: Unclosed connection! Trace: com.l2jserver.gameserver.model.entity.ProtectionIP.UpdateLastIP(ProtectionIP.java:92)

java.lang.RuntimeException

at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:227)

at com.l2jserver.gameserver.model.entity.ProtectionIP.UpdateLastIP(ProtectionIP.java:92)

at com.l2jserver.gameserver.model.entity.ProtectionIP.onEnterWorld(ProtectionIP.java:50)

at com.l2jserver.gameserver.network.clientpackets.EnterWorld.runImpl(EnterWorld.java:473)

at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)

at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:997)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

i got this error anyone knows?

Posted

Replace your static method "UpdateLastIP" with

 

public static void UpdateLastIP(L2PcInstance player ,String user)
{
	String address = player.getClient().getConnection().getSocketChannel().socket().getInetAddress().getHostAddress();
	java.sql.Connection con = null;
	try
	{
		con = L2DatabaseFactory.getInstance().getConnection();
		PreparedStatement statement = con.prepareStatement("UPDATE accounts SET lastIP=? WHERE login=?");
		statement.setString(1, address);
		statement.setString(2, user);
		statement.execute();
		statement.close();
	}
	catch(Exception e)
	{
		e.printStackTrace();
	}
	finally
	{
		try
		{
			con.close();
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
	}
}

Posted

Now this is really awesome!!!!! Btw how much resources does it take? Lets say 500 online players on server...All log on after rr...Wont it lag?

 

No

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Hello i need one developer for make one l2 server
    • Wholesale buyers - special terms!   Looking for a profitable bulk deal? We’ll let you choose numbers from our pool - and find the ones that fit your needs perfectly.   Message us here 👉 [https://t.me/vibe_sms_admin] - we’ll discuss, agree on the price, and offer a discount if needed!   Our website: https://vibe-sms.net/ Our Telegram channel: https://t.me/vibe_sms
    • 🎉 **OPENING — Lineage 2 x17 MULTIPROF COMFORT SERVER!** 🔥 **October 31, 2025 at 20:00 (MSK)** (OBT starts **October 27, 2025 at 20:00**) 💎 **Multeria** invites you to join the brand-new **Multiprof server** — built with care, balance, and community feedback in mind! ⚔️ **COMFORT RATES:** • EXP ×17 (with PA ×25.5) • SP ×8.5 (with PA ×17) • Drop / Spoil ×1 (with PA ×2.5) • Adena ×1 (with PA ×2) 🚀 **WHAT’S NEW:** • New max level — **100** • **100% Craft System** for armor, weapons, belts (incl. Power Belt), bracelets & talismans • New epic accessory — **Frintezza’s Necklace** • **Mass skills cooldown reduced ×10** (Defense Instinct, Magic Impulse, Fanatic, etc.) • Fair play — HWID limits on global instances and rebirth-based party checks • **New 90+ dungeons** (60/120 min time limits) • **New PvP zones:** Varka, FoG, LoA, Stakato (battle zones active) • **Extra game window** available for in-game currency (Gold Einhasad) 💬 Everything you love about Lineage 2 — **balance, comfort, and fairness**. 🔗 More info: https://hf.multeria.world/
    • Hello everyone, we now have Adena for these projects: l2rebon signature x1 - 1kk = $0.8 l2reborn x10 - 500kk = $3.5 E-Global x Lu4 - 1kk = $1.8 ElmoreLab x5 - 1kk = $1.7 DISCORD - GODDARDSHOP
  • 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