Page 1 of 1

Python Scirpts

Posted: 15.12.2012 17:47
by kyanor
Hi guys...
Is python fully working (every functions)...
And it's full featured?

I've heard that python isnt working properly with some functions, is it right?

Thanks

Re: Python Scirpts

Posted: 15.12.2012 20:31
by Vizit0r
not.
if yes, give examples.

Re: Python Scirpts

Posted: 04.11.2015 6:40
by Vlek
It absolutely doesn't work right. There're times when I'll write completely legal Python code, and it'll shit out.

For instance, if you have multi-lined comments, you have to have them without any indentation otherwise it'll error out.

I can't tell you how many times that I've written Python scripts and then it causes my entire stealth to fail.

There are a number of things in the API that're completely wrong. They either have the wrong names, or they're not even included in the API. For some things, you have to check the header of the stealth library to get the full listing.

PartySay completely errors out because it's trying to send Unicode or something when Python doesn't have hard set variable types.

It's in Russian, so nothing makes sense. "GetFindedList" sounds like a drunk russian child came up with it. There are some functions that do either the exact opposite of what you'd think they'd do, like ClientTargetResponsePresent, or perform completely differently than anything you'd expect, like WaitGump.

It's a trying thing to try to write Python scripts for Stealth.

Re: Python Scirpts

Posted: 07.11.2015 13:25
by Vizit0r
"GetFindedList" - it's first author method name, same like few other.
No name change made beacause of back compatibility.
Same with strange work of some methods - new methods added instead of changing original.

About Python - it's really not my "part", so i cant give you solutions.
If you want real Python - try external Pyton scripts (by Boydon external dll 4 python).

Built-in Pyton have few well-known problems, which can't be solved. Like thread, stealth method "Wait" and others.

Re: Python Scirpts

Posted: 25.11.2015 5:08
by Vlek
Vizit0r wrote:Built-in Pyton have few well-known problems, which can't be solved. Like thread, stealth method "Wait" and others.
Wait, could you please explain what these issues are? I think this might explain some of the problems I've been having, and I might be able to code around them.

Re: Python Scirpts

Posted: 26.11.2015 19:42
by Vizit0r
already explained in skype)