English Anti-Idlekick icon

60 comments
12.07.11 06:11:00 pm
like 22 like it!
12 kb, 633 Downloads
DannyDeth
User
Offline Off
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
ok This file has been reviewed and approved by SQ (15.12.15 09:33:59 am)

Comments

60 comments
Goto 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
17.01.13 03:03:20 pm
Up
gotya2
GAME BANNED
Offline Off
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.
12.01.13 01:54:27 pm
Up
DannyDeth
User
Offline Off
@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.
01.01.13 04:59:54 pm
Up
sixpack
User
Offline Off
@user Infinite Rain:
Code:
1
void main(void)

would make no difference, but I am not going to sit and argue about this.
31.12.12 05:43:43 pm
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
@user sixpack:
No, return 0 is required there, since it HAVE to return an integer value.
If it would look like that:
Code:
1
void main(void)

Then you're right, but in this case the main function looks like that:
Code:
1
int main(void)

Only thing that is void there, is arguments ;P

@File:
Amazing!
31.12.12 05:12:49 pm
Up
sixpack
User
Offline Off
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.
12.06.12 08:03:35 am
Up
hacked
User
Offline Off
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?
05.06.12 09:19:45 pm
Up
schattex
User
Offline Off
I can't run it, no dll file
03.04.12 03:11:10 pm
like I like it!
Up
Sniper_x
User
Offline Off
Cool !! GReat!
03.04.12 01:15:47 pm
like I like it!
Up
Misho
User
Offline Off
Nice idea!
It's for User not for the server!
Good and Great Job!
03.04.12 03:26:40 am
like I like it!
Up
Chex
User
Offline Off
@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 ..
03.04.12 03:01:03 am
like I like it!
Up
plaYnice
User
Offline Off
@user DannyDeth: Man, already have this option in NEW GAME.
we don't need this script, but i like it
03.03.12 09:15:55 am
Up
DannyDeth
User
Offline Off
@user taiousz:
This is client side, not server side.
01.03.12 03:37:36 am
Up
taiousz
User
Offline Off
mp_idlekick 0


k..
18.02.12 11:08:04 am
Up
Shawni
User
Offline Off
Dont Work
There Need The Othre DLL File
20.10.11 02:58:07 pm
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
I can't run it becouse theres no a DLL file
05.10.11 12:55:30 pm
Up
MeyeM
BANNED
Offline Off
"
why not just put them spec instead??? "

accept with you
04.10.11 04:07:26 pm
Up
DannyDeth
User
Offline Off
@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.
14.09.11 03:44:55 pm
like I like it!
Up
Pagyra
User
Offline Off
A good script, but will improve its settings and add visualization.
10.09.11 02:23:05 pm
like I like it!
Up
boyzinthewoodz
User
Offline Off
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
10.09.11 09:51:42 am
like I like it!
Up
were50
User
Offline Off
Sounds handy. This'll be good.
To the start Previous 1 2 3 Next To the start