|
gerry_d98 Beginner
Joined: 05 Sep 2008 Posts: 20
|
Posted: Wed Sep 10, 2008 3:30 pm
trouble getting started with Cmud! |
Ok, several problems, no doubt related to my inability to properly write a settings file but here goes.
Four times now I have written from scratch a new settings file. nothing fancy, just triggers and aliases. I save the package and when I close then re-open cmud the settings are loaded and enabled but do not work.
I just deleted and reinstalled cmud to fix the problem where I had saved user created files in the program directory, and I am still having this particular issue. What it is doing now is in the package editor it is opening up three tabs - ALL, Duris and Duris. There should be only one instance of Duris I would think? If I right click the session and edit session, go to package files, Duris is listed only once. All my settings are now under the ALL tab and the first Duris tab, and enabled, but they do not work. I try and delete the blank Duris tab and I get the message where I cannot delete the tab for a currently open window. How do I just get this thing to work?!?
All I want when I am done setting this up is one package file, with some simple aliases and triggers and a TELL capture window. I'm getting pretty damn frustrated having HAD to upgrade to cmud since I had to upgrade to Vista. I have ZERO hope of ever getting a functioning health checker made for my cleric class so I have abandoned that class now. Im pretty frustrated. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Sep 10, 2008 3:52 pm |
It's sounds like you settings keep getting corrupted. A couple of questions. First off what version of CMUD are you running? The latest version is 2.36. Have you been doing a clean install (or an upgrade install) of CMUD. On the off possibility that you have lingering corrupted settings from an earlier session, export you settings to XML. When you reimport in a new session, everything should be created correctly. Also run the compatibility report to make sure that all of your settings are compiling correctly.
If this fails post the code for the settings you are trying to create, and we will try to help you. I can appreciate your frustration, but I can assure you can accomplish what you want to do in CMUD and we shall do our best to help you. |
|
_________________ Asati di tempari! |
|
|
|
gerry_d98 Beginner
Joined: 05 Sep 2008 Posts: 20
|
Posted: Wed Sep 10, 2008 4:10 pm |
I just upgraded to 2.36 two days ago.. I could not run it as an upgrade, for some reason the upgrade would download then never execute even if I manually tried to run it.. so I had to delete cmud entirely and download 2.36 and run it as a clean install, and the last two attempts at making settings were done within 2.36. Should I maybe delete all package files, delete Cmud, reboot and download/install cmud again and see if it manages to import my zmud settings? I had been hesitant to do that because the first time I tried that all my zmud settings corrupted in cmud anyways, which is understandable. Some of those settings were written 9 years ago and had trouble with later versions of zmud as it was. Il try the xml export/import aain, I tried that but it was on the previous release of cmud, it hadnt fixed my issues.
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Sep 10, 2008 5:04 pm |
Back up your old packages and then delete them. That way you can be sure you have no lingering settings corruption from previous versions. Be sure to read Changes for zMUD users to help with proper script conversion.
If this doesn't work for you, post your exported settings and we'll take a look at them. |
|
_________________ Asati di tempari! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Sep 10, 2008 5:09 pm |
The XML Export/Import was broken in versions prior to 2.36. So, the use File/Export All to export your settings to an xml file. Then exit CMUD and delete or rename your PKG file for your session. Then run CMUD and open your session and it should create a blank settings file. Now go back into the package editor and use File/Import to import your XML file.
Not sure how you'd get multiple tabs with the same name in the package editor, but if you find a procedure to reproduce that, let me know and I'll add it to the bug list. |
|
|
|
gerry_d98 Beginner
Joined: 05 Sep 2008 Posts: 20
|
Posted: Thu Sep 11, 2008 6:18 pm |
Ok I exported settings to xml. closed and reopened cmud. It generated a new tab in package editor named after the mud, and in the tab I imported the xml settings back in and worked flawlessly. then after saving and exiting cmud, I re-opened again and the settings were all there, but the active session window was named TELL, and it was basically an unresponsive window, no command line, not connecting to the game etc. I have settings in my triggers like #trigger {say} {#cap tell} so I can have the second window logging group-says and such. Maybe I have set this up in a bad way? In the directory tree structure within package editor i have an expandable folder (for lack of a better word) with all my aliases and triggers, and then under it a TELL folder with no settings in it, and I'm not sure how this is being created although it HAS to be because of the #cap tell triggers. I think if I solve this problem I will be ok for now (id really liek to be able to figure out how to make a good quality healing script like what I had for zmud, but ill jump off that bridge when I figure out the basics). A problem I encounter with the TELL folder in package editor is that I cannot delete it, I get the error that I cannot delete currently active session window. Why does it bypass the list of all the settings to the TELL setting which is empty? I wish I coudl explain it better because I know I'm doing a poor job, but there it is.
I just noticed that if i clock on the TELL folder I see it had selected "no network connection" so I canged that to "use main session network connection" but it still is basically an inactive window, and what gets me.. is when I minimize that session window named TELL there is not a session window named Duris liek there was jsut after I imported? I KNOW i'm doign something wrong but I just don't know what it is. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Sep 11, 2008 6:44 pm |
Just to help improve the terminology here, when you click on a setting in the setting editor, it will tell you exactly what "type" it is along the top of the right editor window. For example, if you click on your "TELL" setting, you'll see that it actually says: "Window: Tell". That means it is a *window* and NOT a "folder". When you click on an actual folder, it will say: "Class: whatever". A "class" is a "folder" in CMUD. It's important to get the terminology correct or else you will confuse people when you talk about this stuff.
If it isn't too big, you might want to open your XML file in Notepad and then copy and paste the contents into this forum post. Put it within [CODE] and [/CODE] tags here in the forum to preserve the spacing and stuff. Then we can try to import your settings ourself to try and see what the problem might be.
Also, if you have any way to capture a screenshot of your settings editor showing how the Tell window is within your other settings, that might also help.
But if the Tell window is inside of the same tree that has your aliases and triggers, then it's definitely a problem. You should have *two* window tabs...one named after the MUD like you did when you opened the blank session, and a second one named "Tell". The "Tell" window will not have any command line or network connection because it's just a child window created by "#capture", so that part is all normal. But you should still have another window object named for your MUD somewhere. |
|
|
|
gerry_d98 Beginner
Joined: 05 Sep 2008 Posts: 20
|
Posted: Thu Sep 11, 2008 7:16 pm |
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <cmud>
- <window name="Duris" left="458" top="89" width="869" height="632">
<uid>{68091FE5-5033-4D72-87A5-8422A44C5592}</uid>
<packages>English Keypad|English Directions|Clickable URLs|Duris</packages>
- <alias name="aa">
<value>gcc -+WeN+- %-1</value>
</alias>
- <alias name="chill">
<value>cast 'chill touch' %-1</value>
</alias>
- <alias name="shock">
<value>cast 'shocking grasp' %-1</value>
</alias>
- <alias name="wiz">
<value>cast 'wizard eye' %-1</value>
</alias>
- <alias name="invis">
<value>cast 'improved invis'</value>
</alias>
- <alias name="acid">
<value>cast 'acidimmolate' %-1</value>
</alias>
- <alias name="ray">
<value>cast 'ray of enfeeblement' %-1</value>
</alias>
- <alias name="blind">
<value>cast 'power word blind' %-1</value>
</alias>
- <alias name="heal">
<value>cast 'heal' %-1</value>
</alias>
- <alias name="rm">
<value>rest mem med</value>
</alias>
- <alias name="fire">
<value>cast 'fireball' %-1</value>
</alias>
- <alias name="tele">
<value>cast 'teleport'</value>
</alias>
- <alias name="dm">
<value>cast 'dispel magic' %-1</value>
</alias>
- <alias name="haste">
<value>cast 'haste' %-1</value>
</alias>
- <alias name="dim">
<value>cast 'dimension door' %-1</value>
</alias>
- <alias name="checkfire">
<value>en portal look north look east look south look west look up look down</value>
</alias>
- <alias name="sil">
<value>cast 'silence' %-1</value>
</alias>
- <alias name="du">
<value>cast 'destroy undead' %-1</value>
</alias>
- <alias name="vig">
<value>cast 'vigorize critic' %-1</value>
</alias>
- <alias name="mh">
<value>cast 'mass heal'</value>
</alias>
- <alias name="fh">
<value>cast 'full heal' %-1</value>
</alias>
- <alias name="sp">
<value>cast 'slow poison' %-1</value>
</alias>
- <alias name="gas">
<value>gsa</value>
</alias>
- <alias name="dc">
<value>drag corpse</value>
</alias>
- <alias name="imm">
<value>cast 'immolate' %-1</value>
</alias>
- <alias name="mm">
<value>cast 'magic missile' %-1</value>
</alias>
- <alias name="light">
<value>cast 'light' %-1</value>
</alias>
- <alias name="fly">
<value>cast 'fly' %-1</value>
</alias>
- <alias name="check">
<value>look north look east look south look west look up look north</value>
</alias>
- <alias name="met">
<value>cast 'meteor' %-1</value>
</alias>
- <alias name="hand">
<value>cast 'bigbys cr' %-1</value>
</alias>
- <alias name="di">
<value>cast 'detect invis' %-1</value>
</alias>
- <alias name="vit">
<value>say VITTING %-1 %-2 %-3 %-4 %-5 cast 'vit' %-1 cast 'vit' %-2 cast 'vit' %-3 cast 'vit' %-4</value>
</alias>
- <alias name="res">
<value>tell %-1 CONSENT ME NOW TO LIVE AGAIN, FAIL TO CONSENT AND DIE AGAIN ASSHOLE! gcc -+WeN+- RESSING %-1 cast 'res' %-1</value>
</alias>
- <alias name="fl">
<value>cast 'flame strike' %-1</value>
</alias>
- <alias name="shift">
<value>cast 'plane shift' %-1</value>
</alias>
- <alias name="stun">
<value>cast 'power word stun' %-1</value>
</alias>
- <trigger priority="390">
<pattern>You feel strangely like you are being watched</pattern>
<value>#echo WIZARD EYE!! #echo WIZARD EYE!! #echo WIZARD EYE!! #echo WIZARD EYE!!</value>
</trigger>
- <trigger priority="400">
<pattern>crumbles to dust and blows away.</pattern>
<value>#echo ******************** WALL DOWN!!! #echo ******************** WALL DOWN!!! #echo ******************** WALL DOWN!!! #echo ******************** WALL DOWN!!!</value>
</trigger>
- <trigger priority="410">
<pattern>Feeling begins to return</pattern>
<value>alert stand</value>
</trigger>
- <trigger priority="420">
<pattern>You leap at a</pattern>
<value>stand</value>
</trigger>
- <trigger priority="430">
<pattern>Your prayers are complete</pattern>
<value>stand</value>
</trigger>
- <trigger priority="440">
<pattern>%-1 is in another group</pattern>
<value>tell %-1 your in another group jackass!</value>
</trigger>
- <trigger priority="450">
<pattern>is in another group</pattern>
<value>tell %-1 your in another group jackass!</value>
</trigger>
- <trigger priority="460">
<pattern>sending your weapon flying</pattern>
<value>get all</value>
</trigger>
- <trigger priority="470">
<pattern>sending you slightly off balance</pattern>
<value>stand</value>
</trigger>
- <trigger priority="480">
<pattern>The %-1 seems to be closed</pattern>
<value>open %-1</value>
</trigger>
- <trigger priority="490">
<pattern>looks a bit dumb, and madly slams _YOU_!</pattern>
<value>stand</value>
</trigger>
- <trigger priority="500">
<pattern>You stop regenerating</pattern>
<value>stand</value>
</trigger>
- <trigger priority="510">
<pattern>you crash</pattern>
<value>stand</value>
</trigger>
- <trigger priority="520">
<pattern>are knocked</pattern>
<value>stand</value>
</trigger>
- <trigger priority="530">
<pattern>You feel your skin soften and return to normal</pattern>
<value>stand</value>
</trigger>
- <trigger priority="540">
<pattern>Unseen things vanish from your sight.</pattern>
<value>#ECHO ^^^^^^^^^^^^^^^^^^^^^^^ di out!!</value>
</trigger>
- <trigger priority="550">
<pattern>sends you sprawling</pattern>
<value>STAND</value>
</trigger>
- <trigger priority="560">
<pattern>knocks you to</pattern>
<value>stand</value>
</trigger>
- <trigger priority="570">
<pattern>avoids your bash</pattern>
<value>stand</value>
</trigger>
- <trigger priority="580">
<pattern>You feel less protected</pattern>
<value>#echo ^^^^^^^^^^ ARMOR OUT!!</value>
</trigger>
- <trigger priority="590">
<pattern>You feel less like a hawk and more like your normal self</pattern>
<value>#echo ^^^^^^^^^^^^^ HAWK OUT!!</value>
</trigger>
- <trigger priority="600">
<pattern>Your skin loses its barklike texture</pattern>
<value>#echo ^^^^^^^^ BARK OUT^^^^</value>
</trigger>
- <trigger priority="610">
<pattern>You feel less vitalized</pattern>
<value>#echo ^^^^ VIT OUT!!</value>
</trigger>
- <trigger priority="620">
<pattern>You snap out of your meditative trance, memorization complete</pattern>
<value>stand</value>
</trigger>
- <trigger priority="630">
<pattern>WHIRLWIND picks you up and tosses you against the wall!</pattern>
<value>stand</value>
</trigger>
- <trigger priority="640">
<pattern>Your studies are complete.</pattern>
<value>stand</value>
</trigger>
- <trigger priority="650">
<pattern>Your globe shimmers and fades into thin air.</pattern>
<value>#echo ^^^^^^^^^^^^ GLOBE OUT!!!</value>
</trigger>
- <trigger priority="660">
<pattern>You stagger and fall to your knees!</pattern>
<value>stand</value>
</trigger>
- <trigger priority="670">
<pattern>%-1 has just given you</pattern>
<value>group %-1</value>
</trigger>
- <trigger priority="680">
<pattern>You fall and injure yourself!</pattern>
<value>stand</value>
</trigger>
- <trigger priority="690">
<pattern>MOVING!!!!</pattern>
<value>stand</value>
</trigger>
- <trigger priority="700">
<pattern>fall on yer ass!</pattern>
<value>stand</value>
</trigger>
- <trigger priority="710">
<pattern>tossing you to the ground</pattern>
<value>stand</value>
</trigger>
- <trigger priority="720">
<pattern>lose your balance</pattern>
<value>stand</value>
</trigger>
- <trigger priority="730">
<pattern>tripping you</pattern>
<value>stand</value>
</trigger>
- <trigger priority="740">
<pattern>speeds up around you</pattern>
<value>#echo ^^HASTE OUT!!</value>
</trigger>
- <trigger priority="750">
<pattern>tackles you</pattern>
<value>stand</value>
</trigger>
- <alias name="big">
<value>cast 'bigbys cl' %-1</value>
</alias>
- <alias name="mc">
<value>cast 'minor creation' %-1</value>
</alias>
- <alias name="burn">
<value>cast 'burning hands' %-1</value>
</alias>
- <alias name="str">
<value>cast 'strength' %-1</value>
</alias>
- <alias name="dex">
<value>cast 'dexterity' %-1</value>
</alias>
- <alias name="farsee">
<value>cast 'farsee' %-1</value>
</alias>
- <alias name="lev">
<value>cast 'levitate' %-1</value>
</alias>
- <alias name="lig">
<value>cast 'lightning' %-1</value>
</alias>
- <alias name="coldshield">
<value>cast 'coldshield'</value>
</alias>
- <alias name="cone">
<value>cast 'cone of cold' %-1</value>
</alias>
- <alias name="slow">
<value>cast 'slowness' %-1</value>
</alias>
- <alias name="blink">
<value>cast 'blink'</value>
</alias>
- <alias name="stone">
<value>cast 'shadow shield'</value>
</alias>
- <alias name="inc">
<value>cast 'incendiary cloud' %-1</value>
</alias>
- <alias name="relo">
<value>cast 'relocate' %-1</value>
</alias>
- <alias name="chain">
<value>cast 'chain lightning' %-1</value>
</alias>
- <alias name="sol">
<value>cast 'solbeeps missile barrage' %-1</value>
</alias>
- <alias name="enl">
<value>cast 'enlarge' %-1</value>
</alias>
- <alias name="red">
<value>cast 'reduce' %-1</value>
</alias>
- <trigger priority="950">
<pattern>The (%w) seems to be closed</pattern>
<value>open %1</value>
</trigger>
- <trigger priority="960">
<pattern>The (%w) is closed</pattern>
<value>open %1</value>
</trigger>
- <trigger priority="970">
<pattern>The (%w) is locked</pattern>
<value>unlock %1</value>
</trigger>
- <trigger priority="980">
<pattern>shadows around your body dissipate.</pattern>
<value>#echo ^^^^^ STONE OUT!!!</value>
</trigger>
- <trigger priority="1000">
<pattern>tell</pattern>
<value>#cap tell</value>
</trigger>
- <trigger priority="1010">
<pattern>say</pattern>
<value>#cap tell</value>
</trigger>
- <trigger priority="1020">
<pattern>Xanan tells you 'Ressing you now, consent if you haven't.'</pattern>
<value>consent xanan</value>
</trigger>
</window>
- <window name="tell" commandline="false" statusbar="false" dockalign="Top" left="852" top="27" width="461" height="200" host="none">
<uid>{360EC104-B6BE-4EBD-89A0-172EA6AAC378}</uid>
<dockuid>{68091FE5-5033-4D72-87A5-8422A44C5592}</dockuid>
</window>
</cmud>
|
I found another checkbox I didnt have set right (in the DURIS window tab I did not have it set to have window visable), and now its working better as long as I dont import a health check script from a guildmember that he had posted to the library (that seems to duplicate the MUD name tab with no settings that over rides the settings in my main MUD window tab. That has to be because of a setting he has in that script to refrence the MUD window tab and I can sort through that later, though I intend to work out something more in line with my inability to touch type on the fly). Once i get all the basics down I am goign to ask forum members for help writting a heath checker, but I had better get my groundwork laid properly first. I appriciate the help, I am slowly getting this thing figured out. There are a few triggers that don't work properly as of yet, but I will deal with those in seperate posts when it is time. I took screen shots but I am too stupid to figure out how to post the shots to a reply :(
I opened cmud tested settings and closed/reopened without any new issues
Another question, is there a way to set the buttons along the top to roll up until you move your cursor along the top of the screen like zmud had?
I know once I get this stuff figured out I will be happy, I see a TON of potential, I just lack the knowledge to realise that potential at the moment :) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Sep 11, 2008 10:40 pm |
I'm not sure where you copied/pasted from, but you should load the XML file into NotePad and then copy/paste from there. I can't use it with all of the leading "-" characters. Looks like you pasted it from a web browser or other XML viewer program.
Quote: |
I found another checkbox I didnt have set right (in the DURIS window tab I did not have it set to have window visable) |
That would definitely do it. The DURIS window is your main session window, so it needs to be visible for anything to work. So I think that was your problem.
Quote: |
as long as I dont import a health check script from a guildmember that he had posted to the library |
It's possible that your guildmember didn't update his package correctly, or correctly split his stand-alone package from his main settings. If you tell us the name of the package you are trying to install, we can try it from here.
Quote: |
Another question, is there a way to set the buttons along the top to roll up until you move your cursor along the top of the screen like zmud had? |
No, sorry. That was a non-standard Windows behavior the interfered with various 3rd party Windows enhancements such as WindowBlinds. CMUD is a more standard Windows app than zMUD was (also helps CMUD work better with various Windows emulators on linux, etc). You can right-click on the toolbar buttons in CMUD and set them to just display the icon without the text to make the toolbar smaller. |
|
|
|
gerry_d98 Beginner
Joined: 05 Sep 2008 Posts: 20
|
Posted: Fri Sep 12, 2008 2:15 am |
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<window name="Duris" visible="false" left="5" top="3" width="450" height="200">
<uid>{68091FE5-5033-4D72-87A5-8422A44C5592}</uid>
<packages>English Keypad|Duris|English Directions|Clickable URLs|Duris</packages>
<alias name="aa">
<value>gcc -+WeN+- %-1</value>
</alias>
<alias name="chill">
<value>cast 'chill touch' %-1</value>
</alias>
<alias name="shock">
<value>cast 'shocking grasp' %-1</value>
</alias>
<alias name="wiz">
<value>cast 'wizard eye' %-1</value>
</alias>
<alias name="invis">
<value>cast 'improved invis'</value>
</alias>
<alias name="acid">
<value>cast 'acidimmolate' %-1</value>
</alias>
<alias name="ray">
<value>cast 'ray of enfeeblement' %-1</value>
</alias>
<alias name="blind">
<value>cast 'power word blind' %-1</value>
</alias>
<alias name="heal">
<value>cast 'heal' %-1</value>
</alias>
<alias name="rm">
<value>rest
mem
med
</value>
</alias>
<alias name="fire">
<value>cast 'fireball' %-1</value>
</alias>
<alias>
<value>
</value>
</alias>
<alias name="tele">
<value>cast 'teleport'</value>
</alias>
<alias name="dm">
<value>cast 'dispel magic' %-1</value>
</alias>
<alias name="haste">
<value>cast 'haste' %-1</value>
</alias>
<alias name="dim">
<value>cast 'dimension door' %-1</value>
</alias>
<alias name="checkfire">
<value>en portal
look north
look east
look south
look west
look up
look down
</value>
</alias>
<alias name="sil">
<value>cast 'silence' %-1</value>
</alias>
<alias name="du">
<value>cast 'destroy undead' %-1</value>
</alias>
<alias name="vig">
<value>cast 'vigorize critic' %-1</value>
</alias>
<alias name="mh">
<value>cast 'mass heal'</value>
</alias>
<alias name="fh">
<value>cast 'full heal' %-1</value>
</alias>
<alias name="sp">
<value>cast 'slow poison' %-1</value>
</alias>
<alias name="gas">
<value>gsa</value>
</alias>
<alias name="dc">
<value>drag corpse</value>
</alias>
<alias name="imm">
<value>cast 'immolate' %-1</value>
</alias>
<alias name="mm">
<value>cast 'magic missile' %-1</value>
</alias>
<alias name="light">
<value>cast 'light' %-1</value>
</alias>
<alias name="fly">
<value>cast 'fly' %-1</value>
</alias>
<alias name="check">
<value>look north
look east
look south
look west
look up
look north
</value>
</alias>
<alias name="met">
<value>cast 'meteor' %-1</value>
</alias>
<alias name="hand">
<value>cast 'bigbys cr' %-1</value>
</alias>
<alias name="di">
<value>cast 'detect invis' %-1</value>
</alias>
<alias name="vit">
<value>say VITTING %-1 %-2 %-3 %-4 %-5
cast 'vit' %-1
cast 'vit' %-2
cast 'vit' %-3
cast 'vit' %-4
</value>
</alias>
<alias name="res">
<value>tell %-1 CONSENT ME NOW TO LIVE AGAIN, FAIL TO CONSENT AND DIE AGAIN ASSHOLE!
gcc -+WeN+- RESSING %-1
cast 'res' %-1</value>
</alias>
<alias name="fl">
<value>cast 'flame strike' %-1</value>
</alias>
<alias name="shift">
<value>cast 'plane shift' %-1</value>
</alias>
<alias name="stun">
<value>cast 'power word stun' %-1</value>
</alias>
<trigger priority="390">
<pattern>You feel strangely like you are being watched</pattern>
<value>#echo WIZARD EYE!!
#echo WIZARD EYE!!
#echo WIZARD EYE!!
#echo WIZARD EYE!!
</value>
</trigger>
<trigger priority="400">
<pattern>crumbles to dust and blows away.</pattern>
<value>#echo ******************** WALL DOWN!!!
#echo ******************** WALL DOWN!!!
#echo ******************** WALL DOWN!!!
#echo ******************** WALL DOWN!!!
</value>
</trigger>
<trigger priority="410">
<pattern>Feeling begins to return</pattern>
<value>alert
stand
</value>
</trigger>
<trigger priority="420">
<pattern>You leap at a</pattern>
<value>stand</value>
</trigger>
<trigger priority="430">
<pattern>Your prayers are complete</pattern>
<value>stand</value>
</trigger>
<trigger priority="440">
<pattern>%-1 is in another group</pattern>
<value>tell %-1 your in another group jackass!</value>
</trigger>
<trigger priority="450">
<pattern>is in another group</pattern>
<value>tell %-1 your in another group jackass!</value>
</trigger>
<trigger priority="460">
<pattern>sending your weapon flying</pattern>
<value>get all</value>
</trigger>
<trigger priority="470">
<pattern>sending you slightly off balance</pattern>
<value>stand</value>
</trigger>
<trigger priority="480">
<pattern>The %-1 seems to be closed</pattern>
<value>open %-1</value>
</trigger>
<trigger priority="490">
<pattern>looks a bit dumb, and madly slams _YOU_!</pattern>
<value>stand</value>
</trigger>
<trigger priority="500">
<pattern>You stop regenerating</pattern>
<value>stand</value>
</trigger>
<trigger priority="510">
<pattern>you crash</pattern>
<value>stand</value>
</trigger>
<trigger priority="520">
<pattern>are knocked</pattern>
<value>stand</value>
</trigger>
<trigger priority="530">
<pattern>You feel your skin soften and return to normal</pattern>
<value>stand</value>
</trigger>
<trigger priority="540">
<pattern>Unseen things vanish from your sight.</pattern>
<value>#ECHO ^^^^^^^^^^^^^^^^^^^^^^^ di out!!</value>
</trigger>
<trigger priority="550">
<pattern>sends you sprawling</pattern>
<value>STAND</value>
</trigger>
<trigger priority="560">
<pattern>knocks you to</pattern>
<value>stand</value>
</trigger>
<trigger priority="570">
<pattern>avoids your bash</pattern>
<value>stand</value>
</trigger>
<trigger priority="580">
<pattern>You feel less protected</pattern>
<value>#echo ^^^^^^^^^^ ARMOR OUT!!</value>
</trigger>
<trigger priority="590">
<pattern>You feel less like a hawk and more like your normal self</pattern>
<value>#echo ^^^^^^^^^^^^^ HAWK OUT!!</value>
</trigger>
<trigger priority="600">
<pattern>Your skin loses its barklike texture</pattern>
<value>#echo ^^^^^^^^ BARK OUT^^^^</value>
</trigger>
<trigger priority="610">
<pattern>You feel less vitalized</pattern>
<value>#echo ^^^^ VIT OUT!!</value>
</trigger>
<trigger priority="620">
<pattern>You snap out of your meditative trance, memorization complete</pattern>
<value>stand</value>
</trigger>
<trigger priority="630">
<pattern>WHIRLWIND picks you up and tosses you against the wall!</pattern>
<value>stand</value>
</trigger>
<trigger priority="640">
<pattern>Your studies are complete.</pattern>
<value>stand</value>
</trigger>
<trigger priority="650">
<pattern>Your globe shimmers and fades into thin air.</pattern>
<value>#echo ^^^^^^^^^^^^ GLOBE OUT!!!</value>
</trigger>
<trigger priority="660">
<pattern>You stagger and fall to your knees!</pattern>
<value>stand</value>
</trigger>
<trigger priority="670">
<pattern>%-1 has just given you</pattern>
<value>group %-1</value>
</trigger>
<trigger priority="680">
<pattern>You fall and injure yourself!</pattern>
<value>stand</value>
</trigger>
<trigger priority="690">
<pattern>MOVING!!!!</pattern>
<value>stand</value>
</trigger>
<trigger priority="700">
<pattern>fall on yer ass!</pattern>
<value>stand</value>
</trigger>
<trigger priority="710">
<pattern>tossing you to the ground</pattern>
<value>stand</value>
</trigger>
<trigger priority="720">
<pattern>lose your balance</pattern>
<value>stand</value>
</trigger>
<trigger priority="730">
<pattern>tripping you</pattern>
<value>stand</value>
</trigger>
<trigger priority="740">
<pattern>speeds up around you</pattern>
<value>#echo ^^HASTE OUT!!</value>
</trigger>
<trigger priority="750">
<pattern>tackles you</pattern>
<value>stand</value>
</trigger>
<alias name="big">
<value>cast 'bigbys cl' %-1</value>
</alias>
<alias name="mc">
<value>cast 'minor creation' %-1</value>
</alias>
<alias name="burn">
<value>cast 'burning hands' %-1</value>
</alias>
<alias name="str">
<value>cast 'strength' %-1</value>
</alias>
<alias name="dex">
<value>cast 'dexterity' %-1</value>
</alias>
<alias name="farsee">
<value>cast 'farsee' %-1</value>
</alias>
<alias name="lev">
<value>cast 'levitate' %-1</value>
</alias>
<alias name="lig">
<value>cast 'lightning' %-1</value>
</alias>
<alias name="coldshield">
<value>cast 'coldshield'</value>
</alias>
<alias name="cone">
<value>cast 'cone of cold' %-1</value>
</alias>
<alias name="slow">
<value>cast 'slowness' %-1</value>
</alias>
<alias name="blink">
<value>cast 'blink'</value>
</alias>
<alias name="stone">
<value>cast 'shadow shield'</value>
</alias>
<alias name="inc">
<value>cast 'incendiary cloud' %-1</value>
</alias>
<alias name="relo">
<value>cast 'relocate' %-1</value>
</alias>
<alias name="chain">
<value>cast 'chain lightning' %-1</value>
</alias>
<alias name="sol">
<value>cast 'solbeeps missile barrage' %-1</value>
</alias>
<alias name="enl">
<value>cast 'enlarge' %-1</value>
</alias>
<alias name="red">
<value>cast 'reduce' %-1</value>
</alias>
<trigger priority="950">
<pattern>The (%w) seems to be closed</pattern>
<value>open %1</value>
</trigger>
<trigger priority="960">
<pattern>The (%w) is closed</pattern>
<value>open %1</value>
</trigger>
<trigger priority="970">
<pattern>The (%w) is locked</pattern>
<value>unlock %1</value>
</trigger>
<trigger priority="980">
<pattern>shadows around your body dissipate.</pattern>
<value>#echo ^^^^^ STONE OUT!!!</value>
</trigger>
<trigger priority="1000">
<pattern>tell</pattern>
<value>#cap tell</value>
</trigger>
<trigger priority="1010">
<pattern>say</pattern>
<value>#cap tell</value>
</trigger>
<trigger priority="1020">
<pattern>Xanan tells you 'Ressing you now, consent if you haven't.'</pattern>
<value>consent xanan</value>
</trigger>
</window>
</cmud>
|
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Fri Sep 12, 2008 7:40 am |
Once I removed the "- " from you post I was able to import you scripts just fine.
Now that we are working from a common point, we can be of more help. First I would suggest reading Changes for zMUD users to improve your scripts.
For example many of your aliases are like
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="vig" copy="yes">
<value>cast 'vigorize critic' %-1</value>
</alias>
</cmud> |
You can remove the %-1 by setting the Auto append option like so.
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="vig" autoappend="true" copy="yes">
<value>cast 'vigorize critic'</value>
</alias>
</cmud>
|
Also you have triggers that reference %-1 in their pattern. These triggers should be using %d or %w or something like that. %1 is a patter reference symbol and %-1 refers to appended parameters. Read up on #TRIGGERS and Pattern Matching for more info. |
|
_________________ Asati di tempari! |
|
|
|
gerry_d98 Beginner
Joined: 05 Sep 2008 Posts: 20
|
Posted: Fri Sep 12, 2008 8:19 am |
so I want to be using %w instead of %-1 everywhere? In zmud i always just used %1 %2 %3 etc for the command AND the pattern when necessary. Before I added the minus sign once I tried cmud nothing worked, then I saw a sample in the help file somewhere, or in a package someone sent me, tried it and things magically started working. I don't really uinderstand teh WHY of any of this, jsut the end result. possibly I'm better off with warcraft, but thats just so boring.
Here is a question, I read the #TRIGGERS etc.. and don't understand something. In a pattern, i use %w to save a word, and that value stored by %w would be recalled in the command when i place a %1? how do I handle a situation where I want to store two or more values from a pattern and do different things (or even the same things) with them in the command? i.e. :
the pattern could be: Bob tells you 'Sue killed me'
the command cold be: Tell Bob 'ok';tell Sue 'die hooker!'
bad example but jsut something I dont understand about stored values. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Sep 12, 2008 9:50 am |
There are a lot of ways to handle your last question. One would be to use 2 triggers, you would use this method if you always wanted to reply to tells. Another would be with a little bit of script.
Pattern: ^(%w) tells you '(%w) killed me'
Commands: #IF (%1="Bob") {tell %1 ok;tell %2 die hooker!}
That is using a script to determine if we want to reply, you could also use the pattern to directly determine the sender. I still put Bob in a capture to save typing out Bob in the script. There really is no reason to use a capture for it with such a simple script though.
Pattern ^(Bob) tells you '(%w) killed me'
Commands: tell %1 ok;tell %2 die hooker! |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Fri Sep 12, 2008 1:08 pm |
Quote: |
In a pattern, i use %w to save a word, and that value stored by %w would be recalled in the command when i place a %1? |
Note quite. It is not values like %w that save words. That is simply a matching pattern. To save parts of the matched pattern you use parentheses. For instance, the following pattern "This is a (test)" would match the the string "This is a test" and %1 would be "test". The pattern "This is a %w (%w %w)" would match the string "This is a really silly test", and %1 would be "silly test". |
|
|
|
|
|