Originally Posted by
bonsai
If this were finished up and working you could control the SMART mouse, keyboard, and screen from your python script.
The posted code is a rough first pass at being able to talk to the dll. I only tested a little of it so far. I didn't want to spend a lot of time on it if no one cared.
A lot of the base type and color functionality we're used to is in simba. You would have to write your own findcolorXXX(). Or try to link up to the ogl dlls and use that sort of functionality.
Im way into this! anything i can do to help let me know.
Code:
client cannot be launched
SMART: Located 0 clients
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
SMART: Failed to pair - No client by that ID
Traceback (most recent call last):
File "smart.py", line 160, in <module>
s.launchRunescape()
File "smart.py", line 31, in launchRunescape
print("spawnClient returned ", self.smartCli.contents.width, " ", self.smartCli.contents.height)
ValueError: NULL pointer access
This is what I keep running into trying to launch?
It looks like it tries to spawn the clent, but as soon as its starting its crashing.