Register to post in forums, or Log in to your existing account
 
:
Search found 598 matches for:
Page 1 of 24 Goto page 1, 2, 3 ... 22, 23, 24  Next
Author Message
  Topic: [3.34 bug] *s in string lists in trigger patterns
Arde

Replies: 11
Views: 3518

PostForum: CMUD General Discussion   Posted: Fri Oct 14, 2011 8:11 am   Subject: [3.34 bug] *s in string lists in trigger patterns
I don't see...
Use %string ... to allow wildcards in the string list to take effect
Normally bugs are get fixed. But if a bug've got a workaround instead... I dunno.
  Topic: [3.34 bug] *s in string lists in trigger patterns
Arde

Replies: 11
Views: 3518

PostForum: CMUD General Discussion   Posted: Thu Oct 13, 2011 9:11 pm   Subject: [3.34 bug] *s in string lists in trigger patterns
Look how CMUD converts your pattern into regex, just above the "pattern" tab

^{(*) test}$ ===> (?:(.*) test)? Match the regular expression below «(?:.* test)?»
Between zero and one ti ...
  Topic: [3.34 AUTOMAPPER] How to detect a room name in SQUARE brackets?
Arde

Replies: 19
Views: 8192

PostForum: CMUD General Discussion   Posted: Tue Oct 04, 2011 10:05 pm   Subject: [3.34 AUTOMAPPER] How to detect a room name in SQUARE brackets?
Have read your messages in this thread and got an idea.
Let me guess... Does your room trigger fire after a n/e/w/s movement command and doesn't fire after diagonal movement?
  Topic: Cutting LoopLines short
Arde

Replies: 14
Views: 4821

PostForum: CMUD General Discussion   Posted: Thu Sep 22, 2011 4:09 pm   Subject: Cutting LoopLines short
Make the pattern of the trigger ^(*)$, then check in the code if it's the end of list string with %match. If it is, change state, if not, process it however is required. And FYI, * does match an empty ...
  Topic: Cutting LoopLines short
Arde

Replies: 14
Views: 4821

PostForum: CMUD General Discussion   Posted: Thu Sep 22, 2011 2:10 pm   Subject: Cutting LoopLines short
You can't, because * will match everything. It doesn't match an empty string, but will match any other "end of list" string. And, while you can do ^({End of list!|*})$ instead, it adds 1 additional st ...
  Topic: Cutting LoopLines short
Arde

Replies: 14
Views: 4821

PostForum: CMUD General Discussion   Posted: Thu Sep 22, 2011 1:23 pm   Subject: Cutting LoopLines short
Very nice solution, Daern. I wonder how you handle a situation when there is no blank line after a list?
  Topic: [3.34 AUTOMAPPER] How to detect a room name in SQUARE brackets?
Arde

Replies: 19
Views: 8192

PostForum: CMUD General Discussion   Posted: Thu Sep 22, 2011 8:53 am   Subject: [3.34 AUTOMAPPER] How to detect a room name in SQUARE brackets?
TMC says your mud is MXP-enabled. Go to the Options->General->MXP and turn on there "Debug MXP". Look at a room and check does your MUD send some room-specific tags.


For example, my MUD use ...
  Topic: %format with % symbols in the format string (bug?)
Arde

Replies: 9
Views: 3471

PostForum: CMUD General Discussion   Posted: Thu Sep 22, 2011 5:31 am   Subject: %format with % symbols in the format string (bug?)
Arde - which code do you think is better?

I do not think, I'm absolutely sure. The second one is better.

This one is even better than your second one:
#FUNCTION formatLine {#RETURN %concat ...
  Topic: %format with % symbols in the format string (bug?)
Arde

