New question #701944 on SikuliX:
https://answers.launchpad.net/sikuli/+question/701944
I am trying to give a game randomized "w, a , s ,d" movements. to do this, I
used random.uniform(1.764, 5.235 ) and I got the script to work as intended. to
add further randomization I also did the same with using random.uniform with
wait durations. However after this, any print statement in the script, no
longer works and errors with
[error] script [ e ] stopped with error in line 23
[error] java.nio.BufferOverflowException ( java.nio.BufferOverflowException )
[error] --- Traceback --- error source first
line: module ( function ) statement
23: main ( ) print("Plants")
[error] --- Traceback --- end --
I wrote this random inputs script in a separate one then just copied and pasted
it into the main project. I am sure that taking the information from
random.uniform does something to cause this. However I wouldn't be writing this
if I really knew what was going on
I would like to use print statements again.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.
___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp