[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  GMCP in Materia Magica
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

GMCP in Materia Magica

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


Posted by Ruthgul   (18 posts)  [Biography] bio
Date Thu 23 Feb 2012 07:51 AM (UTC)
Message
Hello :)

Since the latest reboot in Materia Magica, I'm having issues with GMCP. Specifically with room.info. I get a visible lag after the GMCP package arrives, before I see the actual room in MUSH.

I'm using the handler for Aardwolf. It was working perfectly well before these changes were introduced in Materia Magica:
* Fixed some issues with GMCP support to remove JSON line compression (which was apparently messing up some clients).
* Fixed a GMCP issue where GMCP data was being passed through the base MXP and color interpreter methods, thus causing some entities to be translated that shouldn't have been.

I've talked to the developers, and they say the lag is on the client's end. They've tested it, and they don't see any lag. And I have no idea how to fix it.

Can anyone here help?
[Go to top] top

Posted by Ruthgul   (18 posts)  [Biography] bio
Date Reply #1 on Thu 23 Feb 2012 07:58 AM (UTC)
Message
Some additional information I forgot to add in the original post:

- I've disabled all other plugins and scripts.
- I've disabled MXP.
- I've tried using Nick's ATCP2_Logger.
- I've tested with MUSH v4.73 and v4.81.
... Same results.

Also, I'm not the only person experiencing this issue. (Using different connections, even from different countries.)
[Go to top] top

Posted by Ruthgul   (18 posts)  [Biography] bio
Date Reply #2 on Thu 23 Feb 2012 08:14 AM (UTC)
Message
(I apologize for the duplicated post. It happened when I reloaded the page.)
[Go to top] top

Posted by Kaczia   (1 post)  [Biography] bio
Date Reply #3 on Fri 24 Feb 2012 09:52 PM (UTC)
Message
I also am experiencing this same problem using Materia Magica when accessing GMCP. My movements in the game show about a 1 second lag which makes playing with my GMCP plugin enabled difficult, at best. Any help on this issue would be appreciated!
[Go to top] top

Posted by Rajani   (1 post)  [Biography] bio
Date Reply #4 on Tue 28 Feb 2012 11:01 PM (UTC)
Message
I have had this problem as well, after talking with Vassago (the main DEV for the game). He has stated that it is a client based issue, and not a bug/game issue. Can someone please help us out with this?
[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Wed 29 Feb 2012 06:49 PM (UTC)
Message
Just to help me reproduce this, can you please state exactly what plugins you are using? Perhaps this:

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
[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Wed 29 Feb 2012 07:17 PM (UTC)
Message
Can you clarify a bit more the nature of the problem? Is there actual lag (ie. you don't see anything) after you try to move, or is it just the mapper takes a second to update?

Do you need to type anything to enable the GMCP (into the MUD)? I didn't see any GMCP messages when I tested a moment ago.

I haven't responded sooner because it seemed pretty clearly a server issue:


  • It used to work
  • They "Fixed some issues with GMCP support" at the server end
  • Now it doesn't work


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Wed 29 Feb 2012 07:31 PM (UTC)
Message
I'm not sure which mapper you are using, but using the GMCP debug, I don't see any lag. For example:


south

gmcpdata serialized: {
  room = {
    info = {
      num = "11653",
      zone = "The Village of Lasler",
      terraininfo = "sheltered",
      plane = "1",
      coord = {
        id = "5",
        x = "30",
        name = "Lasler Wilderness",
        y = "27",
        },
      name = "The Equipment Room",
      exits = {
        e = "11654",
        n = "11650",
        },
      terrain = "indoors",
      shape = "square",
      size = "normal",
      },
    },
  }

 The Equipment Room                                     -      N      -
(-------------------------------------------------)     - <---(M)---> E
                                                        -      -      -

  You have entered another classroom exactly like the first two - this
building seems to be full of nothing but classrooms.  On this board,
however, is written in an elaborate script: "Equipment and Inventory: A
Primer." Below this you read "Type EQUIPMENT to see what you are wearing. 
Type INVENTORY to see what you are carrying.  When you see a container such
as a bag, backpack, or box, you may LOOK IN to it.  Type LOOK IN BACKPACK
now to see what's inside the backpack you started with.  To equip or hold
something, type WEAR and a keyword from the item name.  To remove an item,
type REMOVE <item name>.  You may also WEAR ALL or REMOVE ALL.  To use a
container, you can PUT an item name into it, or GET <item name> FROM
<container name>.  See HELP with any command name for more information on that
particular command. When you are finished, you may go EAST."


The GMCP message appears almost instantly (as does the room description).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Wed 29 Feb 2012 09:18 PM (UTC)
Message
After discussing with the developer on Materia Magica it appears that the problem is with the way that the GMCP data is being sent by their server. They acknowledge that it doesn't happen on their development server, and presumably are going to fix it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Wed 29 Feb 2012 10:12 PM (UTC)
Message
It was something to do with the different way the GMCP messages were sent compared to the normal messages. Personally I measured around 0.3 seconds lag after the GMCP message but before the room description, fairly consistently.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ruthgul   (18 posts)  [Biography] bio
Date Reply #10 on Wed 29 Feb 2012 10:24 PM (UTC)
Message
Many thanks, Mister Nick. You are awesome, as usual. :)

As soon as the GMCP mapper is finished, I'll share the link.

- Ruthgul
[Go to top] top

Posted by Ruthgul   (18 posts)  [Biography] bio
Date Reply #11 on Sun 11 Mar 2012 12:30 AM (UTC)
Message
OK, as promised, now that GMCP is working fine again on Materia Magica, here's some scripts. :)

This is the GMCP Handler (adapted from Lasher's plugin for Aardwolf):
http://orderofchaos.org/?Mush_Client_GMCP_Handler_Plugin

This is the GMCP Mapper (adapted from your original Mapper for Materia Magica, that didn't use GMCP):
http://orderofchaos.org/?Mush_Client_GMCP_Mapper

And this is another plugin I made, that shows your position in the vmap, to help travel between cities:
http://orderofchaos.org/?Mush_Client_IMap_GMCP_Plugin
[Go to top] 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.


7,310 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]