Phat Phil Posted July 26, 2006 Share Posted July 26, 2006 Okay, so I want this to hit B and then R on the window I have selected... Why isnt this working? Does it work for anyone else? If so please post that it worked for you. If I did something wrong please correct and post the edited version. I appricate it. -Phil (Yes I'm new to this.) Global $Paused HotKeySet("{END}", "TogglePause") HotKeySet("{HOME}", "Terminate") While 1 Sleep(50) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused sleep(200) Send("{b down}") Send("{b up}") Send("{r down}") Send("{r up}") WEnd EndFunc Func Terminate() Exit 0 EndFunc Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted July 26, 2006 Share Posted July 26, 2006 try control send and you dont need to press it down then up just send("b") send("r") will do fine Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 with control send do I need to have it point to the application I'm attempting to hit B & R with? So far no luck I'm attempting to make a script for knight online. a VERY simple target closest monster + attack script. B being the hotkey to target closest npc, and R to auto attack. Link to comment Share on other sites More sharing options...
mike1305 Posted July 26, 2006 Share Posted July 26, 2006 (edited) with control send do I need to have it point to the application I'm attempting to hit B & R with? So far no luck I'm attempting to make a script for knight online. a VERY simple target closest monster + attack script. B being the hotkey to target closest npc, and R to auto attack. Global $Paused HotKeySet("{END}", "Attack") HotKeySet("{HOME}", "Terminate") While 1 Sleep(50) WEnd Func Attack() ; <-------------I ALSO CHANGED THE FUNC NAME TO ATTACK SINCE $Paused = NOT $Paused ; THE OTHER NAME WAS FROM THE HELP PAGE. :) While $Paused sleep(200) Send("br") ; HERE IS MY EDIT THAT I MADE. -MIKE WEnd EndFunc ;==>TogglePause Func Terminate() Exit 0 EndFunc ;==>Terminate oÝ÷ Øp¢¹uú+â+j{azÇ+h¥éÞvz-z¦·¬±çD46§v+mÊ¢ë[ºÛºÛºÛºîØ¥"Þ²ÇÐÚ¨§JÂä±»¬{*.®¦yƧky§méÊÆÞx)ë,yÛ(ªè¢· .Ûr¥ê®¢Öëªê-æئzÊ^®Ç¢wV¢é]Ê°j{Zd{+ajئ·¬±çhÇ°¢é]±éÝ¢wªº[®«¨µÊ&©Ýjëh×6 HotKeySet("{END}", "Attack") Func Attack() Send("br") EndFunc Edited July 26, 2006 by mike1305 Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted July 26, 2006 Share Posted July 26, 2006 the game has gameguard or some sort of anti hacking so the game only accepts direct input from your keyboard Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 thx mike and thatsgreat, would either of you happen to know if there is a way to make it seem as if it was direct imput from the keyboard? Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 as for hotkey i wouldnt mind just every 5seconds or so i would like b then r to be pressed, and possibly considered direct imput from the keyboard i suppose, if possible & the task is hard. then i may have some money on paypal i could offer as a tip. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted July 26, 2006 Share Posted July 26, 2006 does it have gameguard? or what does it have i onyl know gameguard and hack shield but they all have direct hard ware access so its almost impossible to have direct input, id suggest packets Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 well while the game is running it has xtrap (gamesecurity)_1139 and it runs a diagnostic b4 launching with it. I'm aware there r other macros out for what im intending on doing, but their hard to find. it allows archers to sit down and attack from that 1 spot at the same time. I've yet to find it, so i figured i'd take a crack at making 1 myself. if there is a way to make it direct imput with autoit v3 that would be awsome otherwise its back to google i go -.- Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 it used to have hackshield but i think they trashed that awhile ago, been awhile since ive played knight online. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted July 26, 2006 Share Posted July 26, 2006 ooo cuz you can always jump the process in olly so no hacking shield or hacking preventioness starts up Link to comment Share on other sites More sharing options...
mike1305 Posted July 26, 2006 Share Posted July 26, 2006 If the game actually has that kind of protection I guess that people do this kind of stuff all the time...interesting. if you ask me it takes all the fun out of it...why not just press b then r really fast on your own? reaching over and finding the END button doesnt seem much easier! Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 well i want the program to repeat the process while im afk Link to comment Share on other sites More sharing options...
Phat Phil Posted July 26, 2006 Author Share Posted July 26, 2006 also if i have ollydbg how might i go about doing this to remove the xtrap protection Link to comment Share on other sites More sharing options...
Phat Phil Posted July 27, 2006 Author Share Posted July 27, 2006 ne suggestions on how to disable xtrap ? if with program, how might i do this with that program? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now