The Official GreaterMUD Forums

GreaterMUD Discussion => Frequently Asked Questions => Topic started by: The Crazy Animal on Mar 05, 2008, 12:07 AM

Title: (FAQ) Logon Script For MegaMud....
Post by: The Crazy Animal on Mar 05, 2008, 12:07 AM
This is all you need to stop megamud from running to the east three rooms:

Message: Please enter your username or "new":
Reply: "USERNAME"^M"PASSWORD"^M

Message: Please enter your selection:
Replay: G^ME^M^M^M


Animal
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Vitoc on Mar 19, 2008, 02:34 AM
Ok... so call me crazy but I never had to enter any special crap to get the logon thing to work properly and not once have I ever watched Mega try to go east at all when I enter.

The one thing that stands out to me is people are talking about this =a or ;a thing that Mega is doing to enable ansi.  Perhaps this has something to do with it?  I've never used it (ever) and please note that TGS always assumes you are using ansi even if you aren't, so whether your terminal program can render it properly or not, you're getting the ansi codes.

I'm willing to help everyone figure out what the problem is, but please note it's not difficult to get this working.  We're not going to switch the GREATERMUD prompt to say MAJORMUD and that's just not negotiable.
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Ian on Mar 19, 2008, 02:57 AM
Quote from: Vitoc on Mar 19, 2008, 02:34 AM
Ok... so call me crazy but I never had to enter any special crap to get the logon thing to work properly and not once have I ever watched Mega try to go east at all when I enter.

Latency.
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: The Crazy Animal on Mar 19, 2008, 11:49 AM
Quote from: Vitoc on Mar 19, 2008, 02:34 AM
Ok... so call me crazy but I never had to enter any special crap to get the logon thing to work properly and not once have I ever watched Mega try to go east at all when I enter.

The one thing that stands out to me is people are talking about this =a or ;a thing that Mega is doing to enable ansi.  Perhaps this has something to do with it?  I've never used it (ever) and please note that TGS always assumes you are using ansi even if you aren't, so whether your terminal program can render it properly or not, you're getting the ansi codes.

I haven't seen the thing with the =a or ;a switch happening ever.... However mine does flip out as soon as it tries to answer the userpromp and password prompt and continues untill it notices that it is in the game. So I think it probably has less to do with the greatermud module and more todo with the TGS menus.

I've also noticed even this loggin script messing up from time to time landing me 3 rooms east of where ever I was. However that only seems to happen right after an update when not many people have logged in yet.

Its really hard to tell what could be causing it other then perhaps what Ian mentioned as being latency... It does look like it's a timing issue that causes it to repeat the last sent command. However it could be something else.

Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Vitoc on Apr 07, 2008, 03:22 PM
I'm still convinced there's something else going on here, and I don't believe it has anything to do with latency.

As I think I mentioned, not once have I ever had this "running east" problem.  The only problem I do have is the username/password switch that happens.  I think I will actually spend a few minutes tonight working on a solution for this.  After that we'll have to track down why some of you have this problem and not others.
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: The Crazy Animal on Apr 07, 2008, 07:37 PM
Even with my odd loggin script I sometimes still end up 3 rooms east.
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Gardner Denver on Apr 08, 2008, 02:04 AM
2 things you may want to look at in Megamud.

1.  Game entry commands

2.  Statline settings in Megamud  (This can cause all kinds of grief if the statline in the game doesn't match the statline megamud expects to find)

My $0.02 worth
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: DeathCow on Apr 08, 2008, 09:29 PM
I've never had my logon move my character.
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Gardner Denver on Apr 10, 2008, 03:43 PM
It is possible that some small burst of lag is causing the problem.

Many times I've seen megamud try to resend a command it doesn't think was accepted.

That would fit with the 3x E commands on entry.

Perhaps Megamud not realizing it's in the game yet and resending the E to enter the game.

There is a "Lag pause" setting in Megamud, maybe try setting that to a 1 and see if it helps.
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: The Crazy Animal on Apr 10, 2008, 08:43 PM
Might be worth a try...
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Gardner Denver on Apr 10, 2008, 09:40 PM
Tonight was my 1st time to log on to GM using Megamud.  I got the =a thing too.

Welcome to the official TGS test server!
Please enter your username or "new":
Please enter your username or "new": gardner denver
Please enter your password: *******
Welcome back, Gardner Denver!

Main Menu
---------
G : GreaterMUD
T : Teleconference

X : Exit

Please enter your selection: =a
Invalid command!

Main Menu
---------
G : GreaterMUD
T : Teleconference

X : Exit

Please enter your selection:Welcome to the official TGS test server!
Please enter your username or "new":
Please enter your username or "new": gardner denver
Please enter your password: *******
Welcome back, Gardner Denver!

Main Menu
---------
G : GreaterMUD
T : Teleconference

X : Exit

Please enter your selection: =a
Invalid command!


Main Menu
---------
G : GreaterMUD
T : Teleconference

X : Exit

Please enter your selection:
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: The Crazy Animal on Apr 11, 2008, 02:18 AM
I've never gotten that...
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Gardner Denver on Sep 29, 2008, 07:25 PM
Thought I might copy this post into this thread since it deals with this very issue:


Ok the patch is ready if anyone wants it.  I tested the relog and it works just fine.  The log on automation will also work as intended now, so no more having to put an E^M to get it to enter Greatermud.

Please please please please read the ENTIRE page before you download and install this patch.

Click here for the patch web page. (http://www.quest-ware.net/qw_megamud_update_greatermud.html)
Title: Re: (FAQ) Logon Script For MegaMud....
Post by: Minorgod on Mar 08, 2017, 07:29 PM
Sorry to necro this thread. but I know the way to properly make Megamud behave when logging in.

make sure your correct ini is loaded.... options>settings>BBS tab. select bbs in question> hit edit.

Add these messages and replies exactly as they are. DO NOT replace {userid} with your user id. {userid} is the command in megamud to pull the id from the account section to the right of the bbs list. Same for {pswd}

Message:                           Reply:

Please enter your username   {userid}^M
Please enter your password   {pswd}^M
Please enter your sel                   g^M
[GREATERMUD]                   e^M
Please select a realm                1^M

Click ok
still in the BBS tab to the right of the BBS list, keeping the bbs in question selected, place your user id and your password in their respective places. hit ok.

you should now be able to login with no issues or random e's or need a patch. lag will not affect this either as it will have to see the prompts in order to react to the prompts.


if you play the pvp realm replace 1^M with the correct selection for that. 2 i think it is.