Replies: 9
Views: 3471

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 9:22 pm   Subject: %format with % symbols in the format string (bug?)
What do you want to concat in the middle? In the middle of what? Broke your string into 2 parts and have the "%" at the end of a string, then %concat everything.
Why not to use %concat("abc ", %forma ...
  Topic: Cutting LoopLines short
Arde

Replies: 14
Views: 4821

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 9:14 pm   Subject: Cutting LoopLines short
Why you can't have just 2 triggers - one simple text parsing trigger for containers and one for a blank line that will disable the first one and do things with data collected? After that second trigge ...
  Topic: %format with % symbols in the format string (bug?)
Arde

Replies: 9
Views: 3471

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 8:50 pm   Subject: %format with % symbols in the format string (bug?)
Move your "%" sign out from format and just %concat it as regular text.
something like
%concat(%format("&3.0n",@SomeData/100, "%)")
works fine for me

Btw, why not to move from %1, %2, %3, %4 ...
  Topic: [3.34 AUTOMAPPER] How to detect a room name in SQUARE brackets?
Arde

Replies: 19
Views: 8192

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 8:36 pm   Subject: [3.34 AUTOMAPPER] How to detect a room name in SQUARE brackets?
Does your trigger actually fire? Why not to did it as simple as "^~[(*)~]", comment out your #TAG line and temporary add there "#PRINT %concat("Entering room - ", %1)"
????
After you'll get you trig ...
  Topic: [3.34 MAPPER] Keyboard Creation mode is not working/no effect
Arde

Replies: 11
Views: 5350

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 8:23 pm   Subject: [3.34 MAPPER] Keyboard Creation mode is not working/no effect
I don't know. As I said I can't remove it from my session, so I'm sitting without keyboard mapping.
I would like first to know is it up-to-date package version in the library though...
  Topic: [3.34] BUG(obscured): Editor looses track of a record type variable and wipes it
Arde

Replies: 0
Views: 974

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 8:12 pm   Subject: [3.34] BUG(obscured): Editor looses track of a record type variable and wipes it
I've ran into this bug in my primary session and lost some data from a variable. While I can't reproduce it completely in the untitled session, the procedure below will take you to the point where you ...
  Topic: [3.34 MAPPER] Keyboard Creation mode is not working/no effect
Arde

Replies: 11
Views: 5350

PostForum: CMUD General Discussion   Posted: Tue Sep 20, 2011 12:25 pm   Subject: [3.34 MAPPER] Keyboard Creation mode is not working/no effect
It is "English Keypad" package that screws up keyboard room creation in my CMUD installation. Run untitled session, unload "English Keypad" and you should be able to bring keyboard map creation back t ...
  Topic: [Feature request] Additional built-in event for mapper
Arde

Replies: 2
Views: 4941

PostForum: CMUD Beta Forum   Posted: Thu Sep 08, 2011 9:37 pm   Subject: [Feature request] Additional built-in event for mapper
Thank you for your explanation, have got some valuable info from your post.

But my situation is a bit different. It seems that I was not accurate with my description. I have generic room scripts, n ...
  Topic: [Feature request] Additional built-in event for mapper
Arde

Replies: 2
Views: 4941

PostForum: CMUD Beta Forum   Posted: Thu Sep 08, 2011 4:09 pm   Subject: [Feature request] Additional built-in event for mapper
There are 3 walking modes in Mapper: fast, slow and safe.
I don't wanna my room scripts fired while I rush through an area in the "fast" mode. And I want for them to do something useful while I'm in ...
  Topic: Map Wishlist?
Arde

Replies: 55
Views: 66111

PostForum: CMUD Beta Forum   Posted: Tue Aug 16, 2011 1:36 pm   Subject: Map Wishlist?
When dragging rooms around a map with mouse, I always want to click somewhere so CMUD will not only move all selected rooms but all rooms above and below them (i.e. ignore z-coord in selection). It's ...
  Topic: [3.34] BUG: #T+ is not working properly, when we use more than one window at...
Arde

Replies: 13
Views: 7868

PostForum: CMUD General Discussion   Posted: Tue Aug 16, 2011 9:39 am   Subject: [3.34] BUG: #T+ is not working properly, when we use more than one window at...
I performed a few simulations and came to the conclusion that #t+ and %trigger is not working properly when the active window is different than that in which the script (alias here) was called.
... ...
  Topic: Help!! -All text once saved turns into "???"
Arde

Replies: 3
Views: 2276

PostForum: CMUD General Discussion   Posted: Tue Aug 16, 2011 8:32 am   Subject: Help!! -All text once saved turns into "???"
I can make a wild guess that it was a mess with unicode, setting(s) text was copy-pasted from somewhere (say, web browser) but simple Notepad. Or maybe you play in non-english MUD?

Anyway, do what ...
  Topic: double commnds
Arde

Replies: 6
Views: 2476

PostForum: CMUD General Discussion   Posted: Tue Aug 16, 2011 8:16 am   Subject: double commnds
Should be
#if (@sipbal == 1) {Sip Health;sipbal = 0}
one "=" is an assignment operation, not logical expression expected by #IF

Post your trigger here (copy from xml tab in the Package editor) or ...
  Topic: 2 Problems, How Do I do... and Some sounds wont play
Arde

Replies: 3
Views: 2067

PostForum: CMUD General Discussion   Posted: Fri Aug 12, 2011 2:21 pm   Subject: Re: 2 Problems, How Do I do... and Some sounds wont play

If I try #play upgrades.wav to test it in the command prompt it dosnt play, its in the same folder as the rest.


Try #PLAY "Full-path-to your-sound-file-with-drive-letter" It works, I've just te ...
  Topic: [3.34] Fast and easy CMUD crash (like in good old days) :)
Arde

Replies: 2
Views: 1621

PostForum: CMUD General Discussion   Posted: Fri Aug 12, 2011 1:55 pm   Subject: [3.34] Fast and easy CMUD crash (like in good old days) :)
Confirmed on my end, though the actual error is Invalid handle.

Ah, yes... I use localized Windows version, and error description text was localized as well. Lost in translation, eh...
  Topic: Could someone help me with my Buttons that use the Command prompt?
Arde

Replies: 11
Views: 4029

PostForum: CMUD General Discussion   Posted: Fri Aug 12, 2011 8:11 am   Subject: Could someone help me with my Buttons that use the Command prompt?
Dakina, please, post xml for one of your slow button, not for variable Smile
  Topic: [3.34] Fast and easy CMUD crash (like in good old days) :)
Arde

Replies: 2
Views: 1621

PostForum: CMUD General Discussion   Posted: Fri Aug 12, 2011 8:06 am   Subject: [3.34] Fast and easy CMUD crash (like in good old days) :)
1) Run CMUD, hit Esc to get into untitled session
2) Create a button
3) Switch to the Options tab, click in the "Image Name" field
4) Type "con"
5) As soon as you type that CMUD crashes with "Inva ...
 
Page 1 of 24 Goto page 1, 2, 3 ... 22, 23, 24  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net