Help - Search - Members - Calendar
Full Version: Zmud To Cmud
Achaea's Forums > Off-Topic > Tech Support
Demfrax
SO I just bought a new computer today (yay lottery winnings) and decided to go ahead and switch to cMud (considering its a lot faster and easier to run on windows vista). During the import of all of my files I got this

QUOTE
Alias rift
Command not supported : #pri

Alias crits
%1 within quotes is not expanded [Help] : #if ("%1" == "off") {#T- crittrigs;#say " ";#say " ";#say %ansi( 7)CritCounter disabled.;#send " "} {#if ("%1" == "on") {#T+ crittrigs;#say " ";#say " ";#say %ansi( 7)CritCounter enabled.;#send " "} {#if ("%1" == "show") {critshow} {#if ("%-1" == "reset") {critreset;#say " ";#say " ";#say %ansi( 7)CritCounter reset.;#send " "} {#if ("%-1" == "session") {critsession;#say " ";#say " ";#say %ansi( 7)CritCounter session reset.;#send " "} {crithelp}}}}}

Alias critshow
Command not supported : #pri

Alias critsession
Command not supported : #pri

Alias critreset
Command not supported : #pri

Alias elixsum
%1 within quotes is not expanded [Help] : #pri {#if ("%1"="ignore") {#if (%2=%null) {#say "";#say %ansi(7)"Elixsum venom ignore commands:";#say %ansi(7)" ELIXSUM IGNORE LIST";#say %ansi(7)" ELIXSUM IGNORE ADD <venom>";#say %ansi(7)" ELIXSUM IGNORE REMOVE <venom>";#send ""};#if ("%2"="list") {#say "";#sayp %ansi(7)"Venoms ignored: ";#if (@elixsumignore) {#say %ansi(7)%expandlist(@elixsumignore,", ")} {#say %ansi(7)"none"};#send ""};#if ("%2"="add") {#say "";#if (!%ismember(%3,@elixsumignore)) {#additem elixsumignore %lower(%3);#say %ansi(7)%proper(%3)" added to venom ignore list."} {#say %ansi(7)%proper(%3)" is already on the venom ignore list."};#send ""};#if ("%2"="remove") {#say "";#if (%ismember(%3,@elixsumignore)) {#delitem elixsumignore %lower(%3);#say %ansi(7)%proper(%3)" removed from venom ignore list."} {#say %ansi(7)%proper(%3)" not on venom ignore list."};#send ""}};#if ("%1"="v") {elixsummode=venom;#loop 7 {#t+ elixcap%i};#send "elixlist2"};#if (%1=%null) {elixsummode=standard;#loop 7 {#t+ elixcap%i};#send "elixlist2"}}
Command not supported : #pri

Alias elixsumblank
Command not supported : #pri

Alias elixsumfinish
Command not supported : #pri

Alias elixsumdisplay
Command not supported : #pri

Alias elixsumdisplayv
Command not supported : #pri

Alias slain
%1 within quotes is not expanded [Help] : #if ("%1" == "show") {#var killdisplay 0;slainshow} {#if ("%1" == "search") {#var killdisplay 0;#var killmatch 0;slainsearch %-2} {#if ("%-1" == "reset") {slainreset} {slainhelp}}}

Alias slainsearch
[] immediate evaluation syntax no longer used [Help] : [%ansi( 7)%repeat( " ", 4-%len( %val))%val%ansi( 9)~]
Command not supported : #pri

Alias slainshow
[] immediate evaluation syntax no longer used [Help] : [%ansi( 7)%repeat( " ", 4-%len( %val))%val%ansi( 9)~]
Command not supported : #pri

Trigger riftcapture
Command not supported : #pri

Trigger ^Glancing into the Rift\, you see\:$
Command not supported : #pri

