Author Topic: Using Python Wrapper for Stealth  (Read 4393 times)

0 Members and 1 Guest are viewing this topic.

Offline HurleyTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0%
  • Reputation Power: 1
  • Hurley has no influence.
  • Respect: +3
  • Referrals: 1
    • View Profile
Using Python Wrapper for Stealth
« on: January 07, 2017, 11:59:48 AM »
0
Does anyone have experience setting up Boydon's Python wrapper and would be able to help me? I'm not sure what I'm doing wrong, but I'm not able to get very simple scripts like below to work.

Code: [Select]
import py_stealth as stealth
stealth.UOSay("bank")

I'm using cx_freeze to create the .exe to run in Stealth as an admin
I've updated the path of Script.dll in py_stealth.py to where it is saved on my computer

The process seems to get stuck on the "stealth.UOSay" command. I've verified this by inserting code before and after the "stealth.UOSay" command. I've tried other commands from the wrapper and none of them have worked for me so far.

I'm able use python scripts without the wrapper just fine, so if needed I can continue to use that approach. Any help would be appreciated.

 

Post Merge: January 08, 2017, 09:16:17 AM
For future reference, I was able to resolve this issue by upgrading to Stealth version 7.9. I was using version 6.7 in my original post.

Just note that in this latest version of Stealth there is no need to compile the Python scripts into an executable. It's working great so far.
« Last Edit: January 08, 2017, 09:16:17 AM by Hurley »

Tags: