Jump to content

Logging in to Remote Admin Console


Guest HipToday

Recommended Posts

Is there a particular reason that when connecting to the Remote Admin Console that the user isn't prompted for their username and password?

I'm looking into adding this functionality because I think a simple Username:/Password: prompt would be much more user-friendly than being greeted with the MOTD and then staring at a blinking cursor. It took me a fair amount of searching to find that to log in I needed to enter USER <USERNAME>, then PASS <PASSWORD>, then I'd finally be given the mangos> prompt.

In that searching I came across this thread:

GaME - Yet Another MaNGOS GUI application

Which talks about using the remote console for that application.

I've already hacked together some code that works for me, but before I submit a patch I'd like to know if I need to maintain some backwards compatibility for applications such as the one above, or if there's just a very good reason that I'm unaware of as to why things are the way they are.

Link to comment
Share on other sites

GaME is easily enough updated if you do submit this, but there are a lot of other applications using it in some form or another (like Minimanager, MicroManager I think and some others) - backwards compatability would be nice.

Personally I dislike the raw remote console alltogether - it only allows a single user to connect and as far as I know everything you can do using RA can also be done with commands ingame. It is one of the reasons I started work on GaME in an attempt to provide a more userfriendly interface to the console commands. As such, I would not waste too much time and effort on this :D

Link to comment
Share on other sites

Really, the only thing missing from in-game commands (perhaps I just didn't see it) that I wanted to use RA for was account creation. That's how I ended up trying it out in the first place.

Anyway, with or without backwards compatibility I don't think it'll take too much time/effort. I'll give it a shot and see if people want it.

Thanks for the info. I suspected there would be other apps out there that relied on RA.

Link to comment
Share on other sites

Well, simply using my brain - all external apps used the "write user and password" mechanism before. Same applies to any application after this change, because a simple printf-like call won't change the whole world, nor make anything "wait" longer for the username/password.

Oh, and about the interface - someone should really make a layer-4 communication protocol for mangos, I believe Derex was talking about something.

Link to comment
Share on other sites

Well, simply using my brain - all external apps used the "write user and password" mechanism before. Same applies to any application after this change, because a simple printf-like call won't change the whole world, nor make anything "wait" longer for the username/password.

Oh, and about the interface - someone should really make a layer-4 communication protocol for mangos, I believe Derex was talking about something.

I don't think I quite understand what you mean. But it sounds like you are confirming it should behave as before unless explicitly told different (i.e. don't change the default behavior).

Maybe a proper layer-4 protocol would be nice, but I actually like the simplicity of the remote admin console. It's exactly what I want, it just took me forever to figure out how to actually login.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use