Trigger ^You (?:remove|store) \d+ (.*), bringing the total(?: in the Rif
Command not supported : #pri

Trigger ^(?:OUT|IN)R \d+ (.*) \((\d+) left\)$
Command not supported : #pri

Trigger elixcap1
Command not supported : #pri
Command not supported : (state 1) #pri
Command not supported : (state 2) #pri

Trigger elixcap2
Command not supported : #pri

Trigger elixcap3
Command not supported : #pri

Trigger elixcap4
Command not supported : #pri

Trigger elixcap5
Command not supported : #pri

Trigger elixcap6
Command not supported : #pri

Trigger elixcap7
Command not supported : #pri

Trigger ^You have slain (.+?)\, retrieving the corpse\.$
%1 within quotes is not expanded [Help] : #addkey killcounter {%1} %eval( %db( @killcounter, "%1")+1)

Trigger ^Looking over (\w+), you see the following tattoos\:$
%1 within quotes is not expanded [Help] : #t+ tattoomatch;tattooblank;#if ("%1"="yourself") {#gag}

Trigger HouseEnemiesParse
%1 within quotes is not expanded [Help] : (state 1) #var houseEnemies {%subregex( "%1", ", ", "|")};#gag

Trigger CityEnemiesParse
%1 within quotes is not expanded [Help] : (state 1) #var cityEnemies {%subregex( "%1", ", ", "|")};#gag

Trigger Lightning-quick, you jab @target's right leg with (*).
Does not compile : extra ) parenthesis at row 0 col 237

Trigger Lightning-quick, you jab @target's left leg with (*).
Does not compile : extra ) parenthesis at row 0 col 229

Trigger Lightning-quick, you jab @target's right arm with (*).
Does not compile : extra ) parenthesis at row 0 col 237

Trigger Lightning-quick, you jab @target's left arm with (*).
Does not compile : extra ) parenthesis at row 0 col 229

Trigger You slash into @target's right leg with (*).
Does not compile : extra ) parenthesis at row 0 col 237

Trigger You slash into @target's left leg with (*).
Does not compile : extra ) parenthesis at row 0 col 229

Trigger You slash into @target's right arm with (*).
Does not compile : extra ) parenthesis at row 0 col 237

Trigger You slash into @target's left arm with (*).
Does not compile : extra ) parenthesis at row 0 col 229

Trigger You swing (*) at @target's right leg with all your might.
Does not compile : extra ) parenthesis at row 0 col 237

Trigger You swing (*) at @target's left leg with all your might.
Does not compile : extra ) parenthesis at row 0 col 229

Trigger You swing (*) at @target's right arm with all your might.
Does not compile : extra ) parenthesis at row 0 col 237

Trigger You swing (*) at @target's left arm with all your might.
Does not compile : extra ) parenthesis at row 0 col 230

Trigger You viciously jab (*) into @target's right leg.
Does not compile : extra ) parenthesis at row 0 col 237

Trigger You viciously jab (*) into @target's left leg.
Does not compile : extra ) parenthesis at row 0 col 229

Trigger You viciously jab (*) into @target's right arm.
Does not compile : extra ) parenthesis at row 0 col 237

Trigger You viciously jab (*) into @target's left arm.
Does not compile : extra ) parenthesis at row 0 col 229


and was wondering if someone could attempt to help me at fixing these things. I will try myself to go in an fix what I can, but most of it is Treviz's scripts I think
Sena
#PRI is unnecessary because CMUD uses it automatically for everything, if I remember right. "%1 within quotes is not expanded" sounds like it means "%1" will be interpreted literally, and won't be expanded. So the quotes should be removed there. I'm not sure about the parentheses.
Trevize
Sena is correct on both accounts. In triggers and aliases, #pri is assumed, as is quotes around %1-9. "%1" is taken literally, in CMUD, instead of being expanded.

As for the rest, it looks like zScript may have changed. I can't help with that, but I will say try converting those triggers to regex. It would look like, taking a random one as an example:

CODE
^You viciously jab (.*) into @target's right leg\.$


