I just thought I should give everyone the heads up, so you don't keep wasting time creating the ingame macro for your new characters.
As of revision 524 rombot now creates the ingame macro automatically. It also set up the action key. It is able to find previous macros so you can even move them around before starting your script and it will still use them. Also it will no longer accidentally over-write your other macros.
Please feel free to comment.
The Macro key no longer needs to be set up manually!
The Macro key no longer needs to be set up manually!
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
Re: The Macro key no longer needs to be set up manually!
omg, gr8 news!
shame it wasn't before i created 3 acc of 8 chars each ;P
shame it wasn't before i created 3 acc of 8 chars each ;P
-
Personalausweis
- Posts: 73
- Joined: Mon Aug 16, 2010 12:50 pm
Re: The Macro key no longer needs to be set up manually!
swietlowka wrote:omg, gr8 news!
shame it wasn't before i created 3 acc of 8 chars each ;P
/sign
me 8 accs -.-
Re: The Macro key no longer needs to be set up manually!
I have been using fastlogin to switch character after completing dailies. I tried how the bot makes the macro and left it running. When i came back to check it it was stuck on second character and trying to press the 5(?) key where the rombot places that macro. Other chars have macro placed on place 0.
Would it be better if bot would place macro to default slot that i think is 0 or could check if it's been placed to other slot?
Can bot it see slot from the profile for macro and place macro there?
Would it be better if bot would place macro to default slot that i think is 0 or could check if it's been placed to other slot?
Can bot it see slot from the profile for macro and place macro there?
Re: The Macro key no longer needs to be set up manually!
If it's a new character it should place it at the '0' position as specified in the profile. If there is already a action key pointing to the macro, it should use that. If position '0' is being used by something else then it will use the first free action key.Giram wrote:I have been using fastlogin to switch character after completing dailies. I tried how the bot makes the macro and left it running. When i came back to check it it was stuck on second character and trying to press the 5(?) key where the rombot places that macro. Other chars have macro placed on place 0.
Would it be better if bot would place macro to default slot that i think is 0 or could check if it's been placed to other slot?
Can bot it see slot from the profile for macro and place macro there?
I guess the problem could be with the reloging. The macros are set when the bot is first started after all. Try running 'setupMacros()' after you load the new character. See if that works. Although I would have thought it would have been rerun anyway when you ran 'settings.loadProfile()'. Is 'settings.loadProfile()' part of your relog sequence?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: The Macro key no longer needs to be set up manually!
No. It's not part of my sequence. I have it made like this:rock5 wrote:I guess the problem could be with the reloging. The macros are set when the bot is first started after all. Try running 'setupMacros()' after you load the new character. See if that works. Although I would have thought it would have been rerun anyway when you ran 'settings.loadProfile()'. Is 'settings.loadProfile()' part of your relog sequence?
Code: Select all
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount == 10 then
sendMacro("}LoginNextToon=true;a={")
sendMacro("Logout();"); yrest(90000) -- wait 3m for next character to load
printf("CharacterName = "..player.Name.."\n");
else
printf("CharacterName = "..player.Name.."\n");
endAll chars have similar settings and are just doing elf daily. That has been working for me.
So it could be that i just need to reinitialize the new character after it switches to another char if there is mixed settings on some chars.
Re: The Macro key no longer needs to be set up manually!
If all you are doing is dailies the try something like this
As well as the setupMacros function I've also added my waitForLoadingScreen function. Also, seeing as you print the name in either case, I put it outside the 'if' statement.
Code: Select all
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount == 10 then
sendMacro("}LoginNextToon=true;a={")
sendMacro("Logout();");
waitForLoadingScreen() -- wait Till loaded
setupMacros() -- rechecks macros
end
printf("CharacterName = "..player.Name.."\n");
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: The Macro key no longer needs to be set up manually!
Thank you Rock5.
I tried your code and it works now. First char had macro on place 5 and next have on 0. It reloads character and if much faster now cause it won't need to wait that fixed time after changing character.
I tried your code and it works now. First char had macro on place 5 and next have on 0. It reloads character and if much faster now cause it won't need to wait that fixed time after changing character.