Search found 701 matches

by tsuujin
Wed Mar 14, 2012 3:32 pm
Forum: Mudlet Development
Topic: GMCP Handling
Replies: 10
Views: 4750

Re: GMCP Handling

I haven't used it in a while, but I remember that having debugging enabled would push a message similar to that to the screen every time a gmcp packet was received.

What version of mudlet are you using?
by tsuujin
Thu Mar 08, 2012 7:51 pm
Forum: Help Forum
Topic: how to populate a hash in lua?
Replies: 8
Views: 3370

Re: how to populate a hash in lua?

Yeah. All of my functions that assign multi-dimensional array variables run a check exactly like that beforehand because it's just easier than worrying about getting errors. For future reference, you can always check to see what you're assigning by using the type() function. Also, why do you have al...
by tsuujin
Wed Mar 07, 2012 4:42 pm
Forum: Help Forum
Topic: how to populate a hash in lua?
Replies: 8
Views: 3370

Re: how to populate a hash in lua?

as long as the keys are populated, it should just be a simple issue of echoing it out. arr["another"]["test"]["of"]["arrays"] = "This is the resulting echo" echo(arr["another"]["test"]["of"]["arrays"]) If you'r...
by tsuujin
Tue Mar 06, 2012 8:49 pm
Forum: Help Forum
Topic: Mudlet cant save?
Replies: 3
Views: 1699

Re: Mudlet cant save?

Ive had a similar problem before. Mine was caused be me not pushing the Add button before trying to create a new script, trigger etc. Not saying this will be your problem though. Matak This is probably the problem. I did that more than once when I was learning mudlet and never have understood why i...
by tsuujin
Tue Mar 06, 2012 8:47 pm
Forum: Help Forum
Topic: how to populate a hash in lua?
Replies: 8
Views: 3370

Re: how to populate a hash in lua?

One of the few irritating quirks of Lua is that it's tables don't do a whole lot to manage themselves. In order to define a hash like you're looking for you need to explicitly define each one up the tree. so arr["this"]["is"]["a"]["long"]["hash"] = &...
by tsuujin
Mon Mar 05, 2012 9:45 pm
Forum: Help Forum
Topic: How to:Create a trigger that:
Replies: 5
Views: 2335

Re: How to:Create a trigger that:

just trigger for the occurrence of whatever you're looking for, then use the standard string library to pick out what you want from the whole line.
by tsuujin
Tue Feb 21, 2012 6:53 pm
Forum: General Forum
Topic: achaea gmcp time
Replies: 12
Views: 6573

Re: achaea gmcp time

I didn't realize that the time was important enough to go through that much effort for! What are you guys using it for?
by tsuujin
Sat Feb 11, 2012 4:24 am
Forum: Scripts & Packages
Topic: GMCP Inventory Organizer (Achaea)
Replies: 64
Views: 36319

Re: GMCP Inventory Organizer (Achaea)

All of the muds I play let you use item ids and specify the hand to wield it in, so it's never a guess. Is there a GMCP equipped mud that doesn't let you do this? I'd like to know so I can change my system around to compensate.
by tsuujin
Fri Feb 10, 2012 4:22 pm
Forum: Mudlet Development
Topic: Python for Mudlet
Replies: 31
Views: 17071

Re: Python for Mudlet

It just seems odd to me to start offering multiple scripting languages. Not that long ago when people asked for additional languages to be added they were given a harsh "no" for the explicit reason of performance and simplicity. What I see happening down the line is the same issue MUSHclie...
by tsuujin
Fri Feb 10, 2012 4:14 pm
Forum: Scripts & Packages
Topic: GMCP Inventory Organizer (Achaea)
Replies: 64
Views: 36319

Re: GMCP Inventory Organizer (Achaea)

you can actually send a request for an update to any table at any time, meaning you wouldn't actually need to check your inventory (unless they've changed the request procedure since I wrote my scripts). That being said though, I've always found it more effective to keep track of your weapons in a t...