Author |
Message |
Topic: character database |
Ralph1971
Replies: 1
Views: 6120
|
Forum: zMUD General Discussion Posted: Sun Jan 05, 2014 1:22 pm Subject: bigger issues |
well, reinstalled zmud.. crashed
uninstalled it all, deleted all the files in that directory, reinstalled.. worked 1 time, then crashed
I click the zmud.exe, doesn't make the initial splash screen b ... |
Topic: character database |
Ralph1971
Replies: 1
Views: 6120
|
Forum: zMUD General Discussion Posted: Sat Jan 04, 2014 11:36 pm Subject: character database |
so it looks like I'm going to have to re-install zmud. what file stores the character information (name/pass/etc) for auto login? |
Topic: Multi-Line Capture |
Ralph1971
Replies: 7
Views: 12039
|
Forum: zMUD General Discussion Posted: Sun Oct 16, 2011 3:34 am Subject: Multi-Line Capture |
I guess this could relate to an issue I'm having.. I have a script that accesses Alexians database for Realms of Despair.. the first part works fine, but when I try to use the second one, it cuts off ... |
Topic: Another question ! |
Ralph1971
Replies: 4
Views: 6651
|
Forum: CMUD General Discussion Posted: Wed Jun 15, 2011 3:59 pm Subject: Another question ! |
Could you give a sample scripting of the #event and #raise like you suggested used in this scenario?
given the following:
initial alias to start combat on a non-aggro mob:
k {kill %1} (not sure ... |
Topic: large numbers |
Ralph1971
Replies: 1
Views: 3265
|
Forum: CMUD General Discussion Posted: Thu May 19, 2011 6:26 pm Subject: large numbers |
Is there a limitation in zmud/cmud regarding large numbers and variables/math functions?
I have a running tally that, depending on the situation, can exceed 2b.. in the testing, it seems that just af ... |
Topic: variable comparison |
Ralph1971
Replies: 5
Views: 7819
|
Forum: CMUD General Discussion Posted: Tue May 17, 2011 10:01 pm Subject: variable comparison |
Ok, haven't tried that witch cmud yet, but zmud really didn't like the OR's... I'll shoot for cmud and see what happens |
Topic: variable comparison |
Ralph1971
Replies: 5
Views: 7819
|
Forum: CMUD General Discussion Posted: Tue May 17, 2011 4:05 pm Subject: variable comparison |
I'm looking to try to compare variables in 2 ways..
variables.. line1, line2, line3
first comparison..
line1=line2 and line1=line3.. (all three same thing) one thing happens
line1=line2 OR line1=l ... |
Topic: math and decimals |
Ralph1971
Replies: 1
Views: 3724
|
Forum: CMUD General Discussion Posted: Sat Apr 23, 2011 11:43 am Subject: math and decimals |
Trying to find averages, and multiply them correctly..
currently, (read in as variables):
curhp=90
curlevel=11
#math curavg(@curhp/@curlevel) returns 8
#math projectedhp(@curavg*50) returns 400 ... |
Topic: Script Project |
Ralph1971
Replies: 3
Views: 7978
|
Forum: CMUD General Discussion Posted: Sat Apr 23, 2011 9:53 am Subject: Script Project |
Ok.. grab this one.. (or two)
first project..
multi play up to 8 chars, capture and display following information and display in a status window... (but only display information for chars logged)
... |
Topic: ismember |
Ralph1971
Replies: 7
Views: 10572
|
Forum: CMUD General Discussion Posted: Tue Apr 19, 2011 4:11 pm Subject: ismember |
Ok.. changed to:
digdir=%1
#alias dig (#if (%ismember(@digdir,@digdirection)) {~dig @digdir} {~dig}
and now, I get a
Syntax error in Alias: dig : il ... |
Topic: ismember |
Ralph1971
Replies: 7
Views: 10572
|
Forum: CMUD General Discussion Posted: Tue Apr 19, 2011 3:51 pm Subject: ismember |
awesome.. thanks..
new issue with the script..
#class {dig}
#var digdirection {N|E|S|W|NE|SE|NW|SW|D|U}
#alias dig($digdir) {#if (%ismember($digdir,@di ... |
Topic: ismember |
Ralph1971
Replies: 7
Views: 10572
|
Forum: CMUD General Discussion Posted: Tue Apr 19, 2011 3:01 pm Subject: ismember |
hmm.. have to try that..
along those lines, how can I rip apart a script and make parts of it stand alone packages? in the above script snip, a 'dig' package, another package with alias' and #paths ... |
Topic: ismember |
Ralph1971
Replies: 7
Views: 10572
|
Forum: CMUD General Discussion Posted: Tue Apr 19, 2011 1:19 pm Subject: ismember |
I have the following code, and works great in zmud, tried to cut/paste into cmud, and recieve an error "invalid function: ismember".. went to the help files for cmud, and it appears I'm using the corr ... |
Topic: extracting data from a variable |
Ralph1971
Replies: 1
Views: 3346
|
Forum: CMUD General Discussion Posted: Fri Feb 25, 2011 12:23 am Subject: extracting data from a variable |
I have a variable... pop1..
takes the %time, converts it to seconds, adds XXXX seconds to it, then reconverts it back to time.. the resulting variable looks like this..
0 days 19 hours 12 minutes 48 ... |
Topic: prompt |
Ralph1971
Replies: 6
Views: 9742
|
Forum: CMUD General Discussion Posted: Thu Feb 24, 2011 11:18 pm Subject: prompt |
Yeah, I have a trigger to capture the prompt, I'm not talking a prompt trigger:
<1617/1617hp 906/906m 640/640mv 6,838,064gp 1000 H A [949wt] New Darkhaven
#tri {~<(%d)/(%d)hp (%d)/(%d)m (%d) ... |
Topic: prompt |
Ralph1971
Replies: 6
Views: 9742
|
Forum: CMUD General Discussion Posted: Thu Feb 24, 2011 6:45 pm Subject: prompt |
using the prompt in the settings screen, or the #setprompt command, I want to capture the following prompt:
<1298/1298hp 392/293m 697/697mv 5,012,948gp 918 blah blah>
so far, this works..
cu ... |
Topic: Feature Request: Trigger Timeout Option |
Ralph1971
Replies: 13
Views: 15961
|
Forum: CMUD General Discussion Posted: Sun Feb 20, 2011 2:09 pm Subject: Feature Request: Trigger Timeout Option |
here are the three responses, from prompt to prompt.. (sometimes, the cast line will be next to the brackets, sometimes on the next line.. just luck of the draw depending on
Success full cast with ... |
Topic: Feature Request: Trigger Timeout Option |
Ralph1971
Replies: 13
Views: 15961
|
Forum: CMUD General Discussion Posted: Sun Feb 20, 2011 3:48 am Subject: Feature Request: Trigger Timeout Option |
so how would that be scripted?
like.. I want to cast a spell, and 1 of three things happen.. 1. successful message, 2. you failed, 3. no message. What I need to happen, is on successful message, ca ... |
Topic: getting multiples of a variable in a single line |
Ralph1971
Replies: 7
Views: 9044
|
Forum: CMUD General Discussion Posted: Fri Feb 18, 2011 9:05 pm Subject: getting multiples of a variable in a single line |
in this example, what is the difference between repeat and reparse? |
Topic: #case vs #if |
Ralph1971
Replies: 1
Views: 3994
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2011 4:25 pm Subject: #case vs #if |
Would it be better to do multiple nested #if's, or #case?
#if (@adept="yes") {#if (@dispel="yes") {cast dispel} {cast spell} {#if (@brew="yes") {brew spell} {#if (@scribe="yes") {scribe spell}} {cast ... |
Topic: zMUD Window Focus |
Ralph1971
Replies: 3
Views: 8598
|
Forum: zMUD General Discussion Posted: Fri Feb 18, 2011 2:35 pm Subject: zMUD Window Focus |
old topic, but you could go with something along the lines of..
(*) tells you (*)
#if (%1!=%curwin) {#beep} {}
(untested, but theory is there) |
Topic: text not recieved |
Ralph1971
Replies: 2
Views: 5204
|
Forum: zMUD General Discussion Posted: Mon Feb 07, 2011 5:52 am Subject: text not recieved |
I'm trying to get a script running (7.21 on the pc, cmud on the laptop)..
it's a spell adepting situation where the basically:
cast 'armor' (success line - Your armor begins to glow softly as it is ... |
Topic: Last direction? |
Ralph1971
Replies: 2
Views: 4001
|
Forum: CMUD General Discussion Posted: Thu Dec 31, 2009 1:01 am Subject: Last direction? |
it's easy enough to script in, for directions, and most muds have a last command repeat functions. Pretty much mud specific, so without more info on your mud. |
Topic: Eternal Darkness - Attacking With Tank |
Ralph1971
Replies: 14
Views: 16455
|
Forum: zMUD General Discussion Posted: Mon Dec 14, 2009 5:19 am Subject: Eternal Darkness - Attacking With Tank |
yes there is.. but this is not the forum to ask in. Ask in the general scripts forum. Or one of the moderators might move this over there.. either will work. |
Topic: trigger enable/disable |
Ralph1971
Replies: 2
Views: 5620
|
Forum: zMUD General Discussion Posted: Mon Aug 17, 2009 1:41 am Subject: trigger enable/disable |
that worked beautifully.. thanks! |
|