[available] GMCP in Mudlet

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

So on Aetolia it worked?

I was testing on Lusternia and Achaea only initially, getting into MKO I'm seeing the same issue - so I'll investigate.

I did have someone come into IRC yesterday and describe me what are the symptoms of a premature Rapture upgrade... their ATCP for Mudlet broke, while all other IRE games fixed it.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

I disabled sending of the initial hello and core supports set messages to do them manually, and here is what I get:
876h, 716e, 0g xb-lua sendGMCP("Core.Hello { \"client\": \"Mudlet\", \"version\": \"1.1.0\" }")
There are no coins here.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Please restate.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Interesting...
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Could you be a bit clearer?
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
I do not understand.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Most perplexing.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Once more?
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.
0" }')
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
I do not understand.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Entering the warehouse district.
You see exits leading northwest, south, east, and north.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Come now, you don't really mean that.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
That went right over my head.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.
0" }')
Approaching the warehouse district.
You see exits leading south and north.
876h, 716e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.
0" }')
Entering the warehouse district.
You see exits leading northwest, south, east, and north.
876h, 712e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
Pardon me?
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
There is no exit in that direction.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
I see no "hare" to take.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
I see no "hare" to take.
876h, 720e, 0g xb-lua sendGMCP('Core.Hello { "client": "Mudlet", "version": "1.1.0" }')
... it was interpreting a gmcp command as some random one every time. Even moving me sometimes and pulling, I'm guessing, things from it's memory to have me randomly get hares. Peculiar. So I had some fun and here are other things it made me randomly do (I can only guess that these actions are something that were recently).
You tell Lord Radakail, Witch-King of the North in the Kingdom Tongue, "Thank
you."

(I got curious at that one and investigated):
You tell Lord Radakail, Witch-King of the North in the Kingdom Tongue, "Did
someone else tell you thank you recently?"
876h, 720e, 0g xb-
Radakail tells you something in a lilting and musical tongue.
876h, 720e, 0g xb-reply can't comprehend
You tell Lord Radakail, Witch-King of the North in the Kingdom Tongue, "Can't
comprehend."
876h, 720e, 0g xb-
Radakail tells you in the Kingdom Tongue, "Mhm."
876h, 720e, 0g xb-reply haha
You tell Lord Radakail, Witch-King of the North in the Kingdom Tongue, "Haha."
876h, 720e, 0g xb-
You do not have any "bandage".

<great hunt tabloid>

You are not holding any such corpse.

I see no "weevil" to take.

<score look>

You smile and say in the Kingdom Tongue, "You get the coins."

You say in the Kingdom Tongue, "To ged A please would be nice ... but I will."

You smile and say in the Kingdom Tongue, "It was a general term, not an order."

<def command>

You are not smooth enough to do that.

<public news #7>

You blink.

You ask in the Kingdom Tongue, "To ged what was all that about?"

You say in the Kingdom Tongue, "No idea."
(rofl! I got part of a conversation)

You have no more unread messages.

You must be wielding a sword to do that.

You tell Demen in the Kingdom Tongue, "Not sure! Never tried."
(freaky freaky)

You tell Morrighan in the Kingdom Tongue, "Vadi just tried to talk to me."
(omg!)

You tell Lord Grin Lazariss, the Thunderstorm in the Kingdom Tongue, "Do you
know of a lock i can pick i am not yet a master locksmith i can only pick the
most simple of locks."

You say in the Kingdom Tongue, "A little, yes ..."

You are not dead! Count your blessings!

<honors sleck, public news #11 and more>

You tell Demen in the Kingdom Tongue, ":x."

Grin tells you in the Kingdom Tongue, "Uhh... I don't, actually."
(reply to the earlier tell to him, haha)
So yeah... while GMCP obviously never came on, it seems that sending it any GMCP message will cause you to do an action someone else recently did! I guess at this point I'll say that MkO is a bit fucked up here; let their admins know and test GMCP on other MUDs :)

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

You tell Demen in the Kingdom Tongue, "Meep!"

You say in the Kingdom Tongue, "You can come on out."

You say in the Kingdom Tongue, "Emerge who are you."

You say in the Kingdom Tongue, "Dunnoe him."

You say in the Kingdom Tongue, "An elder of the spellweavers."

You ready yourself to dodge oncoming attacks.

You purchase 3 credit(s) at an average price of 6500 copper per credit.
Total copper spent: 19500
(oh man...)

You tell Morrighan in the Kingdom Tongue, "I'm hopping off. go go go!"

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

naftali wrote:Any chance of seeing any binaries (I'm obvs particularly interested in a mac one) made that support GMCP?
Quite little, ixokai's mac broke I think (or something happened to it, and now he's on an ancient computer).

User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Re: GMCP in Mudlet

Post by tsuujin »

On aetolia, I'm getting the follow error when I view my AB:
[ERROR:] object:<Mudlet Lua API> function:<setGMCPTable>
<InvalidJSONInput: lexical error: invalid character inside string.
[ "Vision Vision Transcendent (100%)",
(right here) ------^
at /home/tsuujin/lua-yajl/lua_yajl.c line 254>

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

Yeah... the parser seems not to like the tab character in there. I'm not sure if it's valid JSON, but it's definitely poorly formatted JSON, so I'll hope that they fix it.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

I've pushed an update to the Mudlet branch that makes use of autologin w/ GMCP (it's instant, and if any other MUD will implement GMCP, it'll work it - even if their login method isn't "char name, then char password".).

To update, do bzr pull while in the proper folder.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

Note: I've seen this come up often, and rather frequently when using autologin:
Your last login was from domain: snip.

You've baffled me!
I missed that altogether.
Interesting...
Your meaning eludes me.
Please restate.
I don't quite catch your drift.
That went right over my head.
Brilliant! Dumb it down for me?
Please restate.
I cannot fathom your meaning.
Come now, you don't really mean that.
One more time?
Might I suggest trying again?
Might I suggest trying again?
Quit trying to confuse me.
Most perplexing.
I cannot fathom your meaning.
Please restate.
There is a 100% experience bonus in effect!

oO--------------------------( Welcome back, snip! )-------
The spam of extra invalid commands isn't something that Mudlet is sending all in that time, so I don't think its my fault.

(thinking about it, it could be related to something that MkO is doing...)

User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Re: GMCP in Mudlet

Post by tsuujin »

Cool! So... how do you use it? I tried setting the character name and password from the profile selection screen and reconnecting, but nothing happened.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: GMCP in Mudlet

Post by Vadi »

You did get the changes and recompile?

Post Reply