Page 5 of 46
Re: Autologin revisited
Posted: Mon Aug 30, 2010 1:16 pm
by Starrider
swietlowka wrote:why do i get this error radomly ?
C:/micromacro/scripts/rom/classes/pawn.lua:184: bad argument #1 to 'bitAnd' ((null))
when switching characters? it sometimes switch to new character and get stuck on this...
Sometimes i have the same error, but i think its a client based error.
Re: Autologin revisited
Posted: Tue Aug 31, 2010 1:46 am
by MinMax
Without Autologin:
Sometimes if i login another client while I am botting in the background , the bot becomes a suggest of a barrier. Was never a problem, because the bot is intelligence.
With Autologin:
The autologin worked and works perfectly. I think more than 1000 hours without an bot-crash. Only if I switch other clients, it doesn’t matter if it´s the same Pc or the laptop on the same i-net, the background botter get´s also this “1 to 'bitAnd' ((null))” error.
Re: Autologin revisited
Posted: Tue Aug 31, 2010 2:57 am
by swietlowka
i always run minimized and get it radomly not all the time... looks like something in the bot is missing cause client doesnt crash or something it logs and just stands there... doing nothing
Re: Autologin revisited
Posted: Tue Aug 31, 2010 6:11 pm
by zaxahmed
I have come across the same issue as mentioned above as well. Anyone found a way to work it out? Thanks.
Re: Autologin revisited
Posted: Wed Sep 01, 2010 5:49 am
by MinMax
How can i check after the relog a Newbie-Pet and call it back? I find only the API´s for the normal pets, not for the Newbies-Pet.
Re: Autologin revisited
Posted: Wed Sep 01, 2010 10:31 pm
by rock5
MinMax wrote:How can i check after the relog a Newbie-Pet and call it back? I find only the API´s for the normal pets, not for the Newbies-Pet.
Sorry but what does that have to do with the thread topic?
Re: Autologin revisited
Posted: Thu Sep 02, 2010 4:11 am
by MinMax
rock5 wrote:MinMax wrote:How can i check after the relog a Newbie-Pet and call it back? I find only the API´s for the normal pets, not for the Newbies-Pet.
Sorry but what does that have to do with the thread topic?
I also use the autologin to harvest Phirius tokens by lowlvl chars. Changing the char with autologin i have always the nerving, talking and obtrusive newbie pet. I don´t like to get more attracting interest as should be. That´s why i saw a link "autologin-newbiepet". Sry if you don´t see so.
Re: Autologin revisited
Posted: Thu Sep 02, 2010 8:52 am
by swietlowka
dude, hiding it will give u more attraction... have u ever seen a real nooby without it?
Re: Autologin revisited
Posted: Thu Sep 02, 2010 12:05 pm
by Starrider
swietlowka wrote:why do i get this error radomly ?
C:/micromacro/scripts/rom/classes/pawn.lua:184: bad argument #1 to 'bitAnd' ((null))
when switching characters? it sometimes switch to new character and get stuck on this...
I now know maybe why: this error comes when the char isn't loaded yet, so it tries to read the memory. If you are at char selection screen or your client is still loading your char and the micromarco wants to go on after the waiting time it gives this error message.
Re: Autologin revisited
Posted: Thu Sep 02, 2010 4:11 pm
by zaxahmed
That seems to be accurate as most of the time the error happens when the character is resurrecting/teleporting. Which means that we need to add a timer to the resurrect function or add a retry to the time when it tries to fetch the address.
Re: Autologin revisited
Posted: Fri Sep 03, 2010 1:53 am
by swietlowka
i'll check it asap
EDIT: It seems like making te value longer solved the problem, or i had just luck today when switching 16 chars

