Register to post in forums, or Log in to your existing account
 
:
Search found 197 matches for:
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
  Topic: Help with buttons
hpoonis2010

Replies: 3
Views: 430

PostForum: CMUD General Discussion   Posted: Fri May 21, 2021 6:14 am   Subject: Help with buttons
? A button to do what?
  Topic: Nested SWITCHes
hpoonis2010

Replies: 10
Views: 777

PostForum: CMUD General Discussion   Posted: Thu May 13, 2021 2:05 pm   Subject: Nested SWITCHes
We avoid the databases as that is not a completely useful module.

Using dbvars also has it's downside in that I am also using the lookups to populate buttons which is best done with proper vars. F ...
  Topic: Nested SWITCHes
hpoonis2010

Replies: 10
Views: 777

PostForum: CMUD General Discussion   Posted: Tue May 11, 2021 11:23 am   Subject: Nested SWITCHes
I tried something similar initially...ran into problems trying to sort out logic for:

if I already have a batch of potions at a previous level, continue using those

...and it also started to get ...
  Topic: Nested SWITCHes
hpoonis2010

Replies: 10
Views: 777

PostForum: CMUD General Discussion   Posted: Tue May 11, 2021 10:33 am   Subject: Nested SWITCHes
I tried using IF instead of the nested switch. Problem now is that #BREAK or #EXIT will end the entire script, anything else just runs through all the remaining IF, executing each one in turn and the ...
  Topic: Nested SWITCHes
hpoonis2010

Replies: 10
Views: 777

PostForum: CMUD General Discussion   Posted: Tue May 11, 2021 5:38 am   Subject: Nested SWITCHes
Syntax check raised no errors.

Incidentally, a couple of weeks ago I had to also modify this:

#IF ($charLev<20) {cast 'cure critical';#EXIT}
#IF ($charLev>=20) {cast 'heal'}

as it wou ...
  Topic: Nested SWITCHes
hpoonis2010

Replies: 10
Views: 777

PostForum: CMUD General Discussion   Posted: Mon May 10, 2021 3:55 pm   Subject: Nested SWITCHes
In the cold light of day, and minus the copious amount of vodka I consumed, I spotted that i left '=' out of a bunch of assignments.

However, even after correcting this, inside switches are still b ...
  Topic: Nested SWITCHes
hpoonis2010

Replies: 10
Views: 777

PostForum: CMUD General Discussion   Posted: Sun May 09, 2021 1:06 pm   Subject: Nested SWITCHes
If anyone can see why the nested switch statements are not being tested, I'd appreciate it. I cannot see anything amiss.

I inserted some write statements and the outer SWITCH is being tested fine. ...
  Topic: Speedwalks...are not
hpoonis2010

Replies: 1
Views: 367

PostForum: CMUD General Discussion   Posted: Tue May 04, 2021 7:31 pm   Subject: Speedwalks...are not
In the mud I can run/walk (eg) w6ne2n. However, when I #WAL <room> and it offers up any <digit><direction> (2n, 4e, etc) these are (apparently) not valid.

...? I tried deleting E ...
  Topic: Mapper room note
hpoonis2010

Replies: 11
Views: 3352

PostForum: CMUD General Discussion   Posted: Thu Apr 22, 2021 10:46 am   Subject: Mapper room note
I ran a loop.
#WAIT 0
#CALL %maplocked(0)

$zoneList=%dbkeys(@aardZoneTbl)
#FORALL $zoneList {
$zoneName=@aardZoneTbl.%i.zone
#IF (%zonenum($zoneName)=" ...
  Topic: Mapper room note
hpoonis2010

Replies: 11
Views: 3352

PostForum: CMUD General Discussion   Posted: Wed Apr 21, 2021 12:49 pm   Subject: Mapper room note
Some knowledge one doesn't know because one never had a reason to look at non-relevancies.

I finally did some digging re. room things in the properties editor. I paid no mind to Userstr and Userin ...
  Topic: Strings in key-value pairs
hpoonis2010

Replies: 1
Views: 450

PostForum: CMUD General Discussion   Posted: Tue Apr 20, 2021 10:06 am   Subject: Strings in key-value pairs
Here's an interesting one. Thanks to Aardwolf's penchant for allowing nonalpha characters in equipment names, I discovered a glitch.

Item name an =*= OFFICIAL WTC STUDENT ID BADGE =*=
When I add ...
  Topic: Failed GMCP trigger
hpoonis2010

Replies: 1
Views: 447

PostForum: CMUD General Discussion   Posted: Fri Apr 16, 2021 9:29 am   Subject: Failed GMCP trigger
Well,

First, I completely rem'd the switch block. Still failed. Then I rem'd everything else. No error. So I re-instated the trailing #IF at the end of the script and used permanent vars. Didn't l ...
  Topic: Cmud Android or Ipod App?
