Files

> > CS2D > Misc. > Anti-Idlekick
Files overviewCS2D overviewMisc. overview

English Anti-Idlekick >

60 comments12 kb, 698 Downloads

old Anti-Idlekick

DannyDeth
User Off Offline

I'm sure everyone who plays CS2D knows how annoying it is when you get idle kicked from a server when you simply needed to go to the loo, especially if you had a flashy KpD you were planning to take a screenie of. So, I decided to make this. It's a simple program that emulates the keys W, A, S and D every 15 seconds to make your player move a bit, this will make the idle-kicker think you are still active and thus you will not be kicked.

To use it, simply run the program and then go back to your CS2D client. After 3 seconds it will begin moving your player about. Please note that if you run the program and select something such as a text-editor ( or any other program that takes text input ) it will slowly flood it with 'wasd', so be careful.

And for those of you who are going to say it's a virus, just go grow a pair.

Also, I did not include screenshots because they are not neccisary whatsoever.
edited 1×, last 12.07.11 06:11:37 pm
Approved by SQ

Download Download

12 kb, 698 Downloads

Comments

60 comments
Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

gotya2
GAME BANNED Off Offline

According to the c++ standard, main should be of type int, and doesn't necessarily need to return a value. If there's no return value, "return 0" is assumed. This is because "main" is a special function.

int main(void){...} and int main(){...} are the same in c++ standard.

DannyDeth, you should link dll's that aren't standard on windows machines ( like the libgc_blabl.dll). In visual studio u can do this by setting the option /MT. In g++, u will just have to read the fucking manual

they kbd_event function has been superseded by SendInput ( http://msdn.microsoft.com/en-us/library/windows/desktop/ms646310(v=vs.85).aspx )

Also you should use SetFocus and SetForegroundWindow to set cs2d as the window to send the input keys to.
Otherwise, when someone quickly has to send an email while playing cs2d, WASD will appear in his email..

Altogether: room for improvement.

old

DannyDeth
User Off Offline

@user sixpack:
Defining main as void is bad practice, it should return an integer as this is used to check if the program executed properly. It's a UNIX standard.

old

sixpack
User Off Offline

@user Infinite Rain:
1
void main(void)
would make no difference, but I am not going to sit and argue about this.

old

Infinite Rain
Reviewer Off Offline

@user sixpack:
No, return 0 is required there, since it HAVE to return an integer value.
If it would look like that:
1
void main(void)
Then you're right, but in this case the main function looks like that:
1
int main(void)
Only thing that is void there, is arguments ;P

@File:
Amazing!
I like it!

old

sixpack
User Off Offline

This is quite a simple tool but unfortunately only works on a Windows environment. The code could have been universal but this is not such an issue. The windows binary included seems to have no (detectable at least) virus. Only 1/43 on VirusTotal.
gcc is required though

P.S.: No need to return 0 in main, since it's void.

old

hacked
User Off Offline

Anti_AFK.exe - System Error has written
The program can't start because libgcc_s_dw2-1.dll is missing from your computer.Try reinstalling the program to fix this problem.


Now what?

old

schattex
User Off Offline

I can't run it, no dll file

old

Sniper_x
User Off Offline

Cool !! GReat!
I like it!

old

Misho
User Off Offline

Nice idea!
It's for User not for the server!
Good and Great Job!
I like it!

old

Chex
User Off Offline

@user plaYnice:

Wow, this is clientside so that you don't get kicked out of someone else's server. I dont see how hard it is to understand ..
I like it!

old

plaYnice
User Off Offline

@user DannyDeth: Man, already have this option in NEW GAME.
we don't need this script, but i like it
I like it!

old

taiousz
User Off Offline

mp_idlekick 0


k..

old

Shawni
User Off Offline

Dont Work
There Need The Othre DLL File

old

Infinite Rain
Reviewer Off Offline

I can't run it becouse theres no a DLL file
I like it!

old

MeyeM
BANNED Off Offline

"
why not just put them spec instead??? "

accept with you

old

DannyDeth
User Off Offline

@M-n-M:
This is really not meant for long idles, it is just if you need to do something QUICKLY but you don't want to lose your score.

old

Pagyra
User Off Offline

A good script, but will improve its settings and add visualization.
I like it!

old

boyzinthewoodz
User Off Offline

sorry danny i dont like this here..
you really did a good work but, i always kick idlers if there are any on my servers.. idlers ruin the gameplay, unbalance the team and make players leave the server..
now i have to set the idle kick to 14 seconds lol..
anyway 5/5 work and idea even if i dont really like it..
hope you understand
I like it!

old

were50
User Off Offline

Sounds handy. This'll be good.
I like it!
To the start Previous 1 2 3 Next To the start