If it's the script, instead of the pattern matching, I can't help at all. Those aren't mine, I've no idea what the script looks like. sad.gif
Demfrax
QUOTE (Trevize @ Oct 8 2009, 02:07 AM) *
Sena is correct on both accounts. In triggers and aliases, #pri is assumed, as is quotes around %1-9. "%1" is taken literally, in CMUD, instead of being expanded.

As for the rest, it looks like zScript may have changed. I can't help with that, but I will say try converting those triggers to regex. It would look like, taking a random one as an example:

CODE
^You viciously jab (.*) into @target's right leg\.$


If it's the script, instead of the pattern matching, I can't help at all. Those aren't mine, I've no idea what the script looks like. sad.gif


So I just go in and remove all of the #pri and take the %1 out of quotes?

So for the second part thats my script and it looks like this
Trevize
QUOTE (Demfrax @ Oct 8 2009, 07:31 PM) *
So I just go in and remove all of the #pri and take the %1 out of quotes?

Correct.

QUOTE (Demfrax @ Oct 8 2009, 07:31 PM) *
So for the second part thats my script and it looks like this

Link doesn't work.
Demfrax
Sorry here is the link


http://forums.achaea.com/index.php?showtopic=39163
Trevize
QUOTE (Demfrax @ Oct 9 2009, 01:27 AM) *

Found it. It's your #say commands.

#say %ansi( yellow, bold) (HIT): Limb is at @rightleghits. Keep Going

It can't handle parentheses there. I'd imagine you should enclose it in quotes, or escape the parentheses.
Demfrax
alright went through everything and did all the stuff above but I am still getting

QUOTE
Trigger elixcap1
Command not supported : (state 1) #pri
Command not supported : (state 2) #pri


Not sure what that is but here is the code................nvm found the extra #pri's




but on my new computer., the only script I have problems with (and I mean that by I run the script and it freezes/shutsdown both cMud and zMud, and also makes vadi restart)

QUOTE
Alias - sca_get
get commodity from satchel278349
get commodity from satchel295242
get commodity from satchel335881
get commodity from satchel338924
get commodity from satchel339696
get commodity from satchel278349
get commodity from satchel295242
get commodity from satchel335881
get commodity from satchel338924
get commodity from satchel339696
get commodity from satchel278349
get commodity from satchel295242
get commodity from satchel335881
get commodity from satchel338924
get commodity from satchel339696
get commodity from satchel278349
get commodity from satchel295242
get commodity from satchel335881
get commodity from satchel338924
get commodity from satchel339696
inrc
Trevize
QUOTE (Demfrax @ Oct 9 2009, 04:59 AM) *
also makes vadi restart

It's not just a zMUD/CMUD problem then. Very odd. Try running it in MUSHclient, see what happens? Does it shut just Vadi down, or Vadi and MUSHclient?
Demfrax
QUOTE (Trevize @ Oct 9 2009, 02:15 AM) *
QUOTE (Demfrax @ Oct 9 2009, 04:59 AM) *
also makes vadi restart

It's not just a zMUD/CMUD problem then. Very odd. Try running it in MUSHclient, see what happens? Does it shut just Vadi down, or Vadi and MUSHclient?



Well first it freezes zMud/cMud and then when I look at Vadi's window it says client shutdown restarting system, or something to that nature. So its the client
Trevize
QUOTE (Demfrax @ Oct 9 2009, 12:39 PM) *
Well first it freezes zMud/cMud and then when I look at Vadi's window it says client shutdown restarting system, or something to that nature. So its the client

Maybe I'm misunderstanding... does zMUD actually freeze (can't do -anything- in it), or just the output from/connection to Achaea?

And Vadi's... Vadi's never restarted when the client was changed at all, for me. I haven't used it in a while but when I did, it would just wait for the client to re-connect and send all output it recieved since the client was disconnected.
Demfrax
QUOTE
or just the output from/connection to Achaea


this
Trevize
QUOTE (Demfrax @ Oct 9 2009, 10:32 PM) *
QUOTE
or just the output from/connection to Achaea


this

Oh. unsure.gif Yeah, sounds like a problem with Vadi's almost, especially since it does it on one of his aliases.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.