Page 1 of 2

Game closing?

Posted: Wed Apr 27, 2011 2:38 am
by rock5
This has happened to me a couple of times now. The first time I thought it had something to do with the server going down for maintenance but now it happened again.

What happens is I get my egg script running then leave for a few hours. When I get back I find the client has closed with no error message.

Has this happened to anyone else? I can't imagine how the game closes with no error message.

Re: Game closing?

Posted: Wed Apr 27, 2011 5:52 pm
by WhiteTiger
the only reason i can come up with is that either the bot auto-logs cuz it lags and get stuck or that ur computer goes into sleep mode and close the game

Re: Game closing?

Posted: Wed Apr 27, 2011 7:11 pm
by rock5
I've never known tha game to shut down just because it looses it's connection. That seems a bit excessive anyway. As far as I know, if it has communication problems then it drops to the login screen only.

I don't use sleep mode on my pc.

Re: Game closing?

Posted: Wed Apr 27, 2011 9:02 pm
by lisa
I've had this happen several times in the last few weeks, I haven't been able to pinpoint exactly what is happening though.

Re: Game closing?

Posted: Thu Apr 28, 2011 12:28 pm
by M4gm4
i have the same problem since 2 weeks ,,
i come back .. and 1 or 2 or 3 clients are closed,,
sometimes without error msg ,, sometimes with error "can not read memory bla bla blubb"
atm i run only 2 clients , to get not out of the game,, so i think the prob is, with more then 2 clients
(notebook has 3giga ram)

Re: Game closing?

Posted: Thu Apr 28, 2011 10:50 pm
by rock5
For me it happened with only 1 client running.

Re: Game closing?

Posted: Fri Apr 29, 2011 10:54 pm
by WhiteTiger
happened to me yesterday btw. Got a windows message that the game had stopped working, you know cuz the program isnt responding, and then the game closed. could be that

Re: Game closing?

Posted: Fri Apr 29, 2011 11:03 pm
by rock5
WhiteTiger wrote:happened to me yesterday btw. Got a windows message that the game had stopped working, you know cuz the program isnt responding, and then the game closed. could be that
That's what I'd expect if the game has crashed or something but what I was describing is that the game closes with no error dialogs popping up. The only error message is the one in the micromacro window about not being able to read memory which is to be expected if the game has closed.

Re: Game closing?

Posted: Sun May 01, 2011 3:16 pm
by kx9488
have any of your accts been suspended on your mac or ip and does this only happen when you are on the ranch?

because this was happening to new chars i made before i changed my mac+ip, after a massive account suspensions on all my previous ranch bots. since the ip+mac change this hasn't happened.

you said that you only use one, they might be targeting your ip to see how many clients log off after extended periods on the ranch... that's what i suspected was going on with mine, because when it happned to me they all got suspended (i had 10+ clients going), maybe because you only use one they don't take action?

all speculation here,

anyway the mac + ip change fixed this for me, if you aren't getting suspended accts then this might not be it, i would change mac + ip anyway though to see what happens.

Re: Game closing?

Posted: Sun May 01, 2011 3:22 pm
by rock5
It's happened 3 times in total now. No, I've never been suspended. I'm not sure if it was always on the ranch or not. I'll take note of that next time. It was never after an extended period, more like an hour or 2.

So when you got suspended, did the game shut down with no error message?

Re: Game closing?

Posted: Mon May 02, 2011 1:53 am
by lisa
I've never been suspended and this was happening to me, I had 4 bots running for the last 48 hours and it hasn't happened. Like I said I just can't pin point the cause.

Re: Game closing?

Posted: Mon May 02, 2011 9:32 pm
by lisa
Ok something to look out for when you have this happen, check how long your internet connection has been active.

I noticed today my net dropped out and the RoM I had botting completely closed but the ones not botting just went to the login screen. Hope this helps to narrow down the issue.

Re: Game closing?

Posted: Mon May 02, 2011 10:01 pm
by rock5
lisa wrote:the RoM I had botting completely closed but the ones not botting just went to the login screen.
That's interesting. That implies it's the bot closing it down. I'll have a look into it.

Re: Game closing?

Posted: Mon May 02, 2011 10:12 pm
by rock5
I can only see 1 place that the bot closes the client and that is when you have reached max unstick trials and you have CLOSE_WHEN_STUCK equal to true in your profile. This is obviously not the case with this problem because there are no unstick messages.

Anyway it happened to me again yesterday for the 4th time and I was not running a bot. I was trying to find some memory addresses with Cheat Engine.

So I'm still lost.

Re: Game closing?

Posted: Tue May 03, 2011 1:31 am
by lisa
Yep exact same thing again, I can easily recreate now just by unplugging the network cable. The botting RoM is completely killed, with just a memory read error in MM, while non botting RoM just goes to the account login screen

Code: Select all

3:23pm - C:/micromacro/scripts/rom/functions.lua:520: bad argument #1 to 'memory
ReadUInt' ((null))

Re: Game closing?

Posted: Tue May 03, 2011 10:21 am
by adonisz
I'm getting the memory thing too and I can't bot for more than an hour or so because the game closes on its own.......
so I guess there's no fix to this?

Re: Game closing?

Posted: Wed May 04, 2011 4:55 am
by lisa
In order to fix it we need to pinpoint the issue, so unless we find what is causing it then it will be difficult to fix

Re: Game closing?

Posted: Wed May 04, 2011 5:16 am
by rock5
I think there is only one command in the bot that closes the client. That's line 2672 of player.lua

Code: Select all

os.execute("TASKKILL /PID " .. PID .. " /F");
We could put a print message before it to see if it's being executed.

On second thought I don't think it's being executed because if it was it would print "Runes of Magic process successfully closed".

Re: Game closing?

Posted: Wed May 04, 2011 7:39 am
by lisa
I'm pretty sure the bot isn't closing RoM client, it is happening for other reasons

Re: Game closing?

Posted: Wed May 04, 2011 11:16 pm
by adonisz
Maybe there's something wrong with micromacro? My characters are just automatically logging themselves because rombot is saying memoryreadbyte, or no valid keys availble, or pawn issues...