Search found 110 matches

by Zaphob
Sat Nov 08, 2014 1:18 pm
Forum: Mudlet Mapper
Topic: developing mapping script for Morgengrauen
Replies: 5
Views: 7518

developing mapping script for Morgengrauen

So I will give it another shot. Totally forgot how to use the mapper again. Currently looking through other mapping scripts, but none come to help in a way I can directly use. So I need to develop again. Here is what I receive: room description: Die Hafenstrasse fuehrt in Ost-West Richtung zum Hafen...
by Zaphob
Wed Oct 29, 2014 9:12 pm
Forum: Mudlet Development
Topic: add Forum links to Website & Wiki
Replies: 10
Views: 8157

Re: add Forum links to Website & Wiki

All suggestions say to modify the source code. We can work around that by keeping it versioned then. Either that or keep a list of things too adjust after a version update. Maybe that is less hustle than adding the forum source to version control, which seems possible only for admins, who have enou...
by Zaphob
Wed Oct 22, 2014 10:55 pm
Forum: Scripts & Packages
Topic: n00b script/trigger question.
Replies: 5
Views: 5465

Re: n00b script/trigger question.

Maybe check out the Trigger Manual
by Zaphob
Wed Oct 22, 2014 3:16 pm
Forum: Help Forum
Topic: Newbie Multi-Line Trigger
Replies: 9
Views: 3862

Re: Newbie Multi-Line Trigger

Thanks Jor'Mox. Here is yet another explanation I received: because matching only goes in one direction (from left to right), you need to distinguish match start and match end, and you can only control greedyness of the end the start is always as early (greedy) as possible I am getting a better feel...
by Zaphob
Wed Oct 22, 2014 11:35 am
Forum: Help Forum
Topic: Newbie Multi-Line Trigger
Replies: 9
Views: 3862

Re: Newbie Multi-Line Trigger

Still not sure, why it was so greedy, but the following more specific pattern works as expected:
Code: [show] | [select all] lua
weapon, damagetype = string.match(text, "%. ([^%.]-) macht folgenden Schaden: ([^%.]-)%.")
display(weapon)
"Ein Bienenstachel"
by Zaphob
Mon Oct 20, 2014 9:59 pm
Forum: Help Forum
Topic: Newbie Multi-Line Trigger
Replies: 9
Views: 3862

Re: Newbie Multi-Line Trigger

Unfortunately, the line breaks are completely random aka when the line is full. Depending on length of names, etc, this can be at different places. So I will go the string.match way and see where it takes me. Then again, pattern matching doesn't offer the exact functionality I try to recreate, some ...
by Zaphob
Sun Oct 19, 2014 8:19 pm
Forum: Help Forum
Topic: Help a noob coder out, please!
Replies: 2
Views: 1301

Re: Help a noob coder out, please!

Welcome Ishin, maybe let the noob read this: http://sscce.org/
by Zaphob
Thu Oct 09, 2014 11:07 pm
Forum: Help Forum
Topic: Newbie Multi-Line Trigger
Replies: 9
Views: 3862

Re: Newbie Multi-Line Trigger

you reach the end, where you reset your check variable and do whatever you need to do once you have all the info you want. I solved some simpler patterns, but still struggle with the more complex regex. Here is another example: (Er|Sie|Es) ist gegen (schneidenden Schaden|stechenden Schaden|reissend...
by Zaphob
Thu Oct 09, 2014 12:42 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Run Lua code from the command line
Replies: 14
Views: 28950

Re: Run Lua code from the command line

So, I love this module ever since I found it back a few years ago. And now it seems, Mudlet 3.0 comes bundled with it already! My question now: How do you expect the script packages to manage? I would like to include "run lua" for all users 2.1, who don't have it already installed themselves. Of cou...
by Zaphob
Thu Oct 09, 2014 9:19 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: Display Raw Packets for what is sent from the Server
Replies: 3
Views: 2246

Re: Display Raw Packets for what is sent from the Server

Have you tried opening your Debug Console? This is how I can see my GMCP transmissions (Not the contents, but which parts were updated), maybe it's similar for MXP?