Bot closing game on disconnection
Re: Bot closing game on disconnection
Ok as no one seems to know how to disable this does anyone have an old version of the bot that they could be kind to share? Cause I know it haven't been like this for too long.
Here is my gathering waypoints: http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=3603
Re: Bot closing game on disconnection
I think it's been awhile. Getting an old version of the bot is easy but it wont work because of different addresses and a few other things.
- 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: Bot closing game on disconnection
And it's not possible to just update the addresses and these "other things"?
Here is my gathering waypoints: http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=3603
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Bot closing game on disconnection
of course its possible. The real issue is: are YOU willing to:Alleexx wrote:And it's not possible to just update the addresses and these "other things"?
1) use svn to get the appropriate version
2) update the addresses (using latest addresses and also making sure you update/exclude and recent changes to the way they are used)
3) re-fix any other known issues that have since been resolved (thx to the likes of Rock5 and lisa etc)
4) fix any new issues resulting from more ROM updates
Re: Bot closing game on disconnection
Hey, ive recently been having this problem and have been trying to figure out a solution for it. I'm not asking for something that autologs me in, its just that my internet is pretty shady sometimes. So when i d/c from the net for whatever stupid reason, I just want mm to just leave me at the log-in screen or where ever im at, instead of shutting so i dont have to restart RoM every time i d/c. Is it possible to have that happen?
Thanks
Thanks
Re: Bot closing game on disconnection
I'm not sure you want that. Sometimes the game can crash but appear to be still logged in. When that happens the server still sees you logged in. So if you were in the middle of a fight odds are you will die.
Administrator implemented some code so that if the bot looses communication with the client then it shuts down the client to make sure you don't die.
I think it's supposed to only shut down the client if it crashes but I think it doesn't 100% work the way intended and may shut it down in other situations too, such as dropping to the login screen because of loss of communication. I don't know if it's possible for it to tell the difference, Administrator would have to say.
Administrator implemented some code so that if the bot looses communication with the client then it shuts down the client to make sure you don't die.
I think it's supposed to only shut down the client if it crashes but I think it doesn't 100% work the way intended and may shut it down in other situations too, such as dropping to the login screen because of loss of communication. I don't know if it's possible for it to tell the difference, Administrator would have to say.
- 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
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Bot closing game on disconnection
It should only attempt to close game clients if it finds an instance of the RoM crash handler. If another copy of the game has crashed, then it might still see that and kill any window that hast lost communication for any reason, but other than that, I see no reason behind it.
Re: Bot closing game on disconnection
Its mostly an issue when im sitting there doing a timed event... and its just running on another computer. Having to restart rom and everything when the timer is running sucks.
Re: Bot closing game on disconnection
this client shutdown is REALLY annoying.
my net disconnects for like a second, and my bot windows close. so instead of just reloging i have to start the windoes again from scratch. what part of the code should i comment out for this to stop?
thx
my net disconnects for like a second, and my bot windows close. so instead of just reloging i have to start the windoes again from scratch. what part of the code should i comment out for this to stop?
thx
Re: Bot closing game on disconnection
I think I figured it out. Something about trying to do a RoMScript after loosing the connection causes the game to crash. What I'm seeing is the first thing it does is a player:clearTarget(). That has a RoMScript command that you can safely remove. That will stop it from crashing immediately but then after 10 unstick tries if it tries to logout thats another RoMScript which will make it crash again.
So to stop it crashing edit out this line in player.lua around line 2952And set LOGOUT_WHEN_STUCK and CLOSE_WHEN_STUCK to false in your profile.
I'll try to find an indicator in memory for if the game is at the login screen. That would fix it but I seem to remember, when I found the loading screen address, that I couldn't find such an indicator.
So to stop it crashing edit out this line in player.lua around line 2952
Code: Select all
RoMScript("TargetFrame:Hide()");
I'll try to find an indicator in memory for if the game is at the login screen. That would fix it but I seem to remember, when I found the loading screen address, that I couldn't find such an indicator.
- 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: Bot closing game on disconnection
ty i will try it now
Re: Bot closing game on disconnection
Ok, found an address. The above fix will do for now but when I commit next, it will include a fix for the crashing and a new function I'm calling isInGame().
- 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: Bot closing game on disconnection
the commenting fix is not working, i set the profile and also commented it and still closed the clients.
Re: Bot closing game on disconnection
There is probably another RoMScript happening somewhere for you. The changes I've done cover too many files for me to send them to you to try so I just went ahead and committed them. Hope it works.
Update to rev 735.
Update to rev 735.
- 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: Bot closing game on disconnection
Don't forget about other timed events that might use RoMScripts like GMDetect.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Bot closing game on disconnection
I thought of that. I put the fix in RoMScript so no RoMScripts will execute when not "ingame". I also adding a check in the unstick function so it doesn't try to unstick 10 times after logging out.lisa wrote:Don't forget about other timed events that might use RoMScripts like GMDetect.
- 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: Bot closing game on disconnection
Interestingly, you can do anything if you lose your connection, and appeared on the password entry screen, how do you try to connect and go to the very character on which the connection is lost?
Who is online
Users browsing this forum: No registered users and 2 guests