Jump to content

Recommended Posts

Posted

Hello guys.

 

I took this idea from League of Legends, but it would be really useful in L2 too, for afkers.

 

So what this is? The time each player makes an action is recorded. A check is made and if current time - last action time is more than 30 minutes(you can modify it), the player is kicked out of game.

 

Here: http://pastebin.com/FJCG9dYD

Posted

that record of an action won't make server lag?

 

 

Good idea anyway!

Posted

that record of an action won't make server lag?

 

 

Good idea anyway!

Nope, it just records the System.currentTimeMillis() when the action is made in L2PcInstance object.

 

Thanks.

Posted

Nope, it just records the System.currentTimeMillis() when the action is made in L2PcInstance object.

 

Thanks.

 

Then we dont need anymore captcha. Good work!!!

Posted

If someone botting he is making actions.

 

True. but captha is kinda boring and  :rage: .

We must find other ways to protect server.

Posted

If someone botting he is making actions.

True, actually this was meant for afkers that wait for vote reward or something. Or for example someone can use it in events too, just decrease the time between actions from 30 minutes and it would work fine. No afkers in tvt/dm etc.

Posted

True. but captha is kinda boring and  :rage: .

We must find other ways to protect server.

Buy lamequard then

Posted

Well you cant code this java code twice?I mean the first code will kick players after 30 minute of no action and the second code will kick  players that they are AFK at events.

 

Posted

Well you cant code this java code twice?I mean the first code will kick players after 30 minute of no action and the second code will kick  players that they are AFK at events.

 

What's the point? Add an if {} else {} and you're good. There's no need of c/ping the whole code.

Guest Elfocrash
Posted

This already exists in frozen

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
×
×
  • 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