Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Boydon

Pages: 1 2 [3] 4 5
31
Some of you already noticed intermediate versions, but as of today there is a new version of the wrapper: all the news are in the first post.

I've been working slow on the wrapper cause I put my efforts in another project, some news will come at the due time. :)

32
Stealth scripts / Re: [python] Taming macro
« on: April 07, 2014, 06:32:32 AM »
You need to get used to Stealth gump facilities. Once you are, you'll never go back. :D

33
Stealth scripts / Re: [python] Taming macro
« on: April 02, 2014, 02:57:48 AM »
Wow nice first post, but remember to introduce you. ;)

PS I though nobody was using my gump library. :)

34
You where faster than my fix. :D

Problem is that those two function are in current Stealth git version, but are not public yet (they will on next release). :D
Version 2014-03-28 has this fixed. Sorry for the inconvenience. ;)

35
Stealth archive / Re: GUI for Stealth Script?
« 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.

36
Stealth archive / Re: Python not returning the right object?
« on: March 21, 2014, 01:41:49 AM »
You can sort it by yourself using Python sorted:

Code: [Select]
PossiblePlayers = GetFindedList()
SortedPlayers = sorted(PossiblePlayers, key=FindDistance)

37
Stealth archive / Re: Question about Python tile functions
« on: February 01, 2014, 08:48:59 AM »
In standard embedded Python tile functions are fully working, if not please let me know and I will check it.
The same apply to the wrapper, that comment is not there if you get the latest version all the tile goodies are working fine. ;)

38
Wrapper is updated, see the first post for a list of changes.

Happy new year to everyone.  :)

39
Stealth archive / Re: Hello
« on: December 19, 2013, 03:14:42 PM »
Did someone say "Boydon"?  :D

I'm here to serve you. :)

40
Stealth Client / Re: [Release] Stealth Python wrapper [UPDATED 2013-10-26]
« on: December 07, 2013, 01:36:43 PM »
Thank you slyone.

Points #1, #3 and #4 are are fixed in my copy and will be available in next realese (it will be realsed after Stealth update).
Point #2 require a different implementation cause ObjTypes, Colors, Containers are arrays and need to be handled differently.

41
Thank you, slyone.
This is now fixed and you can grab it from the beta repo.

42
Stealth Client / [Release] Stealth Python wrapper [UPDATED 2014-08-21]
« on: October 25, 2013, 03:47:57 AM »
Hello everybody,

the first release of Python wrapper for stealth is now available in the beta repository of Stealth:
https://bitbucket.org/Stealthadmin/stealth-beta-client/downloads

It was developed to be full compliant with the standard Python implementation already embedded within Stealth: in this way people can recycle already developed code while having the full power of Python.

I developed it using Python 3.X, but the code should be cross compatible with Python 2.7 (although I didn't have enough time to test it). Not all the function have been tested so please report any bug you meet.

Once you have imported it, you need to compile your .py project with your favorite freeze tool (cx_Freeze is my favorite) to be able to run it in Stealth.


Changelog
---------- 2014-08-03 ----------
Changed:
- Renamed StartStealthPipeInstance to StartStealthSocketInstance for compatibility with Stealt 6.5.2 and addes some backward compatibility


---------- 2014-08-03 ----------
Added:
- GetMoveTroughNPC
- SetMoveTroughNPC
- StealthPath

Fixed:
- The following methods are now returning a list and not a single CR/LF separed string
    + GetContextMenu
   + GetGumpButtonDescription
   + GetGumpFullLines
   + GetGumpShortLines
   + GetGumpTextLines
   + GetLastMenuItems
   + GetMenuItems
   + GetShopList
- TStaticItemRealXY is now correctly declared
- AddToSystemJournal arguments are handled correctly
- Added the missing Tile filed to the TStaticItemRealXY
   
Changed:
- Renamed TStaticCellRealXY into TStaticItemRealXY


---------- 2014-04-15 ----------
Added:
- StartStealthPipeInstance
- CorrectDisconnection
- FindTypesArrayEx
The first two method are now needed to start external scripts.

Removed:
- StelathPath
- GetMoveTroughNPC
- SetMoveTroughNPC
All this methods are not public yet and will be available with the next stealth release.

Fixed:
- GetStaticArtBitmap
- FoundedParamID
- SetStatState (thx Encelar for this)


---------- 2014-01-03 ----------
Added:
- GetMoveOpenDoor
- SetMoveOpenDoor
- ClearInfoWindow
- FillInfoWindow
- ClearSystemJournal

Removed:
- ConvertFlagsToFlagSet (better implementation is needed)

Fixed:
- fixes suggested from slyone at http://www.scriptuo.com/index.php?topic=11704.msg100039#msg100039
- some code cleaning

43
Stealth Client / Re: How to debug Python Scripts
« on: June 09, 2013, 08:29:19 AM »
Be sure to have a Python interpreter installed as specified in step:

Add the Python interpreter

Quote from: Boydon
Window -> Preferences
 
Expand the PyDev tree (step 1), choose "Interpreter Python" (step 2), click on the "New" Button (step 3) and point Eclipse to your python.exe path (on my machine as you can see is "D:\Python27\python.exe", the screen has been taken after configuring so you see the result of it).

44
Stealth archive / Re: [Tutorial] Using Regions in your Scriptcode
« on: January 04, 2013, 01:52:10 AM »
If you work in Python you want to use Notepad++ for sure, but if you work in Pascal Script then Stealth has some very nice built in features that notepad++ does not have (autocomplete, argument hints, integrated debbuging, etc...).

45
Stealth archive / Re: [Tutorial] Using Regions in your Scriptcode
« on: January 04, 2013, 01:17:35 AM »
Like C#

#region xxx

#endregion

The chief architect of C# is the creator of Delphi. ;)

Anyway I think that regions sometime may clutter your code. Another tool that i like to use to fast browse my code is the function tree in the hint window of stealth.


View Screen Capture

Pages: 1 2 [3] 4 5