Author |
Message |
Topic: status window displaying a data record with <> charact |
mortie
Replies: 2
Views: 4387
|
Forum: zMUD General Discussion Posted: Mon Jan 24, 2005 7:10 pm Subject: status window displaying a data record with <> charact |
Implemented both suggestions of code change and working nicely.
Thanks LightBulb! |
Topic: status window displaying a data record with <> charact |
mortie
Replies: 2
Views: 4387
|
Forum: zMUD General Discussion Posted: Sun Jan 23, 2005 12:52 pm Subject: status window displaying a data record with <> charact |
Hi,
I've been trying to get the status window to display a data record without doing any stripping etc.
The data record contains info as the following:-
Key=Playername Value=378 552 101 ... |
Topic: Another ansi trigger question |
mortie
Replies: 2
Views: 4519
|
Forum: zMUD General Discussion Posted: Sun Jan 09, 2005 12:11 pm Subject: Another ansi trigger question |
Thanks Pega, nice explaination. |
Topic: Another ansi trigger question |
mortie
Replies: 2
Views: 4519
|
Forum: zMUD General Discussion Posted: Sat Jan 08, 2005 1:48 am Subject: Another ansi trigger question |
I have been converting some of my capture triggers to ansi triggers. In doing so i have come across a couple of minor problems which don't occur with the counterpart non-ansi triggers.
1st problem
... |
Topic: Trigger question |
mortie
Replies: 5
Views: 6076
|
Forum: zMUD General Discussion Posted: Tue Nov 23, 2004 12:27 pm Subject: Trigger question |
You can't use wildcards in the above pattern {val1|val2|valN}
Is that the only word in the line or is there more text after it?
It depends on what you want to do with what you trigger on.
You ... |
Topic: trouble with a macro (or is it an alias?) |
mortie
Replies: 1
Views: 3640
|
Forum: zMUD General Discussion Posted: Sun Nov 21, 2004 12:05 pm Subject: trouble with a macro (or is it an alias?) |
Couple of possibilities
Do you have the automapper on? This could be a possible reason why you are getting the
extra open command. If it's set to follow position on map it may well be thinking its ... |
Topic: could use a little trigger how-to :) |
mortie
Replies: 6
Views: 11466
|
Forum: zMUD General Discussion Posted: Fri Nov 19, 2004 6:48 pm Subject: could use a little trigger how-to :) |
You could use a data record which will do away with multiple triggers
Create a datarecord
e.g
@PotterSpellConversion
Armor=Impervious|Blindness=Finite Incantatem
etc
Then your t ... |
Topic: trigger problem |
mortie
Replies: 3
Views: 4314
|
Forum: zMUD General Discussion Posted: Thu Nov 18, 2004 9:31 am Subject: trigger problem |
Can you elaborate more on this? What info is contained in @spinfo? Perhaps give the code you already have so we can see what is going on? |
Topic: Basic database help needed - can't create multirecord db |
mortie
Replies: 6
Views: 9037
|
Forum: zMUD General Discussion Posted: Wed Nov 17, 2004 11:59 am Subject: Basic database help needed - can't create multirecord db |
I see, you didn't make it clear that you didn't want a 'saved' database. Which i assume means you haven't manually created a database via the GUI and created fields for it?
Thats why the examples ab ... |
Topic: Basic database help needed - can't create multirecord db |
mortie
Replies: 6
Views: 9037
|
Forum: zMUD General Discussion Posted: Wed Nov 17, 2004 9:12 am Subject: Basic database help needed - can't create multirecord db |
Sorry for the mistake in the #DBRESET.
Just a thought, do you have the corresponding fields in the DB labled as Name and Level?
Try this command
#LOOPVIEW {#SHOW &Name,&Level}
Thi ... |
Topic: data record problem |
mortie
Replies: 5
Views: 5650
|
Forum: zMUD General Discussion Posted: Tue Nov 16, 2004 6:42 pm Subject: data record problem |
Thanks Danlo. Tested it with a few variations and it works. |
Topic: Disconnect when sending large texts |
mortie
Replies: 2
Views: 6530
|
Forum: zMUD General Discussion Posted: Tue Nov 16, 2004 4:50 pm Subject: Disconnect when sending large texts |
The mud i played use to have a limit on the amount of text you could spam it in any one go before it upgraded the server. It use to drop the connection automatically if it reached a certain threshold ... |
Topic: Logging equipment. |
mortie
Replies: 5
Views: 7318
|
Forum: zMUD General Discussion Posted: Tue Nov 16, 2004 4:16 pm Subject: Logging equipment. |
This reason its 'failing' is im assuming your NPCs dont have particular slots for items worn i.e back, leg, arm, etc
So when a mob is wearing more than one item it looks like this:-
A fur cloak ... |
Topic: Docked Status Window: How to Display tells, guild lines,etc? |
mortie
Replies: 10
Views: 16428
|
Forum: zMUD General Discussion Posted: Tue Nov 16, 2004 10:27 am Subject: Docked Status Window: How to Display tells, guild lines,etc? |
You need to expand on the pattern matching of your Trigger.
You are trying to reference %1 and %2 but where are you trying to get this from?
The parts that you want to capture for referencing n ... |
Topic: Basic database help needed - can't create multirecord db |
mortie
Replies: 6
Views: 9037
|
Forum: zMUD General Discussion Posted: Tue Nov 16, 2004 10:16 am Subject: Basic database help needed - can't create multirecord db |
This exert is taken straight from the finished script section created by the Zmud Guru Troubadour.
Thread -> http://forums.zuggsoft.com/phpbb/viewtopic.php?t=2164
#DBLOAD eq
#NEW All @newR ... |
Topic: Logging equipment. |
mortie
Replies: 5
Views: 7318
|
Forum: zMUD General Discussion Posted: Mon Nov 15, 2004 10:49 pm Subject: Logging equipment. |
The <optioanl db name> is the two letter name for the db. You can see this with the record numbers
e.g 1eq, 200eq etc so "eq" is the db name.
Using the above example the syntax would be
... |
Topic: New to zMUD scripting, not sure where to begin |
mortie
Replies: 1
Views: 4740
|
Forum: zMUD General Discussion Posted: Mon Nov 15, 2004 10:09 am Subject: New to zMUD scripting, not sure where to begin |
There's a really good example in the finished scripts section.
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=2164
Although it's geared towards propagating an equipment database it serves as a ... |
Topic: pattern match end of line help please? |
mortie
Replies: 1
Views: 3539
|
Forum: zMUD General Discussion Posted: Mon Nov 15, 2004 8:17 am Subject: pattern match end of line help please? |
You can do this a number of ways. Slight adjustment to your trigger
#TRIGGER {^You find its %w ({bag|pouch|sack})$} {get %1}
or this way
#TRIGGER {^You find its %w ({@container_list})$} {get ... |
Topic: Very annoying problem. Please help |
mortie
Replies: 1
Views: 3752
|
Forum: zMUD General Discussion Posted: Mon Nov 15, 2004 6:54 am Subject: Very annoying problem. Please help |
This thread might help you
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=15277 |
Topic: zMUD won't run |
mortie
Replies: 2
Views: 4572
|
Forum: zMUD General Discussion Posted: Sun Nov 14, 2004 11:01 pm Subject: zMUD won't run |
See below thread also
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=18498 |
Topic: Logging equipment. |
mortie
Replies: 5
Views: 7318
|
Forum: zMUD General Discussion Posted: Sun Nov 14, 2004 9:23 pm Subject: Logging equipment. |
Theres a good example in the finished script section.
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=2164
I would do something like this:-
Create my trigger(s) to pick up the items and k ... |
Topic: Docked Status Window: How to Display tells, guild lines,etc? |
mortie
Replies: 10
Views: 16428
|
Forum: zMUD General Discussion Posted: Sun Nov 14, 2004 2:49 pm Subject: Docked Status Window: How to Display tells, guild lines,etc? |
I personally wouldnt use the Status Window for what you are trying to do. The status window is similar to the status bar. You tend to use it for updating values like showing your hp mana etc.
For r ... |
Topic: Docked Status Window: How to Display tells, guild lines,etc? |
mortie
Replies: 10
Views: 16428
|
Forum: zMUD General Discussion Posted: Sun Nov 14, 2004 1:06 pm Subject: Docked Status Window: How to Display tells, guild lines,etc? |
You want to use the [[#CAPTURE]] command.
e.g
#TRIGGER {(*) tells you ~'(*)~'} {#CAP Tells}
It will send the tell to a window called Tells. If you want to gag the output of the tell from you ... |
Topic: Floating point numbers |
mortie
Replies: 2
Views: 5776
|
Forum: zMUD General Discussion Posted: Sun Nov 14, 2004 12:27 am Subject: Floating point numbers |
Check out the [[%format]] function |
Topic: ZMud doesn't like my MDAC |
mortie
Replies: 1
Views: 4032
|
Forum: zMUD General Discussion Posted: Sat Nov 13, 2004 1:28 pm Subject: ZMud doesn't like my MDAC |
Check out this thread by Zugg. This might be related to the problem you are having.
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=18498 |
|