Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Bot Confusion

Bot Confusion

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Dionna   (5 posts)  Bio
Date Tue 02 Nov 2010 05:09 AM (UTC)
Message
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?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 02 Nov 2010 06:48 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Dionna   (5 posts)  Bio
Date Reply #2 on Tue 02 Nov 2010 02:30 PM (UTC)
Message
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?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 02 Nov 2010 06:51 PM (UTC)
Message
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

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Dionna   (5 posts)  Bio
Date Reply #4 on Wed 03 Nov 2010 01:05 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 03 Nov 2010 08:09 PM (UTC)

Amended on Wed 03 Nov 2010 09:44 PM (UTC) by Nick Gammon

Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by LezChap   (36 posts)  Bio
Date Reply #6 on Wed 03 Nov 2010 09:23 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #7 on Wed 03 Nov 2010 09:42 PM (UTC)

Amended on Wed 03 Nov 2010 09:43 PM (UTC) by Nick Gammon

Message
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).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


27,179 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.