[available] GMCP in Mudlet

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

Re: GMCP in Mudlet

Post by tsuujin »

Definite bug in the table parsing.

I can see duplicate table entries (very commonly on gmcp.Char.List, which displays the room items and should probably be going into gmcp.Char.Items)

I can also see movement in the placement of items. For example:
gmcp.Comm.Channel.List sometimes contains the value of the channel list. When I first log in, however, the channels element is an empty table, and the channels list exists in gmcp.Comm.List or gmcp.List

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

Re: GMCP in Mudlet

Post by tsuujin »

Also, when I first log in, gmcp.Comm frequently looks like this:
table {
'Start': 'newbie'
'Channel': table {
'End': 'newbie'
}
}

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

Re: GMCP in Mudlet

Post by tsuujin »

Ok, so looking back over the GMCP standards page I can see why .List is being used and it does make sense. It's just not parsing properly that makes it confusing.

Also, in your Core.Supports.Set line, you have Char.Items listed twice.

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

Re: GMCP in Mudlet

Post by Vadi »

Hm, sounds like it should be gmcp.Comm.Channel.List. I suppose I've messed up the stack usage somewhere in there.

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

Re: GMCP in Mudlet

Post by Vadi »

Alright, rev 411 should have the fix.

dorwardv
Posts: 15
Joined: Sat Jul 24, 2010 11:02 am

Re: GMCP in Mudlet

Post by dorwardv »

event is raised as evident in debug. but not triggering

here is my screenshot.

http://imagebin.org/112223

dorwardv
Posts: 15
Joined: Sat Jul 24, 2010 11:02 am

Re: GMCP in Mudlet

Post by dorwardv »

it seems the raised event is not the same as the triggering event.

edit start
raised event is gchannel.subchannel
triggered event is gmcp.channel.subchannel
edit end

gcomm.event = gmcp.comm.event
gchannel.subchannel should be gmcp.channel.subchannel

edit start
Or debug message is wrong. :p

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

Re: GMCP in Mudlet

Post by Vadi »

that temporary echo is wrong, event name is gmcp.(event), so gmcp.channel.subchannel

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

Re: GMCP in Mudlet

Post by Vadi »

Are the sub-tables updated and populated properly though?

dorwardv
Posts: 15
Joined: Sat Jul 24, 2010 11:02 am

Re: GMCP in Mudlet

Post by dorwardv »

All great for me atm. we dont have complex gmcp structure in aardwolf though.

Post Reply