Search found 33 matches

by Boydon
19.04.2015 17:48
Forum: Основной раздел
Topic: Stealth 6
Replies: 403
Views: 209342

Re: Stealth 6

I've packed the latest version with the python wrapper also, take it here.
by Boydon
17.04.2015 2:19
Forum: Основной раздел
Topic: Stealth 6
Replies: 403
Views: 209342

Re: Stealth 6

New version here with this new features: Python version selection. If you have more than one Python interpreter installed (2.x and 3.x) the first time you run a Python script, you are asked to choose what version to use. All the following Python scripts will be bound to this version New script metho...
by Boydon
07.11.2014 14:24
Forum: ЧаВо
Topic: Python for stealth client
Replies: 21
Views: 17250

Re: Python for stealth client

Sorry for not speaking russian, but you can find a full dll wrapper of the Script.dll here:
https://bitbucket.org/Stealthadmin/stea ... stealth.py

With this wrapper you have almost 100% compatibility with script written for stealth embedded Python.
by Boydon
10.07.2014 1:48
Forum: Help
Topic: [Python] module
Replies: 5
Views: 3518

Re: [Python] module

Then, long story short, you can (one of the following): add StealthDir\Script to your PYTHONPATH ( search google on how to) add the following snippet at the very beginning of your test.py (before importing testLib) import os import sys sys.path.append(os.path.dirname(__file__)) import testLib #after...
by Boydon
09.07.2014 9:30
Forum: Help
Topic: [Python] module
Replies: 5
Views: 3518

Re: [Python] module

This is strange, maybe it is related to Python version.
With Python 3.x the import logic has been changed, try with

Code: Select all

import .testLib.py #notice the dot before
by Boydon
25.11.2013 15:30
Forum: General Discussion
Topic: Stealth in other countries
Replies: 23
Views: 21129

Re: Stealth in other countries

In the screenshot you are using Stealth 4.3.6: you sould update to the latest 6.1.4?
by Boydon
27.07.2013 22:17
Forum: Помощь по скриптам
Topic: Атака
Replies: 4
Views: 4285

Re: Атака

Btw, this is supposed to be the english forum. :mrgreen:
by Boydon
19.04.2013 18:11
Forum: Help
Topic: Razor's "Negotiate features with server"
Replies: 12
Views: 9014

Re: Razor's "Negotiate features with server"

It will be in in Stealth 5.0
by Boydon
04.04.2013 0:36
Forum: Scripts
Topic: [Python] Runebook library
Replies: 0
Views: 4033

[Python] Runebook library

Below you can find a really simple and minimalisti lib to easly handle runebooks. For documentation please see the attached pyDoc string. To work correctly you'll need my gumps library . """Runebook class. Minimal runebook support. Created by Boydon Only tested with Python 3.x"&q...
by Boydon
04.04.2013 0:31
Forum: Scripts
Topic: [Python] Gump handling library
Replies: 1
Views: 3836

[Python] Gump handling library

Below you will find my Python library to work with gumps. For documentation please refer to the pyDoc strings. """ This module will make it easier for you to work with Gumps. Freely inspired by Chrome696 Gumps.pas Created by Boydon Only tested with Python 3.x """ import...
by Boydon
19.02.2013 13:10
Forum: Help
Topic: [Python] FindDistance
Replies: 3
Views: 3746

Re: [Python] FindDistance

Penny wrote:Seems like I cannot access the FindDistance variable:

Code: Select all

print(FindDistance)
produces this error:
NameError: name 'FindDistance' is not defined.
Correct version is:

Code: Select all

print(FindDistance())
Function calls in Python need parentheses. :)
by Boydon
07.01.2013 15:07
Forum: Requests
Topic: about journal scan, another problem!
Replies: 7
Views: 7668

Re: about journal scan, another problem!

Ok, so you don't need to scan journal. Just loop on your array PlayerTypes using FindType with Ground() as container and then with GetFindedList you have all the IDS matching your criteria. Then with GetName you can have the name, and for the guild you'll need to go with Tooltip scan. Remember to ha...
by Boydon
06.01.2013 20:04
Forum: Requests
Topic: about journal scan, another problem!
Replies: 7
Views: 7668

Re: about journal scan, another problem!

I would approach differently. You have LowJournal and HighJournal to scan the journal using Journal : when you use the latter you can take advantage of the LineID to know who said that phrase (you also have a bunch of Line* functions to get other info). After I would use GetTooltipRec as Chrome is s...
by Boydon
01.01.2013 14:13
Forum: Help
Topic: How to determine Type of Variables on Fly[Pascal]
Replies: 1
Views: 2574

Re: How to determine Type of Variables on Fly[Pascal]

You can use VarType builtin function. Program New; var myVar : Variant; myType : TVarType; begin myVar := 'Hello Word' myType := VarType(myVar); Case myType of varEmpty : AddToSystemJournal('The variant is not assigned.'); varNull : AddToSystemJournal('The variant is Null.'); varSmallint : AddToSyst...