Re: Autologin revisited
Posted: Mon Sep 13, 2010 7:55 am
by wizzyslo
Is any option that this function don't login so fust. I wont to use it to get out of instance but lots of times is too fust login and character spown in instance?
Re: Autologin revisited
Posted: Wed Sep 15, 2010 7:46 pm
by redcrux
https://forum.runesofmagic.com/showpost ... stcount=60
this is a link to some changes that zilvermoon made to the fastlogin addon, what he did was add buttons to the login screen that when you click them they are supposed to log you in to that account. they arent working anymore but if you could incorperate them into this working version it would be great, because i want to use this for when i bot but i cant because when i want to log onto my bank alts, it autologs me into my main character XD
Re: Autologin revisited
Posted: Thu Sep 16, 2010 8:07 am
by swietlowka
zilvermoons addon works perfectly with those buttons, it just doesnt autologin after logout, and doesnt swithc characters, i asked someone with greater knowlege to make it work, but they apparently haven't time to figure this out yet

Re: Autologin revisited
Posted: Thu Sep 16, 2010 10:33 am
by MiesterMan
Starrider wrote:swietlowka wrote:why do i get this error radomly ?
C:/micromacro/scripts/rom/classes/pawn.lua:184: bad argument #1 to 'bitAnd' ((null))
when switching characters? it sometimes switch to new character and get stuck on this...
I now know maybe why: this error comes when the char isn't loaded yet, so it tries to read the memory. If you are at char selection screen or your client is still loading your char and the micromarco wants to go on after the waiting time it gives this error message.
I get something similar if not the same thing (I see error in pawn reading memory and already know that's what happened) so I was wondering if there is a way to use that repeat loop so I don't have to use an arbitrary long wait that might not be long enough depending on client lag. Something like:
Code: Select all
repeat
player:update();
yrest(5000);
until player.Ptr
player:new();
But you know, something that won't crash rombot?
Re: Autologin revisited
Posted: Thu Sep 16, 2010 10:45 pm
by rock5
MiesterMan wrote:I was wondering if there is a way to use that repeat loop so I don't have to use an arbitrary long wait that might not be long enough depending on client lag. Something like:
Code: Select all
repeat
player:update();
yrest(5000);
until player.Ptr
player:new();
But you know, something that won't crash rombot?
I think that's a good idea. There must be some memory addresses or something that the game could check to see if the game is ready or not. Maybe a function that doesn't return until the game is ready again. You could use it after teleports as well.
Re: Autologin revisited
Posted: Thu Sep 16, 2010 11:07 pm
by RoMain
Maybe we could wait til the player level is above 0.
And then sendind a macro which creates a second wihich indicates that
the client is ready again, because memory datas are set while the loading screen is active.
So we must have a errorcheck free SendMacro.
Maybe not the best way but should work
Re: Autologin revisited
Posted: Fri Sep 17, 2010 2:37 am
by rock5
Although I'm not too good at the memory stuff I did find a pointer. This pointer is equal to 1 when the loading screen is visible as is seen when teleporting or entering your house. It changes to 0 when the loading screen is gone. This should be able to be used to create a "wait till loading screen has closed" function.
The pointer is 00A08960 with an offset of 0C. It is a single byte value.
Re: Autologin revisited
Posted: Fri Sep 17, 2010 1:46 pm
by RoMain
Awesome!
Much better than my idea, didn't even thinked about such a pointer

Re: Autologin revisited
Posted: Wed Sep 29, 2010 5:01 pm
by poper
My Goal for this, I want to make a script that allows me to do one of 2 things or both.
ok, a few questions....
1. Can I use this to logon multiple accounts? I have 5 accounts, do I have to change the name in the accountlogin.lua every time I want to change accounts? (with auto login on)
This is the one I really want to work!!! :
2. This is a little more complicated and I am having problems. What I want to do is when my character gets "stuck" and is auto logged out, I want RomBot to wait 30-40 seconds (while I am being auto logged back in) And then run my waypoint file again… Is this possible?
EDIT: After playing around with this for a few hours, It looks like after the function "player:logout();" always starts an END command after that. Is there a way of changing that end command to something where you wait 1 min and then start the script over again?