CSS -- Schnelles schiesen mit der Pistole

04/16/2006 17:16 Xalon#1
Hi,kann mir jemand sagen warum folgender Code nicht funzt?Er sollte ganz schnell mit der Pistole schiesen aber er hängt immer beim schiesen...Manchmal schiest er recht schnell dann wieder gar nicht oder nur langsam O_o

Hi,can anyone tell me why this code doesn't work?It should force CSS to shot the pistol very fast!
(Excuse me for my terrible englisch :bandit: )

Code:
#include <windows.h>

int main(void)
{
 HWND css;
 css = FindWindow(NULL,"Counter-Strike Source");

 while(1)
 {
  SendMessage(css,WM_LBUTTONDOWN, MK_LBUTTON, MAKELPARAM(1,1));
  SendMessage(css, WM_LBUTTONUP , MK_LBUTTON, MAKELPARAM(1,1));
 }

}
Danke im voraus,
Xalon
04/16/2006 17:18 sd333221#2
Any compile errors?
Or what happens?
04/16/2006 17:26 Xalon#3
Oh sorry I forgot explaining the error in englisch!
No it works but not the way it should...
It shots but not as fast as I want,it shots quite slowly..

Xalon

P.S.:Please correct my englisch mistakes,so I can learn from them! :D
04/16/2006 17:47 NexMortis#4
Äder ma dein TopicNamen xDDD Das hört sich genial an ^^ ich will auch schnell scheissen xD
04/16/2006 17:48 Kimahri#5
Quote:
Originally posted by NexMortis@Apr 16 2006, 17:47
Äder ma dein TopicNamen xDDD Das hört sich genial an ^^ ich will auch schnell scheissen xD
wollt ihn auch gerade drauf hinweisen ^^#

*totlach*
04/16/2006 18:02 sd333221#6
Yes, i can't code in C but i know other languages, your problem is
you have to set the speed how fast CSS should shoot, in my language
there would be something like
Code:
Option.Senddelay(0)
Also the shoot speed is limited in CSS so you cannot shoot unlimited fast.

You will have to look up the internet how the exact command in C is.

Hope i could help you
04/16/2006 22:11 Xalon#7
Now it works :)
I'll release the Programm when its done completly...
But I dont know when i'll have enough time ...

Xalon
04/16/2006 22:20 sd333221#8
Quote:
Originally posted by Xalon@Apr 16 2006, 22:11
Now it works :)
I'll release the Programm when its done completly...
But I dont know when i'll have enough time ...

Xalon
How did you get it working?
04/16/2006 22:38 xaladin#9
just to correct you...
the title says
"fast shitting with the pistole"
i think you wanted to say
"fast shooting with the pistole"

schiessen=shooting
scheisen=shitting
o,o"
04/16/2006 22:57 Maybe It's Maybelline#10
Quote:
Originally posted by sd333221+Apr 16 2006, 22:20--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (sd333221 @ Apr 16 2006, 22:20)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin--Xalon@Apr 16 2006, 22:11
Now it works :)
I'll release the Programm when its done completly...
But I dont know when i'll have enough time ...

Xalon
How did you get it working? [/b][/quote]
Thru a timer I guess.


@Xaladin: Und jetzt bitte noch weitere 80 Posts, die in verschiedene Sprachen auf den schreib Fehler hinweisen, sorry man kanns auch mal lassen :rolleyes:
04/16/2006 23:05 Xalon#11
@Marie: Nein ich hab dch gesagt ich will verbessert werden ;)
@sd333221:I had to use a timer ;)
You were right!
04/17/2006 00:43 Maybe It's Maybelline#12
Quote:
Originally posted by Xalon@Apr 16 2006, 23:05
@Marie: Nein ich hab dch gesagt ich will verbessert werden ;)
@sd333221:I had to use a timer ;)
You were right!
Naja, du wolltest bei englische Fehler verbessert werden und ich denke 1 mal reicht und keine 3 mal und das "You were right!" hättest du auch zu mir hinschieben können immerhin hab ichs erraten xD
04/17/2006 00:49 Xalon#13
Ja du hattes auch recht :P
04/17/2006 04:11 mr.rattlz#14
Quote:
Originally posted by Marie@Apr 16 2006, 22:57
@Xaladin: Und jetzt bitte noch weitere 80 Posts, die in verschiedene Sprachen auf den schreib Fehler hinweisen, sorry man kanns auch mal lassen* :rolleyes:
Meiner Meinung nach haben die Leute, die solche Fehler machen eindeutig angefangen und wollen provozieren.
Und außerdem war der Post von Xaladin nicht groß genug, der Fehler ist immer noch da...
Und überhaupt, so auffällige Fehler kann man doch wohl wirklich nicht so einfach stehen lassen.
ÄNDER DEN TITEL OMG !!!
Ja, wie gesagt, irgendwann kann man das auch mal lassen, genau so wie man das mit den mittlerweile auch nicht mehr komischen Fehlern mal lassen könnte.
Oder manche Leute wissen einfach nichts von dem Button um den Post zu editieren, vielleicht sollte man ihn leuchten lassen oder so.


edit: Ich werde meinen Post in irgendwas sinnvolles editieren, sobald ich keinen Durchfall vom Titel mehr bekomme.
04/17/2006 13:38 obsceneArts#15
Quote:
Originally posted by Xalon@Apr 17 2006, 00:49
Ja du hattes auch recht :P
§ 1 - Marie hat immer Recht.
§ 2 - Sollte sie mal nicht recht haben, tritt automatisch § 1 in Kraft. :p

Sorry, das musste jetzt raus. X-D