ScriptUO

Scripting Resources & Utilities => Stealth Client => Stealth archive => Topic started by: Th3Ma5hatt3r on March 12, 2014, 03:14:59 PM

Title: GUI for Stealth Script?
Post by: Th3Ma5hatt3r on March 12, 2014, 03:14:59 PM
Hello, I was curious if anyone had an example of GUI for python scripts or even C# would work too. I have been looking at all of the examples and I can only seem to find Neo's scripts for 1.1v but TST for pascal is no longer supported in Stealth. So I was curious what other people are using for GUI for their scripts?
Title: Re: GUI for Stealth Script?
Post by: dxrom on March 12, 2014, 03:51:51 PM
GUI support was removed for pascal. Personally I've never used GUI anything for my stealth scripts.
Title: Re: GUI for Stealth Script?
Post by: Crome969 on March 12, 2014, 11:17:35 PM
Hello, I was curious if anyone had an example of GUI for python scripts or even C# would work too. I have been looking at all of the examples and I can only seem to find Neo's scripts for 1.1v but TST for pascal is no longer supported in Stealth. So I was curious what other people are using for GUI for their scripts?

GUI for Python only Boydon can give you an answer. I remember long ago ( Version 3.x ) when i were toying with Python as plain user u had the possibility of usint KTinker?

For C# its not really hard. Yo make your GUI as Project. Your script must run via Backgroundworker. So GUI = Applicationthread, Script via backgroundworker. if you want to read\write data from \to GUI you need to delegate it. Anywhere i had made a sample Project for a friend with simple Gui, delegate Messages you write in gui to saying Ingame and documentation. Lemme Search it.

Pascal itself no longer Supports GUI. Vizit0r had implemented them Version 3.x but they were pseudoworking ( more issues then happiness). Version 4 we changed the Framework for the Pascal Editor, but in the early Stages of Version 5 we noticed the new Framework offers also more issues :)(Thats why we never released it). So With Version 6 we introduced the API,you could now use Delphi for writing Scripts as well. As i saw you also got a reply on Scriptuo about the Version Update : http://stealth.od.ua/download/Stealth_v6.4.rar . I tested yesterday the fixes in API and now you can use GUI with Delphi and Stealth.
Title: Re: GUI for Stealth Script?
Post by: Th3Ma5hatt3r on March 14, 2014, 03:52:17 PM
Okay thank you for the information.
Title: Re: GUI for Stealth Script?
Post by: Boydon on March 21, 2014, 01:48:54 AM
GUIs in Python are painful at the moment if you use the Stealth embedded Python interpreter.
I do not recommend you to use them. You can have better results using the Python wrapper (http://www.scriptuo.com/index.php?topic=11704.0).
Title: Re: GUI for Stealth Script?
Post by: Johnz125 on June 09, 2014, 11:57:50 PM
GUIs in Python are painful at the moment if you use the Stealth