Openkore.com

OpenKore Forums
 It is currently 13 Dec 2019, 18:04

 All times are UTC - 5 hours [ DST ]

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Send a delay/pause in Microsecond on an automacro ?Posted: 25 May 2017, 05:11
 Noob

Joined: 23 May 2017, 07:27
Posts: 10
Hey there, so basicaly, i have a problem at putting a microsecond instead of a second at 'Pause" in automacros, it just never works when i tried to put like 0.4 or 0,4 or .4 , i also tried this in my automacro
Code:
[
\$x = 400
\$y = 1000
\$z = @eval (\$x / \$y)
]
pause \$z

lol, didnt work aswell, it seems that the pause is not recognized if its under 1 second , i want to play with microseconds badly , i laso tried to check the timeouts, but same, if its under 1 second, its like it has 0 delay, for exemple :

ai_skill_use 0.1 <====> ai_skill_use 0.9 , they are the same, nothing changed ^^, but if you do this :
ai_skill_use 1, here, it will work fine, but only if i put a second......not a microsecond

Anyway, its kinda boring, i think it must be possible to change that, but i'm not an expert in Kore, i just like to create news fun scripts ! ( and i want the Microsecond T_T )

Thank you !

Top

 Post subject: Re: Send a delay/pause in Microsecond on an automacro ?Posted: 14 Jun 2017, 22:16
 Moderators

Joined: 16 Dec 2011, 02:53
Posts: 1215
Location: Brazil
Cientific notation

1000 = (10 x 10 x 10) * (1) (positive) = 10^3 (3 of three zeroes)
-1000 = (10 x 10 x 10) *(-1) (negative) = 10^-3 (3 of three zeroes)

Why not multiplies for 0,001 ? (3 zeroes)

\$z = @eval (\$x * 0.001)

Can u get the 0,4 as result ?!
If you can't get. Try not using the @eval.

\$z = \$x/\$y

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'"

viewtopic.php?f=10&t=16117

Thanks for this Eternal! =D <3<3

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

 All times are UTC - 5 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ Announcements    Announcements Support    Frequently Asked Questions & Guides    Resolved Questions    Official Servers       bRO       fRO       iRO       idRO       kRO       jRO       tRO       twRO       pRO       Private Servers       Other OpenKore support Discussions    Discussion    Tips & Tricks    Feature suggestions Plugins    Howto write plugins    Macro Plugin       Share your macro's    Other Plugins Technical    Developers Corner    Development Help    Tester's corner    Bug reports       Fixed bugs       Unresolvable bugs    Commit Queue Off Topic    Misc    Trashcan Links    OpenKore Manual    Official GitHub    Download Openkore .zip    AJAX IRC Client (Chat)    Developer Manual