someone1 Posted September 14, 2005 Share Posted September 14, 2005 In knight online, the scripted commands are somehow blocked or the keycodes in knight online are different than winapi ones, i am wondering if there is a way to unblock the autoit commands and be able to use them in knight online. the commands work in notepad i have checked so it IS knight online, how could i fix this ? Link to comment Share on other sites More sharing options...
Bi0haZarD Posted September 14, 2005 Share Posted September 14, 2005 (edited) i don't see why just send wouldn't work. I played Knight Online for about 2 weeks, if i remeber correctly you had to press enter first to type. also make sure Knight Online has the focus when you run your script. so use something like: WinActivate("Knight Online") WinWaitActive("Knight Online") sleep(1000) ;i prefer to sleep after to make sure the window is really active. Send("{ENTER}");If enter is needed to type Send("This is a test") Send("{ENTER}") when you run your script it should restore Knight Online and press enter to type and type the message "This is a test" and press enter to send it. hope that helps. if that works you should be able to send mouse clicks as well. Edited September 14, 2005 by Bi0haZarD Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 ur code : it sets window to knight online client but as i said it cannot take any commands *see 1st post* they are somehw blocking them Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 any1 know how to solve this ? Link to comment Share on other sites More sharing options...
w0uter Posted September 14, 2005 Share Posted September 14, 2005 try controlsend. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 how can i get control id for a game ? Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 control id just stay blank and there is only ClassNameNN for the chat box help any1? Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 (edited) oh i just noticed t says control is hidden how can i find it ? Edited September 14, 2005 by someone1 Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 BUMP any help please? Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 B.U.M.P. Link to comment Share on other sites More sharing options...
w0uter Posted September 14, 2005 Share Posted September 14, 2005 just use title/text only. and you shouldnt bump so much. if you cant wait, do it yourself. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
someone1 Posted September 14, 2005 Author Share Posted September 14, 2005 (edited) ControlSend("Knight OnLine Client", "", "Edit1", "c") can send c into the chatbox chatbox classnamenn=edit1 but on normal game theres nothing how owuld i use title/text only? ControlSend("Knight OnLine Client", "", "", "c") ? Edited September 14, 2005 by someone1 Link to comment Share on other sites More sharing options...
w0uter Posted September 14, 2005 Share Posted September 14, 2005 did your try it like that ? if not why not try it instead of posting if yes post the results. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
someone1 Posted September 15, 2005 Author Share Posted September 15, 2005 i did try it and like Send it just does nothing ControlSend("*Title name*", "", "", "c") doesnt even work in notepad.. Link to comment Share on other sites More sharing options...
someone1 Posted September 15, 2005 Author Share Posted September 15, 2005 to controlsend in notepad i have to use: ControlSend("Untitled - Notepad", "", "Edit1", "c") in the KO game i can also use "Edit1" part to macro for the chat only, Edit1 doesnt work for normal game and blank ( ControlSend("Untitled - Notepad", "", "", "c") ) doesnt work in game or notepad any ideas? 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