hpoonis2010

Replies: 25
Views: 47079

PostForum: CMUD General Discussion   Posted: Fri Apr 16, 2021 9:23 am   Subject: Cmud Android or Ipod App?
You can try android mushclient. It has been steadily developed and is being used.
  Topic: Speedwalking and sneak
hpoonis2010

Replies: 2
Views: 594

PostForum: CMUD General Discussion   Posted: Thu Apr 15, 2021 8:18 am   Subject: Speedwalking and sneak
You only 'sneak' for movement into one room only? Not a mud command which sneaks until combat/etc?

For one-room sneak you can set an event (probably OnRoomWalk) to fire sneak...and probably even l ...
  Topic: CMUD map speed
hpoonis2010

Replies: 4
Views: 749

PostForum: CMUD General Discussion   Posted: Wed Apr 14, 2021 7:32 pm   Subject: CMUD map speed
Do you have redraw map and/or centre map after move settings on?
  Topic: Failed GMCP trigger
hpoonis2010

Replies: 1
Views: 447

PostForum: CMUD General Discussion   Posted: Tue Apr 13, 2021 6:57 pm   Subject: Failed GMCP trigger
This has been working perfectly, even through this morning. This afternoon, different story, I am getting "failed to compile" errors. I can see nothing amiss.

<trigger name="dquest_check& ...
  Topic: Help with a script
hpoonis2010

Replies: 5
Views: 854

PostForum: CMUD General Discussion   Posted: Tue Apr 13, 2021 6:42 pm   Subject: Help with a script
I would offer some suggestions:

#TRIG {* ~[%d~]$} {@fightdamage=fightdamage+%1}

or, to tighten the usage to combat only, you can name it and enable it on a command input trigger

#ONINPUT {kil ...
  Topic: Any ideas how to track this?
hpoonis2010

Replies: 4
Views: 878

PostForum: CMUD General Discussion   Posted: Tue Mar 30, 2021 5:11 am   Subject: Any ideas how to track this?
I think disabling every package was fairly conclusive. The main session window and the mapper were the only things left running. After disabling the one thing in the main session, which was a gmcp tr ...
  Topic: Any ideas how to track this?
hpoonis2010

Replies: 4
Views: 878

PostForum: CMUD General Discussion   Posted: Sun Mar 28, 2021 5:49 pm   Subject: Any ideas how to track this?
You may be right but...

I disabled all modules, then went into the main window module and started disabling other things. I reiterate that window handling in CMUD is slack and buggy and problems ...
  Topic: Any ideas how to track this?
hpoonis2010

Replies: 4
Views: 878

PostForum: CMUD General Discussion   Posted: Sun Mar 28, 2021 3:05 pm   Subject: Any ideas how to track this?
Once again, these were working without fail until today. I thought it was gmcp problem. I quit and restarted client and all worked well for a couple of ticks then nothing.

You slowly float to the ...
  Topic: Buttons
hpoonis2010

Replies: 2
Views: 688

PostForum: CMUD General Discussion   Posted: Sat Mar 27, 2021 8:37 pm   Subject: Buttons
I came up with an alternative. Name the buttons then enable/disable with #T-.
  Topic: Trail Script - syntax issues
hpoonis2010

Replies: 7
Views: 1201

PostForum: CMUD General Discussion   Posted: Fri Mar 26, 2021 5:38 pm   Subject: Trail Script - syntax issues
One assumes you changed the default mapper door name from 'door'?

By the way...what are %lastcom2 and %lastcom3? I thought % was for cmud internal functions.

You like ALARMs.
  Topic: Help with "delayed" trigger
hpoonis2010

Replies: 1
Views: 591

PostForum: CMUD General Discussion   Posted: Fri Mar 26, 2021 6:47 am   Subject: Help with "delayed" trigger
You can create a trigger to operate on telnet data received. Sorry, I cannot tell you more as I have not had the need to create one but I use gmcp triggers and I imagine the general procedure is simi ...
  Topic: Do you like the new threads?
hpoonis2010

Replies: 3
Views: 784

PostForum: CMUD General Discussion   Posted: Fri Mar 26, 2021 6:40 am   Subject: Do you like the new threads?
Thanks.

It is not the 'cleanup' it is the lag between performing string-list lookups and using rigidly defined trigger patterns. I had things like (in the example) 'Stat mods' and Resist Mods' tri ...
  Topic: Buttons
hpoonis2010

Replies: 2
Views: 688

PostForum: CMUD General Discussion   Posted: Thu Mar 25, 2021 12:24 pm   Subject: Buttons
Yet more dearth in documentation. Can anyone clear up this (from the documentation):


Syntax: #BU id|number caption {commands}

Triggers the named or numbered button. This is typ ...
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net