Author |
Message |
Topic: Center map by vNum from command line / script? |
Hazram
Replies: 4
Views: 6600
|
Forum: CMUD General Discussion Posted: Thu Oct 06, 2011 1:35 am Subject: Center map by vNum from command line / script? |
Yep, that'll do it. I think it's time for me to make keypad macros for #move [direction] with the Control or Alt key, so it will be as simple as Ctl+[key] [#WALK :Party macro-key]. Just a few keystrok ... |
Topic: Center map by vNum from command line / script? |
Hazram
Replies: 4
Views: 6600
|
Forum: CMUD General Discussion Posted: Thu Oct 06, 2011 12:29 am Subject: Center map by vNum from command line / script? |
Ah, that is a simple way. New marker, track it to get the desired view, then delete it. Thanks much.
EDIT: Yeah, that is quite a caveat. I'll hunt for a solution. [generate a path from the original ... |
Topic: Center map by vNum from command line / script? |
Hazram
Replies: 4
Views: 6600
|
Forum: CMUD General Discussion Posted: Wed Oct 05, 2011 9:16 pm Subject: Center map by vNum from command line / script? |
I'd like to change the map display by centering on any given room by referencing the room with its vNum. Is there a simple way to do this?
It occurs to me that one method would be to save the curre ... |
Topic: Insert a soft return into a string? |
Hazram
Replies: 4
Views: 6958
|
Forum: CMUD General Discussion Posted: Wed Oct 05, 2011 6:50 pm Subject: Insert a soft return into a string? |
For completeness, here's an example of my script for the conversion task. The pattern matches any room description, though I won't bother showing or explaining it - it's quite a beast.
the script bel ... |
Topic: Insert a soft return into a string? |
Hazram
Replies: 4
Views: 6958
|
Forum: CMUD General Discussion Posted: Wed Oct 05, 2011 5:50 pm Subject: Insert a soft return into a string? |
Yep, I'm using #tag for new rooms and %roomdesc for existing rooms. I'm avoiding using the UserStr field for this, as this field is also useful for me in other ways, and putting a lonnng text string i ... |
Topic: Insert a soft return into a string? |
Hazram
Replies: 4
Views: 6958
|
Forum: CMUD General Discussion Posted: Wed Oct 05, 2011 5:16 pm Subject: Insert a soft return into a string? |
I'd like to deal with changing descriptions for day/night on my mud by formatting such descriptions in the mapper database thusly:
DAY:This street is quite buys now, in the full light of day.
NIGHT: ... |
Topic: Rename tabs |
Hazram
Replies: 4
Views: 6618
|
Forum: CMUD General Discussion Posted: Fri Sep 16, 2011 8:28 pm Subject: Rename tabs |
I edited the xml to change the tab names. In the xml, one had a blank caption, while one had a caption that listed the windows which were part of the tab. The second tab created had the blank caption ... |
Topic: ? locations |
Hazram
Replies: 1
Views: 3926
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 10:24 pm Subject: ? locations |
Well I found the obscure classes that were generating these 'Tells' locations, though not why they were. I also managed to delete them.
I'd still like to know what the '?' signifies. Sometimes on ... |
Topic: Rename tabs |
Hazram
Replies: 4
Views: 6618
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 10:10 pm Subject: Rename tabs |
I can rename windows, but not tabs. It's not a visibility issue. No one else has this problem?
Just to be clear, open a session, then open another session from the file menu. Now right click on one ... |
Topic: Rename tabs |
Hazram
Replies: 4
Views: 6618
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 7:57 am Subject: Rename tabs |
Right clicking a tab in a multiple-character session shows "Rename ..." in the lsit box, but clicking on this choice does nothing. How do you rename tabs? |
Topic: ? locations |
Hazram
Replies: 1
Views: 3926
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 7:55 am Subject: ? locations |
I get odd location markers listed in the Automapper drop down list, which correspond to the #loc listing:
Locations (* is current, - is disabled):
? Tells at room 13931 (blue) ... |
Topic: Multiple character session - map trouble |
Hazram
Replies: 3
Views: 6372
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 7:20 am Subject: Multiple character session - map trouble |
After trying many permutations with shared packages and map windows, I have come to the following conclusions:
You can have multiple map windows only with multiple CMUD instances.
If you have mult ... |
Topic: Multiple character session - map trouble |
Hazram
Replies: 3
Views: 6372
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 4:53 am Subject: Multiple character session - map trouble |
Alright, so I can't run two different mapped muds in a single session. I can live with that.
Fiddling with shared sessions has prompted me to also tackle this with my primary mud. I have more than ... |
Topic: Multiple character session - map trouble |
Hazram
Replies: 3
Views: 6372
|
Forum: CMUD General Discussion Posted: Wed Sep 14, 2011 1:03 am Subject: Multiple character session - map trouble |
I've recently started playing on a second mud, an am having no end of trouble setting up a multiple-character session, specifically with Maps.
I have two sessions - one for each character, each on ... |
Topic: Run script when variable changes |
Hazram
Replies: 4
Views: 7089
|
Forum: CMUD General Discussion Posted: Tue Sep 06, 2011 1:30 am Subject: Run script when variable changes |
Aha. That looks like it will work perfectly. Thanks again Shalimar. |
Topic: Run script when variable changes |
Hazram
Replies: 4
Views: 7089
|
Forum: CMUD General Discussion Posted: Tue Sep 06, 2011 1:18 am Subject: Run script when variable changes |
What's the best way to run a script when the value of a variable changes? There seems to be no way to match MXP entity publication with an MXP trigger, which is rather what I'm after, but running on a ... |
Topic: BUG: %mod(n,m) when n<0 |
Hazram
Replies: 10
Views: 9653
|
Forum: CMUD General Discussion Posted: Mon Sep 05, 2011 8:46 pm Subject: BUG: %mod(n,m) when n<0 |
There are languages that provide both a mod function and a remainder function (in Ruby, modulo and mod, respectively) to deal with the discrepancy involving sign. This discrepancy definitely dates to ... |
Topic: #DBDELETE |
Hazram
Replies: 4
Views: 8507
|
Forum: CMUD General Discussion Posted: Sat Sep 03, 2011 7:30 pm Subject: #DBDELETE |
Yep, I have. I've been working on exactly that. Thanks for the suggestion though.
And Shalimar, log on more often will ya? I'd like to learn some skills from you.
I didn't realize Zugg had ... |
Topic: Extra CR/LF |
Hazram
Replies: 10
Views: 12029
|
Forum: CMUD General Discussion Posted: Sat Sep 03, 2011 7:20 pm Subject: Extra CR/LF |
I changed the alarm definition to
#ALARM xpAlarm *@period {#CALL @xpTick()} xpTracking
removing the quotes around the name, and adding #CALL. No extra CR/LF now.
How each mud uses entities is ... |
Topic: #DBDELETE |
Hazram
Replies: 4
Views: 8507
|
Forum: CMUD General Discussion Posted: Sat Sep 03, 2011 6:45 pm Subject: #DBDELETE |
No help? I'd try to get some official support for this, using support@zuggsoft.com, but my last 2 missives to that address, sent 4 business days ago, have not elicited replies. What happened to 48 hou ... |
Topic: Extra CR/LF |
Hazram
Replies: 10
Views: 12029
|
Forum: CMUD General Discussion Posted: Fri Sep 02, 2011 9:35 pm Subject: Extra CR/LF |
Hmm, maybe it's the alarm?
#ALARM "xpAlarm" *@period {@xpTick()} xpTracking |
Topic: BUG: %mod(n,m) when n<0 |
Hazram
Replies: 10
Views: 9653
|
Forum: CMUD General Discussion Posted: Fri Sep 02, 2011 2:04 am Subject: BUG: %mod(n,m) when n<0 |
In most coding languages, the mod function behaves the same way. That is, computer science mod is different from mathematical mod. |
Topic: Extra CR/LF |
Hazram
Replies: 10
Views: 12029
|
Forum: CMUD General Discussion Posted: Fri Sep 02, 2011 12:43 am Subject: Extra CR/LF |
Gagging these blank lines (^$) doesn't work.
I wish there was some help document to explain the basic overview of zScript from a coder's perspective. Such as when things are evaluated, when they're ... |
Topic: Extra CR/LF |
Hazram
Replies: 10
Views: 12029
|
Forum: CMUD General Discussion Posted: Thu Sep 01, 2011 11:23 pm Subject: Extra CR/LF |
I've got an alarm that fires every 30 seconds to collect xp info. It runs the following function:
$curTime = %eval(%time(h)*3600+%time(n)*60+%time(s))
$xp = %mud.xp
... |
Topic: #DBDELETE |
Hazram
Replies: 4
Views: 8507
|
Forum: CMUD General Discussion Posted: Thu Sep 01, 2011 5:58 pm Subject: #DBDELETE |
My xp / time tracking system stores current xp info every n seconds, and stores it to a database. To prevent this database from getting unnecessarily large, I have the following line in an OnConnect e ... |
|