Page 1 of 1

Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 01.04.2018 3:49
by bardobrado
Stealth Version 8.7.5, Related to this post:
http://stealth.od.ua/forum/viewtopic.php?f=14&t=4282

I found this version much better than version 8.7.2, but my macros are very slow in 8.7.5.

In this video comparison between stealths, we can see that the same macro in 8.7.2 is much faster than the newer version.

https://www.youtube.com/watch?v=U6O3vuC2LjE&t=48s

The code is the same, i`m using python 3.6 32bits. Why is so slower in the newer version?

Anyway, i found 8.7.5 much more stable, i`m thankfull for this. But is there a way to improve the speed?

Thanks!

Re: Differences between Stealth 8.7.5 and 8.7.2

Posted: 01.04.2018 4:18
by nah nah
Hello. Can you put the 875 .exe file to the 872 directory? you can rename it. for example "stealth875.exe". Then try your script again. maybe it will works faster.

PS i will add the HP() function. What is wrong with Poisoned() and IsPoisoned()? Those functions are defined in both versions

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 01.04.2018 5:06
by bardobrado
PS i will add the HP() function. What is wrong with Poisoned() and IsPoisoned()? Those functions are defined in both versions
none problem, it is working fine. What i mean is that i changed in my script, where in 872 is written HP, in 875 is GetHp(Self()), same as Poisoned. But this doesnt change the speed of the macro.
Hello. Can you put the 875 .exe file to the 872 directory? you can rename it. for example "stealth875.exe". Then try your script again. maybe it will works faster.
I did it, but the script doesnt run it, both, mining for 872 an for 875.

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 01.04.2018 5:34
by nah nah
bardobrado wrote:none problem, it is working fine. What i mean is that i changed in my script, where in 872 is written HP, in 875 is GetHp(Self()), same as Poisoned. But this doesnt change the speed of the macro.
GetHP(Self()) = Life(), but as i sad, i will add the HP() function. Poisoned() and IsPoisoned() was defined in 873, is defined in 875.
bardobrado wrote: I did it, but the script doesnt run it, both, mining for 872 an for 875.
i forgot about "Script.dll". 875 needs the same version dll.

PS i will think about speed up.
PSS the print works correctly only in python 2. from 3.3 it can works only if the flush arg will be true

Code: Select all

print(1, 2, 3, sep=', ', flush=1)
prefer to use AddToSystemJournal

Code: Select all

print = AddToSystemJournal
print(1, '2', [3], key1='key1', char_name=GetName(Self()))

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 01.04.2018 12:44
by bardobrado
i forgot about "Script.dll". 875 needs the same version dll.
Did it, i copied 875 dll and exe to 872 folder but the script did not run.
PS i will think about speed up
Thanks, if u can do that stealth will be perfected!
Even so, 875 is very good, taking the speed problem i think the graphical client much more stable than 872.

I`m not using 875 because of the speed, time is money, but i will migrate soon as speed up.

Thanks nah nah, 875 is awesome

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 01.04.2018 21:12
by nah nah
Can you try this? datetime convertation fixed.

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 01.04.2018 23:47
by bardobrado
faster as hell, thanks

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 02.04.2018 2:54
by bardobrado
Ops, there was a problem. When i put my 8 miners to work, my cpu almost exploded, like 100% use. This doesnt happens on 872.

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 02.04.2018 13:16
by nah nah
some idle was added mega

fixed print

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 02.04.2018 14:31
by nah nah
up

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 02.04.2018 16:37
by bardobrado
Image

Perfect for cpu usage, but the macro get slowest again.

Another thing is that stealth version is showing 874 on title, in this version.

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 02.04.2018 16:43
by nah nah
Great! Thank you much for a bug reporting.

its okay about 874.

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Posted: 02.04.2018 17:45
by nah nah
watch you pm