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.
 Entire forum ➜ MUDs ➜ MUD Design Concepts ➜ GMCP Mapper Plugin

GMCP Mapper Plugin

Posting of new messages is disabled at present.

Refresh page


Pages: 1  2 

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #15 on Wed 08 Oct 2014 02:38 PM (UTC)

Amended on Wed 08 Oct 2014 02:40 PM (UTC) by Fiendish

Message
Glispion said:

Here is what I have so far after reinstalling/reconnecting

http://tinypic.com/r/b88lf6/8


That screenshot isn't very useful. It just shows the help output. Can you make more informative ones?

Quote:
Any ideas what I'm doing wrong here?


Well, so far what I can gather is that you are getting GMCP data from your MUD. But I don't know /when/ you get it. Does that get sent when you type look? When you move?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Glispion   (19 posts)  Bio
Date Reply #16 on Mon 13 Oct 2014 03:29 AM (UTC)

Amended on Mon 13 Oct 2014 03:41 AM (UTC) by Glispion

Message
Sorry it has taken so long for a reply, I've been working a lot.
I installed the gmcp handler from the aardwiki and typed gmcpdebug 1. I tried sendgmcp debug on but nothing happens, it just swallows up the command. So far I don't see any info unless I move or a tick happens(look does not show any gmcpdebug stuff). Here is an example of what I see in my mud when I move, copied from mushclient:

n // This is me typing n(north)
Telnet subnegotiation: 201 // This pops up randomly as far as I can tell
char.vitals {"hp":799,"mana":495,"moves":396}
Telnet subnegotiation: 201
room.info {"num":-722286692,"id":"Med Center#6","name":"Cadigan Street","zone":"Med Center","terrain":"city","details":"","exits":{"N":-722286691,"S":-722286696},"coord":{"id":0,"x":-1,"y":-1,"cont":0}}
Telnet subnegotiation: 201
char.vitals {"hp":799,"mana":495,"moves":397}
Telnet subnegotiation: 201
comm.tick { }

Cadigan Street
The asphalt streets of upper eastside crawl with boostergangers and
corpzoners. Flickering neon signs and excessive litter mar this once
beautiful section of night city. The smell of mildew travels through the air
and the faint laughter of drunken boostergangers can be heard in the
distance.


Obvious exits:
West : UFC Health Sciences Center
East : Trauma Team Tower
South: Cadigan Street
North: Cadigan Street


<799Hp 495sp 396mv>
e // This is me typing e(east)
Telnet subnegotiation: 201
char.vitals {"hp":799,"mana":495,"moves":396}
Telnet subnegotiation: 201
room.info {"num":-722286691,"id":"Med Center#7","name":"Cadigan Street","zone":"Med Center","terrain":"city","details":"","exits":{"N":-722286690,"S":-722286692,"E":-916051040,"W":-916051043},"coord":{"id":0,"x":-1,"y":-1,"cont":0}}

Trauma Team Tower
This building houses the main corporate offices as well as the local
operations center for Trauma Team, Inc. The operations center contains a
dispatch office, armory, maintenance yard, supply depot and launch area for
the many AV's used by the Patient Retrieval Teams.


Obvious exits:
West : Cadigan Street

Telnet subnegotiation: 201
char.vitals {"hp":799,"mana":495,"moves":395}
Telnet subnegotiation: 201
room.info {"num":-916051040,"id":"Med Center#28","name":"Trauma Team Tower","zone":"Med Center","terrain":"metal","details":"","exits":{"W":-722286691},"coord":{"id":0,"x":-1,"y":-1,"cont":0}}


Ok I just looked back at mushclient and it seems the telnet subnegotiation:201 happens along with each tick:

Telnet subnegotiation: 201
comm.tick { }
Telnet subnegotiation: 201
comm.tick { }
Telnet subnegotiation: 201
comm.tick { }
Telnet subnegotiation: 201
comm.tick { }

Thanks for taking a look at this guys, I really want to figure out how to get a map going for it. If you need anything else from me just ask.

EDIT: Also if I type mapper show it does the same as sendgmcp debug on...it just swallows the command with no reaction.

