Openkore.com

OpenKore Forums
It is currently 16 Jul 2018, 00:55

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Delay/Timeout
PostPosted: 03 Apr 2018, 20:18 
Offline
Human
Human

Joined: 05 Mar 2018, 05:34
Posts: 21
Anyone knew what should i change on this? The red line indicates i think about 5-7s delay after it triggers from the auto macro.

auto macro is like this..

automacro finish1 {
console /????????/
call changeCHAR
}

the change char only has

:twochar
do conf username $uname2
do conf password $pword2
do conf char $slot2
do relog 1
release all

what delay or time should i change to make it faster?


Attachments:
File comment: Delay on the Red Line.
gg.jpg
gg.jpg [ 18.02 KiB | Viewed 880 times ]
Top
 Profile  
 
 Post subject: Re: Delay/Timeout
PostPosted: 03 Apr 2018, 20:20 
Offline
Human
Human

Joined: 05 Mar 2018, 05:34
Posts: 21
so the relog only has 1 second it has nothing to do i think on the change char or macros i am using, i hate to say this but i already tried to changed a lot on timeout.txt hahaha. it messes up sometimes but at least i have back up for it.

got account error character error and anything when i change the timeout.txt

# Server connection timeouts
master 5
gamelogin 3
charlogin 4
maplogin 4
play 20

those works for me but too slow on the red line what to change?


Top
 Profile  
 
 Post subject: Re: Delay/Timeout
PostPosted: 04 Apr 2018, 02:09 
Offline
Halfway to Eternity
Halfway to Eternity
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 314
Location: Malaysia
Image
Image

Example:
Code:
do conf username $uname2; do conf password $pword2; do conf char $slot2; do relog 1; release all


Or you might wanna try switch config. (I never use this switching stuff before.)

_________________

Wiki & Google are your best allies.
iRO server supporter.
Image


Top
 Profile  
 
 Post subject: Re: Delay/Timeout
PostPosted: 05 Apr 2018, 08:06 
Offline
Human
Human

Joined: 05 Mar 2018, 05:34
Posts: 21
Code:
 
macro changeCHAR {
$uname1 = ?????
$pword1 = ?????
$slot1 = 0

$uname2 = ????
$pword2 = ????
$slot2 = 0

:char
if (($uname1 == @config(username)) && ($pword1 == @config(password)) && ($slot1 == @config(char))) goto twochar
if (($uname2 == @config(username)) && ($pword2 == @config(password)) && ($slot2 == @config(char))) goto onechar

:twochar
   do conf username $uname2
   do conf password $pword2
   do conf char $slot2
   do relog 1
release all
stop

:onechar
   do conf username $uname1
   do conf password $pword1
   do conf char $slot1
   do relog 1
release all
stop
}


this is my change charmacro, where did i put it wrong? or where should i change? it works fine but still has delay on the red line.

if i put macro_delay on the timeouts.txt will it also affects the other macro?


Top
 Profile  
 
 Post subject: Re: Delay/Timeout
PostPosted: 05 Apr 2018, 11:06 
Offline
Halfway to Eternity
Halfway to Eternity
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 314
Location: Malaysia
deandamien wrote:
where did i put it wrong? or where should i change? it works fine but still has delay on the red line.


Hmm..
I thought your concern is the delay. Nothing wrong from what I see. :?

deandamien wrote:
if i put macro_delay on the timeouts.txt will it also affects the other macro?


Yup.It determine the seconds you want it to pause. Exactly as it written in wiki. ;)
By default it took 1 seconds. If you want faster, make it less. :idea:
If want no delay, use semi-colon > ;

After you've done that, try with this:
Code:
macro changeCHAR {
$uname1 = ?????
$pword1 = ?????
$slot1 = 0

$uname2 = ????
$pword2 = ????
$slot2 = 0

:char
if (($uname1 == @config(username)) && ($pword1 == @config(password)) && ($slot1 == @config(char))) goto twochar
if (($uname2 == @config(username)) && ($pword2 == @config(password)) && ($slot2 == @config(char))) goto onechar

:twochar
   do conf username $uname2; do conf password $pword2; do conf char $slot2; do relog 1; release all; stop

:onechar
   do conf username $uname1; do conf password $pword1; do conf char $slot1; do relog 1; release all; stop
}


Using semi-colon; I can't say if it fast but I could say it's a little bit faster. Might not notice the different at one try but after comparing mine, running for few hours it does speed up few minutes from before. I use on eventMacro for macro. Using automacro from macro.txt to call macro eventMacro.txt.

They said eventMacro is better. Maybe that's the cause since you are using normal macro.

IDk exactly what you mean by red line. It just telling that you are done talking. That's all
What's wrong with it? :roll:

_________________

Wiki & Google are your best allies.
iRO server supporter.
Image


Top
 Profile  
 
 Post subject: Re: Delay/Timeout
PostPosted: 06 Apr 2018, 01:07 
Offline
Human
Human

Joined: 05 Mar 2018, 05:34
Posts: 21
Quote:
Yup.It determine the seconds you want it to pause. Exactly as it written in wiki. ;)
By default it took 1 seconds. If you want faster, make it less. :idea:
If want no delay, use semi-colon > ;


okay will try that. but i have more than 50 to edit. might take a while. :D

Quote:
They said eventMacro is better. Maybe that's the cause since you are using normal macro.

IDk exactly what you mean by red line. It just telling that you are done talking. That's all
What's wrong with it? :roll:


Haven't tried the eventMacro, i have just finished refreshing on doing some. :D lol to be exact newbie i am. So i need to read more about that. :)

about the redline, the one i draw on the picture, it took i think about 5-7 seconds before the next one. the trigger on the change char doesn't have delay on it or timeout. so i guess it became default, by which means 1s? haven't tried putting macro_delay on the timeout.txt since you sad it will also change the other macro delay. and that i dont want to. only needed the change char delay i think. if i put a video the redline pauses 5-7s as i said before. but will the the semi colon first. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group