Dateien

> > CS2D > Misc. > Anti-Idlekick
DateiübersichtCS2D-ÜbersichtMisc.-Übersicht

Englisch Anti-Idlekick >

60 Kommentare12 kb, 652 Downloads

alt 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.
1× editiert, zuletzt 12.07.11 18:11:37
Zugelassen von SQ

Download Download

12 kb, 652 Downloads

Kommentare

60 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

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.

alt

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.

alt

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.

alt

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!
Ich mag es!

alt

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.

alt

hacked
User Off Offline

Anti_AFK.exe - System Error hat geschrieben
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?

alt

schattex
User Off Offline

I can't run it, no dll file

alt

Sniper_x
User Off Offline

Cool !! GReat!
Ich mag es!

alt

Misho
User Off Offline

Nice idea!
It's for User not for the server!
Good and Great Job!
Ich mag es!

alt

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 ..
Ich mag es!

alt

plaYnice
User Off Offline

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

alt

taiousz
User Off Offline

mp_idlekick 0


k..

alt

Shawni
User Off Offline

Dont Work
There Need The Othre DLL File

alt

Infinite Rain
Reviewer Off Offline

I can't run it becouse theres no a DLL file
Ich mag es!

alt

MeyeM
BANNED Off Offline

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

accept with you

alt

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.

alt

Pagyra
User Off Offline

A good script, but will improve its settings and add visualization.
Ich mag es!

alt

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
Ich mag es!

alt

were50
User Off Offline

Sounds handy. This'll be good.
Ich mag es!
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang