rock5's "fastLogin Revisited"
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
- Lamkefyned
- Posts: 348
- Joined: Thu May 23, 2013 11:38 am
- Location: Spain
Re: rock5's "fastLogin Revisited"
problem fixed
If you think something is right just because everyone else believes,you're not thinking.
Re: rock5's "fastLogin Revisited"
I found something on because my bot does not recognize the command TASKKILLrock5 wrote:It is included with XP so I have no idea why it wouldn't work. Sorry.
TASKKILL works if your operating system is Windows XP Professional or Windows 7, but if it's like in my case I have a Windows XP home edition TASKKILL command does not exist, the equivalent would TSKILL
I found this http://www.computerhope.com/tskill.htm
I tried modifying userfunction login does not work, but I think it should be something like,
Code: Select all
os.execute("TSKILL /A");
Re: rock5's "fastLogin Revisited"
Good catch. You'll have to test it until you find the right format that works because you're the one with the operating system. Just "tskill /a" isn't enough because it doesn't include the pid. I don't know if the /A is necessary but if I would have to guess I'd say it should be,
Note: if you are testing the command directly from a dos box commandline, the pids you get from the taskmanager are hex numbers. You need to convert a processes id to a digital number to use with the command.
I think, though, that it's possible that if the function doesn't have a /f option (force option ) it wont work.
I would have thought there would be some official taskkill that XP Home users could download but I couldn't find anything.
Code: Select all
os.execute("TSKILL " .. pid )
I think, though, that it's possible that if the function doesn't have a /f option (force option ) it wont work.
I would have thought there would be some official taskkill that XP Home users could download but I couldn't find anything.
- 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: rock5's "fastLogin Revisited"
I solve this problem with sometimes shows ServerListFrame by modify serverlist.lua file.rock5 wrote:Version 3.4
Some nice changes here.
- Fixed sometimes it asking for server.
- Sometimes it would ask for the server if you previously canceled a log in. Now it shouldn't.
Maybe its need for someone who used old 65 accaunt version.
- Attachments
-
- serverlist.lua
- For prevent sometimes shows ServerListFrame
- (7.5 KiB) Downloaded 174 times
Last edited by Bot_romka on Wed Dec 11, 2013 1:34 pm, edited 1 time in total.
Re: rock5's "fastLogin Revisited"
But it was already fixed. Wasn't it working for you?
- 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: rock5's "fastLogin Revisited"
I used old 65 accaunts version. And its good solve for me.rock5 wrote:But it was already fixed. Wasn't it working for you?
-
- Posts: 5
- Joined: Thu Dec 12, 2013 12:49 pm
Re: rock5's "fastLogin Revisited"
I installed the addons but i can't see the buttons,why?
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: rock5's "fastLogin Revisited"
Anonymous, did you completely exit the RoM client and restart it?
Did you make sure the files were put in the correct location inside the Runes of magic directory?
Did you make sure the files were put in the correct location inside the Runes of magic directory?
-
- Posts: 5
- Joined: Thu Dec 12, 2013 12:49 pm
Re: rock5's "fastLogin Revisited"
must the client be open while i put the file inside the directory?noobbotter wrote:Anonymous, did you completely exit the RoM client and restart it?
Did you make sure the files were put in the correct location inside the Runes of magic directory?
-
- Posts: 5
- Joined: Thu Dec 12, 2013 12:49 pm
Re: rock5's "fastLogin Revisited"
i have done it,now it works
Re: rock5's "fastLogin Revisited"
I'm missing something simple I'm sure. I have the ChangeChar working great. It cycles through each character in succession. What I don;t know how to do is use the loginnexttoon and call up my character list. I run 2 instances of rom for 6 accounts to do dailies in heffner, one going to npc A and one to npc B. Some of the accounts have characters I don;t want doing that daily so I need to use the setcharlist funtion to skip over them. It would be nice if after completing one account's dailies if it would load the next account and run through the charlist. I know this is what it's designed to do but I don't know how to call the funtion to do it.
That's the meat of my wp file. I know I have to change RoMScript("ChangeChar()") to loginNextChar.
Here's my table:
I would like one instance to run acct 1,3,4 and the other instant (which is running a slightly different wp) to load and run 2,7,8
How can I do that? Thanks.
Code: Select all
<!-- # 1 --><waypoint x="-7093" z="-4147" y="172" tag="npc">
player:target_NPC("Hugope");
CompleteQuestByName("Earn a Reputation");
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount == 10 then
RoMScript("ChangeChar()") -- Log into next character
waitForLoadingScreen();
loadPaths("Earn a Rep2 daily", "earn a rep_return.xml");
end
</waypoint>
Here's my table:
Code: Select all
function SetCharList(_table)
SetCharList({
{account=1, chars= {}},
{account=2, chars= {}},
{account=3, chars= {3,4,5,6,7,8}},
{account=4, chars= {1,4,5,7,8}},
{account=7, chars= {1,3,4,5,6,7,8}},
{account=8, chars= {2,3,4,5,6,7,8}},
})
How can I do that? Thanks.
Re: rock5's "fastLogin Revisited"
Code: Select all
<onLoad>
SetCharList({{
{account=1, chars= {}},
{account=3, chars= {3,4,5,6,7,8}},
{account=4, chars= {1,4,5,7,8}},
},
{
{account=2, chars= {}},
{account=7, chars= {1,3,4,5,6,7,8}},
{account=8, chars= {2,3,4,5,6,7,8}},
}})
</onLoad>
Last edited by ZZZZZ on Tue Dec 31, 2013 6:14 pm, edited 2 times in total.
Re: rock5's "fastLogin Revisited"
Right, but where exactly does that go? In an onload or with the npc quest info in my wp? I kinda have it figured out except how/where to call the function.
Re: rock5's "fastLogin Revisited"
Crap never mind. I see it now. Sorry. Been working on another book and my brain is mushy from too much reading.
Re: rock5's "fastLogin Revisited"
My characters just stood in front of the npc until rombot hit a stack overflow and terminated.
Re: rock5's "fastLogin Revisited"
You need to put the code where the waypoint would normally end. So, for example, if you are doing dailies it ends when you turn in the last daily and before you try to accept it again. So you could do something like this at the npc (assumes variables npcname and questname are already set)
You could put the "SetCharList" command in the waypoint onload (because it only needs to be set once) but it doesn't matter.
Code: Select all
player:target_NPC(npcname)
CompleteQuestByName(questname)
if RoMScript("Daily_count()") == 10 then -- Done 10 dailies
SetCharList({ -- example character list
{account=1, chars= {1,2,3,4,5,6,7,8}},
{account=2, chars= {1,3,4,5,6,7}},
{account=4, chars= {2,3,4,5,6,7,8}},
})
LoginNextChar()
else
AcceptQuestByName(questname)
end
- 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: rock5's "fastLogin Revisited"
I tried this and thought it was working but when it reached the loginnextchar it crashed with a stack overflow.
I also tried this but it hangs on the first waypoint .
Code: Select all
<!-- # 1 --><waypoint x="-7093" z="-4147" y="172" tag="npc">
player:target_NPC("Hugope")
CompleteQuestByName("Earn a Rep daily")
if RoMScript("Daily_count()") == 10 then -- Done 10 dailies
SetCharList({ -- example character list
{account=1, chars= {1,2,3,4,5,6,7,8}},
{account=2, chars= {1,3,4,5,6,7}},
{account=4, chars= {2,3,4,5,6,7,8}},
})
LoginNextChar()
else
AcceptQuestByName(questname)
end
</waypoint>
Code: Select all
<onload>
SetCharList({ -- example character list
{account=1, chars= {1,2,3,4,5,6,7,8}},
{account=2, chars= {1,3,4,5,6,7}},
{account=4, chars= {2,3,4,5,6,7,8}},
})
</onload>
<!-- # 3 --><waypoint x="-7003" z="-3925" y="165"> </waypoint>
<!-- # 4 --><waypoint x="-7026" z="-4136" y="169"> </waypoint>
<!-- # 1 --><waypoint x="-7093" z="-4147" y="172" tag="npc">
player:target_NPC("Hugope")
CompleteQuestByName("Earn a Rep daily")
if RoMScript("Daily_count()") == 10 then -- Done 10 dailies
LoginNextChar()
else
AcceptQuestByName(questname)
end
</waypoint>
<!-- # 2 --><waypoint x="-7042" z="-4231" y="173"> </waypoint>
Re: rock5's "fastLogin Revisited"
I tried the first example. It worked fine for me.
Hold on a second. You previously said you edited the SetCharList function.
Hold on a second. You previously said you edited the SetCharList function.
I assumed you restored that when I told you the correct steps to use the userfunction. If you haven't changed this back, do so now.883Dman wrote:Code: Select all
function SetCharList(_table) SetCharList({ {account=1, chars= {}}, {account=2, chars= {}}, {account=3, chars= {3,4,5,6,7,8}}, {account=4, chars= {1,4,5,7,8}}, {account=7, chars= {1,3,4,5,6,7,8}}, {account=8, chars= {2,3,4,5,6,7,8}}, })
- 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: rock5's "fastLogin Revisited"
AH! When I saw the example table I thought I had to define the table in the .lua. It appears to be working. Haven't reached the point for it to change accounts yet but I have faith. Donation incoming!
Re: rock5's "fastLogin Revisited"
Hey ,
I try it like the first post, works fine ! Thank you !!!
I try it like the first post, works fine ! Thank you !!!
Who is online
Users browsing this forum: No registered users and 0 guests