Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Differences between Stealth 8.7.5 and 8.7.2 for Python

Ask for help
Post Reply
bardobrado
Neophyte
Neophyte
Posts: 13
Joined: 29.03.2018 15:01

Differences between Stealth 8.7.5 and 8.7.2 for Python

Post 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!
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2

Post 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
bardobrado
Neophyte
Neophyte
Posts: 13
Joined: 29.03.2018 15:01

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post 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.
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post 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()))
bardobrado
Neophyte
Neophyte
Posts: 13
Joined: 29.03.2018 15:01

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post 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
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post by nah nah »

Can you try this? datetime convertation fixed.
bardobrado
Neophyte
Neophyte
Posts: 13
Joined: 29.03.2018 15:01

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post by bardobrado »

faster as hell, thanks
bardobrado
Neophyte
Neophyte
Posts: 13
Joined: 29.03.2018 15:01

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post 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.
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post by nah nah »

some idle was added mega

fixed print
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post by nah nah »

up
bardobrado
Neophyte
Neophyte
Posts: 13
Joined: 29.03.2018 15:01

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post 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.
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post by nah nah »

Great! Thank you much for a bug reporting.

its okay about 874.
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: Differences between Stealth 8.7.5 and 8.7.2 for Python

Post by nah nah »

watch you pm
Post Reply