Author |
Message |
Topic: Spellup Revisited |
Qiz
Replies: 9
Views: 9316
|
Forum: zMUD General Discussion Posted: Thu Aug 31, 2006 3:02 pm Subject: Spellup Revisited |
Questions: this manner of doing this creates a variable and assigns a 0 for every single spell in the affected list. This is a big problem because when you have Mage and Cleric spells on you the list ... |
Topic: Spellup Revisited |
Qiz
Replies: 9
Views: 9316
|
Forum: zMUD General Discussion Posted: Wed Aug 30, 2006 12:57 am Subject: Spellup Revisited |
The easiest way to go about it is to start with every spell, in a list or as bit flags in a variable (which is faster to handle than string lists), as there's no way to get info about missing spells, ... |
Topic: #MENU question |
Qiz
Replies: 3
Views: 4410
|
Forum: zMUD General Discussion Posted: Tue Aug 29, 2006 9:40 pm Subject: #MENU question |
Classes are used to group things together for 3 different purposes (as I see it, there may be more)
1. resolving otherwise ambigous names
Consider a case where you want scripts to handle both auto ... |
Topic: Spellup Revisited |
Qiz
Replies: 9
Views: 9316
|
Forum: zMUD General Discussion Posted: Tue Aug 29, 2006 9:27 pm Subject: Spellup Revisited |
Affected: ( 131) aqua breath
Affected: ( 625) fly
Affected: (1630) kindred strength
This is does not seem to match--
#TRIGGER {Affected: ~((%S)(%D)~)(%S)(%W)(*) ... |
Topic: trigger question |
Qiz
Replies: 1
Views: 3129
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 11:07 pm Subject: trigger question |
You don't make a trigger to control your trigger, you change the value of a variable and check it's status in the trigger.
1. add a variable, for example: #VAR pickup 1
2. just create your pickup ... |
Topic: Keypad Macros - CTRL and Shift |
Qiz
Replies: 7
Views: 8628
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 11:00 pm Subject: Keypad Macros - CTRL and Shift |
Easy workaround for this, though I'm surprised zMud does not allow the SHIFT-numkey in the first place when creating the macro.
Turn off numlock, hit CTRL-K
Press the key you want to use as SHIFT- ... |
Topic: Spellup Revisited |
Qiz
Replies: 9
Views: 9316
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 10:54 pm Subject: Re: Spellup Revisited |
At a quick glance some things seem to be missing.
#ALIAS af {lvlspells.fly = 0;#send af;#wa 1500;spells}
Is this ment to send the ALIAS af every 1500 seconds? What #SEND does is to send the conte ... |
Topic: Keypad Macros - CTRL and Shift |
Qiz
Replies: 7
Views: 8628
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 11:22 am Subject: Keypad Macros - CTRL and Shift |
Something is obviously wrong somewhere, cause that macro should work. Either there's something wrong with the macro (though I don't see what) or there's something wrong somewhere else in the class scr ... |
Topic: Keypad Macros - CTRL and Shift |
Qiz
Replies: 7
Views: 8628
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 3:13 am Subject: Keypad Macros - CTRL and Shift |
Are you certain the SHIFT-KEY7 does not exist in more than one place? If it does, one will be hiding the other(s). |
Topic: Prompt Trigger Question |
Qiz
Replies: 6
Views: 6844
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 3:05 am Subject: Prompt Trigger Question |
oh i'm sorry, i misunderstood
#TRIGGER {^<%d/%dhp (%d)/(%d)b %d/%dmv~>} {#if (%1 =< (%2/2)) {feed}}
I THINK that it should be okay.
If he does not have the waitstate token in the fprom ... |
Topic: Prompt Trigger Question |
Qiz
Replies: 6
Views: 6844
|
Forum: zMUD General Discussion Posted: Sat Aug 26, 2006 2:48 am Subject: Prompt Trigger Question |
I just wanted to the trigger to monitor the prompt and if BP dropped below a certain point it will keep feeding until it gets back to full, then stop (smarter people could probably make it more inte ... |
Topic: Random Trigger |
Qiz
Replies: 2
Views: 5253
|
Forum: zMUD General Discussion Posted: Tue Aug 22, 2006 8:05 pm Subject: Re: Random Trigger |
Some things seem a bit strange here.
#VAR chickentimer {%random( 1200, 2400)}
#ALARM { -@chickentimer} {chicken}
While the principles behind this is ok, one thing may be causing the trouble here. ... |
Topic: looping and functions (kinda long) |
Qiz
Replies: 4
Views: 4443
|
Forum: zMUD General Discussion Posted: Tue Aug 22, 2006 2:50 pm Subject: looping and functions (kinda long) |
You could do something like
#INPUT {specialattack %d} {#T- autorescue; #ALARM +6 {#T+ autorescue}}
This will disable autorescue if you do that 6 second special attack, and turn it back on once you c ... |
Topic: Array or String List? |
Qiz
Replies: 8
Views: 14093
|
Forum: zMUD General Discussion Posted: Tue Aug 22, 2006 2:40 pm Subject: Array or String List? |
It looks right to me. 3 things might screw things up though:
1. @healthpot contains no data
2. @hpindex contains no data
3. @hpindex is out of bounds
Just before the "sip %ITEM(@healthpot,@hpind ... |
Topic: My question about variable |
Qiz
Replies: 16
Views: 15809
|
Forum: zMUD General Discussion Posted: Mon Aug 21, 2006 11:34 pm Subject: My question about variable |
May anyone share some information with me about how to reach a npc and get the information about this npc in your mud.
Does everyone use map to calculate the path to go?
Does everyone use database?
... |
Topic: My question about variable |
Qiz
Replies: 16
Views: 15809
|
Forum: zMUD General Discussion Posted: Mon Aug 21, 2006 11:27 pm Subject: My question about variable |
He wrote a program intending it to be saved in an alias not in a variable.
If i hadn't saved it in a file but a alias, I will have to write 2 aliases NPCGOTO and NPCBACK for each npc. In my mud, th ... |
Topic: Acahea harvesting Counter- for status window |
Qiz
Replies: 3
Views: 4533
|
Forum: zMUD General Discussion Posted: Mon Aug 21, 2006 7:37 am Subject: Re: Acahea harvesting Counter- for status window |
You store 40 kola nut, bringing the total to 1671.
only taking the first number and keeping a steady math add and perhaps looking somewhat like this on my status window
Kola: #
there are li ... |
Topic: My question about variable |
Qiz
Replies: 16
Views: 15809
|
Forum: zMUD General Discussion Posted: Sun Aug 20, 2006 12:52 pm Subject: Re: My question about variable |
Why store it in a variable, because it is fetched from a file Mob.txt by the function %grep().
Perhaps ditch grep and parse each path
With Mob.txt containing the program below parses the first p ... |
Topic: variable evaluation problems |
Qiz
Replies: 4
Views: 4908
|
Forum: zMUD General Discussion Posted: Sun Aug 20, 2006 11:30 am Subject: Re: variable evaluation problems |
Try remove the space before ')':
#WHILE (@./multiAdept/numSpell <> 0 )
--->
#WHILE (@./multiAdept/numSpell <> 0)
Thanks for the input. The problem was indeed the ' ' before the ') ... |
Topic: My question about variable |
Qiz
Replies: 16
Views: 15809
|
Forum: zMUD General Discussion Posted: Sun Aug 20, 2006 3:03 am Subject: Re: My question about variable |
Is there a possible way to execute commands stored in variable. I have a variable like #va tmp {e;s;n;e;s;e;w;s;n;e}.I want to execute tmp like alias.
Thx!
But why store it in a variable and not ... |
Topic: Scripting help |
Qiz
Replies: 1
Views: 3870
|
Forum: zMUD General Discussion Posted: Sat Aug 19, 2006 10:02 pm Subject: Scripting help |
Get the player name somehow. How you aciheve that depends on what situation it happens in. Let's assume it's in @target and that you have all those players in @targetNotAllowed
#IF (%ismember(@targ ... |
Topic: variable evaluation problems |
Qiz
Replies: 4
Views: 4908
|
Forum: zMUD General Discussion Posted: Sat Aug 19, 2006 8:44 pm Subject: variable evaluation problems |
I have two problems with variable evaluation.
First problem:
---------------------------------------------------------------------------
./multiAdept/numSpell = %numitems( @./multiAdept/adeptList ... |
Topic: Help with Windows |
Qiz
Replies: 4
Views: 6659
|
Forum: zMUD General Discussion Posted: Thu Aug 17, 2006 12:26 pm Subject: Help with Windows |
ok, i seem to have gotten the chat window to work right..now this is awhole new problem. How do I get the status window to show my status? to show my Health, Mana, Will power? and over all status of m ... |
Topic: Old style zMud interface with newer zMud possible? |
Qiz
Replies: 0
Views: 2505
|
Forum: zMUD General Discussion Posted: Tue Aug 15, 2006 7:02 pm Subject: Old style zMud interface with newer zMud possible? |
I'm looking for Old style zmud behaviour, as per the mid 90s free 16-bits version (and I think this existed at least up til version 4). Perhaps some of these things are achieveable by settings, though ... |
Topic: Help with Windows |
Qiz
Replies: 4
Views: 6659
|
Forum: zMUD General Discussion Posted: Tue Aug 15, 2006 8:50 am Subject: Help with Windows |
Doing what you ask for is rather straightforward, but possibly not what you actually want in the end.
#TR {(%w) tells you'(*)'} {#CAPTURE Communication"; #GAG}
#TR {(%w) chats '(*)'} {#CAPTURE Commu ... |
|