Bot Confusion

Posted by Dionna on Tue 02 Nov 2010 05:09 AM — 8 posts, 31,038 views.

#0
To start out with, I posted this in the wrong place and have no idea how to remove it, so I just posted it again in the right place. Sorry!

Hello,
I am a new Mud player so bear with me. MushClient is the second client I've used and while it doesn't offer some of the things I'd gotten used to on the other one (well, it probably offers them and I'm not savvy enough to figure out how to set it up), it gives me everything I need for the most part.

I've been reading random forum posts all day and it's a jumple of terms and codes that confuse the hell out of me, but I have a question. If I'm to understand correctly, running a "bot" is setting a timer to repeat while you're character is doing something that gets them xp. Please clarify if I'm wrong.

I need for Mushclient to stop disconnecting to the world I'm in when I sleep and I think I need to set up a "bot". My character is in a relationship IC. They have a home together and when she(I) goes to sleep, he makes sure to be home to tuck her in, by the time he gets home, the game has been disconnected and her (my) fiance has to go to bed alone. But when she wakes up, he's curled up in the bed next to her.

I've tried timers and within max time 1 hour 24 minutes, I've been disconnected. I do simple things like check my health, list my stats, look in the room, nothing that would get me xp because I just want her to be in the bed when he gets home, so his character can crawl in bed and when I wake up in the morning, I don't have to relog her in. I tried 5 timers at various times and it still happens. Is there either a) an auto disconnect button I'm missing somewhere? or b) am I setting my timers wrong? Mind you, most people "sleep" in game, which I think is part of the reason you can buy homes IC, but my character can't "sleep" in game for more than an hour and a half before I'm disconnected. Help?
Australia Forum Administrator #1
If you log into the forum (not just put your password on a post) you can delete your own posts.

As for being disconnected, there is no disconnect feature, however possibly this might help:

http://www.gammon.com.au/forum/bbshowpost.php?id=9912

Personally I would call a bot something that works for you in your absence (not necessarily a timer). For example, if you move rooms a trigger might fire, look for mobs, try to kill them, move again, and so on.

Simply staying connected would hardly be a bot, especially if the MUD encourages you to do it.
#2
Thank you for responding so quickly. As I said earlier, I had no clear idea of what a bot is, so thank for the definition.

I did try to do this stay alive set up this morning, but when pressing ctrl I, nothing is happening. I attempted to go to the scripting window and add / as the scripting prefix, then paste the command, and Mush is replying with "what?". No run window ever popped up that I saw and I'm thoroughly lost. I realize I come across as a non techie moron, but since that is apparently what I am, is there a 5 year old talk version of what to do or how to do this scripting thing?
Australia Forum Administrator #3
Ctrl+I should work. See this video:

http://www.gammon.com.au/forum/?id=10212


This plugin (which I think comes with recent versions of MUSHclient) lets you change that option with a GUI interface:


http://www.gammon.com.au/forum/?id=10483
#4
Hi,

Me again. So I did get the keep alive script to set to my world and I can check it and it will be there, but I still got disconnected. Is there some specific way I'm supposed to activate the keep alive?

I mean if I go by the disconnect message. It disconnected me in 10 minutes. I left my computer at 2:30 and bam, when I woke up this morning, it's showing it disconnected at 2:40.

--- Disconnected on Wednesday, November 03, 2010, 2:40 AM ---
--- Connected for 0 days, 2 hours, 18 minutes, 41 seconds. ---

--- Received 5186 lines, sent 478 lines.
--- Output buffer has 5537/10000 lines in it (55.4% full).
--- Matched 0 triggers, 0 aliases, and 0 timers fired.

Now, I didn't set any timers because I thought the keep alive script would handle the job, which may have been pure ignorance. Please advise.
Australia Forum Administrator #5
The keep-alive plugin, if you ran it, and actually set the keep-alive flag, should set a flag on the world that, next time you open it, sends "keep alive" packets to the other end.

Whether or not the other end notices them is a different story.

Did you:

  • Install the plugin?
  • Type: config_options?
  • Select the option "Send keep-alives"?


  • Hit OK and then Yes to change the option?


  • Confirm the option is now set?


  • Close the dialog box (hit Cancel now)?
  • Save the world file?
  • Close the world and re-open it?


You need to do that to make the option take effect properly.

Then, if this MUD respects the keep-alives, then that may help.

The problem might also be your router - some routers disconnect you after inactivity.
Amended on Wed 03 Nov 2010 09:44 PM by Nick Gammon
#6
Didn't a version of Windows also automatically disconnect sessions for a bit? Somethings itching on my mind about reading something about it years back, but I can't remember where or what now.
Australia Forum Administrator #7
Yes this comes up now and then. If the keep-alives don't work, I would suggest doing something harmless (like checking your status) every 9 minutes or so, on a timer. You could set up a one-shot trigger (or enable/disable a trigger) to omit that status line, so you don't wake up in the morning and find a screen full of them.

Or do something like:

Every 9 minutes: emote looks around distractedly.

And then make a trigger:

Match: Dionna looks around distractedly.
Omit from output.

(Some MUDs disconnect you if you send the same thing many times - maybe a couple of timers that interleave with slightly different messages).