EDIT 2: As I swapped to my mud server screen intending to shut it down I noticed a few errors at the very bottom:

Error parsing GMCP package: core.hello
session swap for Glispion.
127.0.0.1 mushclient GMCP CMP ANSI, character login: Glispion
Disconnect: 127.0.0.1 (7m)
Error parsing GMCP JSON: Unknon character at 9

If you want the full log or anything else just let me know, thanks.
Top

Posted by Nick Gammon   Australia  (23,122 posts)  Bio   Forum Administrator
Date Reply #17 on Tue 14 Oct 2014 03:04 AM (UTC)
Message

room.info {"num":-722286691


Is that really your room number?

Which MUD is this? Your own one?

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,122 posts)  Bio   Forum Administrator
Date Reply #18 on Tue 14 Oct 2014 03:06 AM (UTC)
Message
And can you clearly state what plugins you are using? There are a few variants around.

Template:bug

Please provide a summary of your world configuration:

  • Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")

    or

  • Install the Summary plugin (see "Summary" feature) and type "summary"

Then copy the resulting information from the output window, and paste into a Forum message.

You need version 4.55 onwards of MUSHclient to do this.


- Nick Gammon

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

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #19 on Tue 14 Oct 2014 05:12 AM (UTC)
Message
Those room numbers look suspiciously like you've imported existing areas from a codebase that had more than 32k vnums available to a codebase with a 32k vnum limit. If those are original area files, either (and most likely) something is very wrong in your code if they're reporting as negative vnums or you're doing some seriously nonstandard things with your areas.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Glispion   (19 posts)  Bio
Date Reply #20 on Tue 14 Oct 2014 02:40 PM (UTC)

Amended on Tue 14 Oct 2014 02:54 PM (UTC) by Glispion

Message
I have 1083 rooms in 20 areas. I made each area from scratch using the mud grinder(browser based). I'm using the latest coffeemud release(5.8 I believe). I don't have anything complex going on, 95% of the areas are just room descriptions...I have 2 quests so far and a few shopkeepers, mobs standing around...nothing complex done with my mud so far from anything I've done...here is my summary:

-------------- MUSHclient summary --------------

MUSHclient version: 4.84
Compiled: Sep 30 2012.
Time now: Tuesday, October 14, 2014, 9:35 AM
Client running for: 0d 00h 05m 58s
World opened for: 0d 00h 05m 47s
World connected for: 0d 00h 00m 22s
Operating system: Windows 7
Libraries: Lua 5.1.4, PCRE 8.31, PNG 1.5.12, SQLite3 3.7.14, Zlib 1.2.5
World name: 'mymud', ID: 504aeb1bbf5eda965f6aff06
-- Scripting --
Script language: Lua, enabled: yes
Scripting active: yes
Lua sandbox is 127 characters, DLL loading allowed: yes
Scripting prefix: ''. External editor in use: NO.
Scripting for: 0.816960 seconds.
-- Triggers, aliases, timers, variables --
** Triggers: 0 in world file, triggers enabled: yes.
0 enabled, 0 regexp, 0 attempts, 0 matched, 0.000000 seconds.
** Aliases: 0 in world file, aliases enabled: yes.
0 enabled, 0 regexp, 0 attempts, 0 matched, 0.000000 seconds.
** Timers: 0 in world file, timers enabled: yes.
0 enabled, 0 fired.
Timers checked every 0.1 seconds.
** Variables: 0.
-- MCCP --
MCCP active, took 0.027268 seconds to decompress
MCCP received 4195 compressed bytes, decompressed to 23727 bytes.
MCCP compression ratio was: 17.7% (lower is better)
-- Plugins (Processing order) --
ID: 85f72d0e263d75df7bde6f00, 'ATCP_NJG', (Lua, 0.109 s) Enabled [Cb]
ID: 3e7dedbe37e44942dd46d264, 'GMCP_handler', (Lua, 0.245 s) Enabled [Al Va Cb]
ID: a80b38e2f618fbda79a6440c, 'ATCP_Mapper', (Lua, 0.057 s) Enabled [Tr Al Va Cb]
ID: 71a90acddb14f784437b8b80, 'Summary', (Lua, 0.000 s) Enabled [Al]
** Plugins: 4 loaded, 4 enabled.
-- Comms --
Connect phase: 8 (Open). NAWS wanted: NO
Received: 4323 bytes (4 Kb)
Sent: 856 bytes (0 Kb)
Received 26 packets, sent 14 packets.
Total lines received: 654
This connection: Sent 7 lines, received 178 lines.
Telnet (IAC) received: DO: 0, DONT: 0, WILL: 8, WONT: 4, SB: 63 [Telnet]
-- MXP --
MXP active: NO, Pueblo mode: NO, Activated: On command
MXP tags received: 0
MXP entities received: 0
MXP errors: 0
-- Commands --
Commands in command history: 27
Speed walking enabled: NO. Speed walking prefix: #
Command stacking enabled: NO. Command stack character: ';'
Accelerators defined: 0
-- Miniwindows --
Window: 'a80b38e2f618fbda79a6440c_mapper', at (0,0,0,0), shown: yes
width: 400, height: 400, position: 7, hotspots: 1, fonts: 2, images: 0
WARNING: temporarily hidden by auto-positioning (no room)
** Miniwindows: 1 loaded, 1 shown.
-- Output window --
Output pixels: width 1003, height: 378, font width: 8, font height: 15
can show 125 characters, wrapping at column 80, height 25 lines.
Output buffer: 675 of 5000 lines.
-- Miscellaneous --
Logging: NO, tracing: NO
** SQLite3 databases: 0
Sound buffers in use: 0

