|
NeverNor Novice
Joined: 18 Nov 2006 Posts: 32
|
Posted: Sat May 12, 2007 9:03 pm
CMUD running over rountime alarms |
Ok so I finally started up cMUD after having it sit in my download folder for months, dreading the upgrade which I knew was going to be a hand by hand process. So I start in and like what I am seeing [I am in DragonRealms btw], however the system seems to have trouble dealing with Roundtimes that I pass into as alarm timers. It just runs over them like they are not there. Gonna use zMUD script here cause I am not sure how to pull out cMUD script, only thing different is that I took out the +'s in the #ADD functions (I figured that part out). Here is the code:
Code: |
#CLASS {HideCleanerPrimer|HideCleaner} {disable}
#VAR hideList {hide|pelt|skin|scalp|tusk|hoof|tail|backpack}
#VAR hideItem {pelt}
#VAR HideCleanerAlarmVar {#T+ HideCleanerTRClean1;#var maxrt 2;l in my backpack|#IF (%ismember( @hideItem, @hideList) < 4) {scrape @hideItem with my scraper quick} {bundle;#var maxrt 2}|#var maxrt 2;#var skillName Mechanical Lore;#T+ MindStatus;#T+ MindStatusAlarm;#T+ HideCleanerTR}
#VAR iHideCleanerAlarmVar {2} {1}
#ALARM "HideCleanerAlarm" {@maxrt} { #EXEC {%item( @HideCleanerAlarmVar, @iHideCleanerAlarmVar)};#T- HideCleanerAlarm}
#TRIGGER "HideCleanerTRClean1" {In the* *({@hideList})} {#var hideItem %1;#IF (@hideItem = "backpack") {put my scraper in my thigh pou;#ECHO {Nothing left to scrape};#T+ PowerTrainer;#T+ PowerTrainerAlarm;#T- HideCleanerPrimer;#T- HideCleaner} {take my %1};#T- HideCleanerTRClean1} "" {disable}
#TRIGGER {You get * @hideItem from inside your} {#add iHideCleanerAlarmVar (+1);#T+ HideCleanerAlarm}
#TRIGGER {You* *scrape your* @hideItem*} {#T+ HideCleanerAlarm}
#TRIGGER {You scan through the skins in the lumpy bundle and finally decide that they're worth a total of} {#T+ HideCleanerAlarm}
#TRIGGER {{There's no need for further scraping|That really isn't going to help anything}} {bun;#var maxrt 2}
#TRIGGER {You'll need the right tool} {take my scraper;#var maxrt 2;#T+ HideCleanerAlarm}
#TRIGGER {You stuff} {#add iHideCleanerAlarmVar (+1);#var maxrt 2;#T+ HideCleanerAlarm}
#TRIGGER {Time to start a new bundle} {put my scraper in my thigh pou;remove bundle}
#TRIGGER {That's not going to work} {put my scraper in my thigh pou;take my rope}
#TRIGGER {You sling a lumpy bundle off from over your shoulder} {drop bundle;take rope from my sheath}
#TRIGGER {You get a braided bundling rope} {bundle;wear bundle}
#TRIGGER {You sling a lumpy bundle over your shoulder} {take my scraper;swap;#var maxrt 2;#add iHideCleanerAlarmVar (+1);#T+ HideCleanerAlarm}
#TRIGGER "HideCleanerTR" {STATE OF MIND FOUND} {#IF (@skillStatus <= 12) {#var iHideCleanerAlarmVar 1;app my bundle careful;#T- HideCleanerTR} {put my scraper in my thigh pou;#T+ PowerTrainer;#T+ PowerTrainerAlarm;#T- HideCleanerTR;#T- HideCleaner}} "" {disable}
#TRIGGER {There is nothing in there} { put my scraper in my thigh pou;#ECHO {Nothing left to scrape};#T- HideCleanerPrimer;#T- HideCleaner}
#CLASS 0
|
Right when it does the appraisal of HideCleanerTR, it rolls over it like a round time never happened. Very weird. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat May 12, 2007 11:07 pm |
Quote: |
Ok so I finally started up cMUD after having it sit in my download folder for months, dreading the upgrade which I knew was going to be a hand by hand process. |
Are you using the latest version of cmud 1.33? |
|
|
|
NeverNor Novice
Joined: 18 Nov 2006 Posts: 32
|
Posted: Sun May 13, 2007 1:12 am |
yup, it errored out on that, I was expecting that not this though
|
|
|
|
|
|