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/downloadsIt 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