---------------------- End summary ----------------------

EDIT: Just a little side info for you: What I've done is taken the old cyberpunk 2020 pen and paper game manuals and created all of night city from scratch using the night city manual(none of my mud is imported from a different mud or any existing area files etc.)...I plan on adding the 'net' as a large area/multiple areas that will be used mostly by the netrunner player class...I also still need to add the combat zone and then Night City itself will be complete...so now you know basically what I'm doing here.
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #21 on Tue 14 Oct 2014 02:47 PM (UTC)

Amended on Tue 14 Oct 2014 02:48 PM (UTC) by Fiendish

Message
I don't know anything about coffeemud, but this combined with the negative room ids make it sound like something is wrong in there.

Quote:
Error parsing GMCP package: core.hello
Error parsing GMCP JSON: Unknon character at 9


Have you contacted the person who makes coffeemud yet?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Glispion   (19 posts)  Bio
Date Reply #22 on Tue 14 Oct 2014 02:57 PM (UTC)
Message
Yes, I posted about it on the yahoo support group:

Re: [CoffeeMud] GMCP
Bo Zimmerman Sep 25

Not sure how to help you here. CoffeeMud implements the room.info package. It doesn't send back coordinates, since that's pretty meaningless when you rooms aren't laid out on a clean nice grid. However, the other standard info is there: num, id, name, zone, terrain, details, exits.

- Bo

Show message history
I'm trying to figure out how to make a gmcp mapper plugin for mushclient...at this point I don't want anything fancy...just a basic mapper to start with...is there any info about gmcp regarding coffeemud that would make this easier on me?
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #23 on Tue 14 Oct 2014 03:03 PM (UTC)
Message
Ok, but did you ask about the error messages and negative room ids?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Glispion   (19 posts)  Bio
Date Reply #24 on Tue 14 Oct 2014 03:18 PM (UTC)
Message
No, I'll get on that now and get back with you when I get a reply.
Top

Posted by Glispion   (19 posts)  Bio
Date Reply #25 on Thu 16 Oct 2014 08:15 AM (UTC)
Message
looks like that mushclient package is sending the core.hello version as a string instead of a number. I'll fix it for the next build. While researching this, I also uncovered a ton of other packages to implement, so that's good too!

- Bo

I'll come back after the next coffeemud build is released. I can't tell you how much I appreciate the help knowing that I am not contributing any solutions. Thanks everyone for the help and please stay tuned!
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.


79,662 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

Posting of new messages is disabled at present.

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.