mq2telnet -- help getting it running

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

gn0m3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Sat Dec 13, 2003 10:43 am

mq2telnet -- help getting it running

Post by gn0m3 » Wed Jan 14, 2004 11:44 am

Hi all,

Sorry to ask what are basically newbie questions, but I can't seem to get the mq telnet daemon up.

Basically, in my macroquest2.ini file I have:

Code: Select all

[telnet server]
Enabled=1
LocalOnly=0
Port=8345
Welcome to ...
Password=...

...
mq2telnet=mq2telnet
...
I do use a NAT router and I do have port forwarding enabled and set correctly, but it's not the NAT settings that are broken anyway, as even on the local machine I can't connect to 127.0.0.1:8345 (nor can I connect to 192.168.x.103:8345 from another machine on the private network) with PuTTY (in raw mode, as per instructions I found when searching).

I've searched for help with this, but I can't seem to find much help that's useful for me. Maybe I missed something? Apologies if I have, but I assure you it wasn't for lack of trying.

Thanks in advance for any help. I'm sure it's something obvious.

gn0m3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Sat Dec 13, 2003 10:43 am

Post by gn0m3 » Wed Jan 14, 2004 1:01 pm

I should note that it's probably something as stupid as the plugin isn't actually running (is the /telnet command supposed to work? I get a "could not find command" error, but it's listed in the documentation), but I couldn't find a sample .ini around, and I think the mq2telnet=mq2telnet line is right.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Jan 14, 2004 7:40 pm

mq2telnet.ini

gn0m3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Sat Dec 13, 2003 10:43 am

Post by gn0m3 » Wed Jan 14, 2004 7:59 pm

Had nothing to do with mq2telnet.ini. The plugin wasn't loading -- I checked with /plugin. Shoulda seen that command before, but I missed it somehow. Works now.

gn0m3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Sat Dec 13, 2003 10:43 am

...

Post by gn0m3 » Thu Jan 15, 2004 8:08 am

Ah, I see, you separated the .ini files from Macroquest.ini.

Why is Macroquest.ini being still included with the .zip then? Kind of confusing.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Jan 15, 2004 9:44 am

Macroquest.ini still handles basic functions and setting related to MQ. Telnet is a plugin, so it gets it's own ini file, as do any other plugins. Don't use telnet, don't need mqtelnet.ini... but you still need macroquest.ini for version info, filters, etc.

Sure, a lot of that could probably be hardcoded in, or split up into seperate files. Probably should be... but then again I probably should have changed the name of locations.txt to locations.ini a long time ago. Just one of those things that hasn't ever gotten done :)

gn0m3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Sat Dec 13, 2003 10:43 am

...

Post by gn0m3 » Fri Jan 16, 2004 7:35 am

Sure, but there's stuff from macroquest 1 still left in there -- the old telnet stuff, I'd imagine. There's a section called [telnet server] which probably does nothing, but which would confuse a clueless user (like me). It's just confusing. It's no big deal -- I mean I'm not complaining, this is free software. But it's something that I'd clean up the next "clean up" if I were you guys.

Anyway, this telnet server is, quite simply, awesome. Thanks whoever's plug-in and idea this was.