Sign in to follow this  
Followers 0
someone1

The scripted commands are blocked

15 posts in this topic

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 ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Bi0haZarD

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

any1 know how to solve this ?

Share this post


Link to post
Share on other sites

how can i get control id for a game ?

Share this post


Link to post
Share on other sites

control id just stay blank and there is only ClassNameNN for the chat box

help any1?

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

oh i just noticed t says control is hidden

how can i find it ?

Edited by someone1

Share this post


Link to post
Share on other sites

BUMP any help please?

Share this post


Link to post
Share on other sites

B.U.M.P.

Share this post


Link to post
Share on other sites

#12 ·  Posted (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 by someone1

Share this post


Link to post
Share on other sites

i did try it and like Send

it just does nothing ;)

ControlSend("*Title name*", "", "", "c") doesnt even work in notepad..

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0