Download Game! Currently 55 players and visitors. Last logged in:FuserJumadanConquerIberiamssp

BatMUD Forums > Ideas-wanted > Re: summon to accept capitalized names

 
 
#1
14 Jul 2003 11:29
 
 
"cast 'summon' Blackstar" returns the error "Summon who?" instead of working
like "cast 'summon' blackstar"

Could we get this fixed?

Thanks, Beliar

 
 
 
Beliar
19d, 4h, 35m, 54s old
Level:
38
 
 
#2
14 Jul 2003 21:32
 
 
Beliar wrote:
"cast 'summon' Blackstar" returns the error "Summon who?" instead of working
like "cast 'summon' blackstar"

Could we get this fixed?

Thanks, Beliar
Duh, rather you tweak your triggers to lower_case the string.

 
 
 
Shardik
W i z a r d
25y, 197d, 2h, 29m, 52s old
Level:
131 [Wizard]
 
 
#3
14 Jul 2003 22:04
 
 
Shardik wrote:
Beliar wrote:
"cast 'summon' Blackstar" returns the error "Summon who?" instead of working
like "cast 'summon' blackstar"

Could we get this fixed?

Thanks, Beliar
Duh, rather you tweak your triggers to lower_case the string.
help lower_case

No such help file found.

Type 'help help' for manual on help command.

Searching the help files for 'lower case'...

Could not find anything about 'lower case'



 
 
 
Beliar
19d, 10h, 5m, 59s old
Level:
38
 
 
#4
15 Jul 2003 00:21
 
 
Beliar wrote:
Shardik wrote:
Beliar wrote:
"cast 'summon' Blackstar" returns the error "Summon who?" instead of working
like "cast 'summon' blackstar"

Could we get this fixed?

Thanks, Beliar
Duh, rather you tweak your triggers to lower_case the string.
help lower_case

No such help file found.

Type 'help help' for manual on help command.

Searching the help files for 'lower case'...

Could not find anything about 'lower case'

I have a nice trick I can contribute to this problem!

I have found that it helps me a lot on these kinds of problems in general -
but I'm afraid it only works on linux!

The trick is this! You need the utility xmodmap in Linux in X!

You type:

xmodmap -e 'clear shift'; xmodmap -e 'clear lock'

after this you can't use the shift key or the caps lock key anymore1 no more
problems of uppercased player names1 problem solved111

- naked

 
 
 
Naked
W i z a r d
3y, 86d, 22h, 51m, 6s old
Level:
102 [Wizard]
 
 
#5
15 Jul 2003 06:06
 
 
Commands which accept capitalized names: cure light wounds, cure serious
wounds, cure critical wounds, minor heal, remove scar, water walking, tell

Commands which do not accept capitalized names: summon, finger

My basic two points seem to be lost on some people. Point #1: consistency
would be nice. Point #2: being able to use the same alias to cast at someone
and to use his/her name in a conversation would be nice.

FYI, there are no help files on to_lower, tolower, lower_case, lowercase, nor
any relevant help files returned with help lower. I don't know what \help is,
though I'm guessing it's ZMud help or TF help, which I don't use, nor do I use
Linux.

Beliar

 
 
 
Beliar
19d, 10h, 38m, 22s old
Level:
38
 
 
#6
15 Jul 2003 08:39
 
 
Solutions:

1) Immort, make code consistency your goal, make good on your goal

2) Convince some wizard to pore over every single line of code, making sure
everything is consistent.

How does this problem come up anyway? If you're typing by hand, you might find
it easier to never capitalize player names anyway unless you're typing on
channels/etc (even then, most players won't mind if you don't capitalize their
name) If it's coming from a trigger, I hope you know that casting spells based
on input from the mud is illegal...

 
 
 
Ayli
83d, 15h, 22m, 2s old
Level:
48
 
 
#7
15 Jul 2003 08:39
 
 
Ayli wrote:
Solutions:

1) Immort, make code consistency your goal, make good on your goal

2) Convince some wizard to pore over every single line of code, making sure
everything is consistent.

How does this problem come up anyway? If you're typing by hand, you might find
it easier to never capitalize player names anyway unless you're typing on
channels/etc (even then, most players won't mind if you don't capitalize their
name) If it's coming from a trigger, I hope you know that casting spells based
on input from the mud is illegal...
I think its quite obvious what Beliar said that he doesn't use zMUD nor TF.
Prolly he tries to get along with telnet. With telnet you really can't
have triggers. And if he was using a trigger capable client, it prolly
wouldn't be any problem for him to use %lower or \lower in his aliases/
triggers.

I have to agree with him, putting a couple lower_cases in the code isn't
such big a deal. And when this kind of a 'bug' is found, wizards should
be more than eager to fix it. At least this is how it is supposed to work.
Maybe BatMUD has evolved past that.. :(

Cheers,
-T

 
 
 
Twomi
81d, 2h, 23m, 35s old
Level:
48
 
 
#8
16 Jul 2003 00:29
 
 
Beliar wrote:
"cast 'summon' Blackstar" returns the error "Summon who?" instead of working
like "cast 'summon' blackstar"

Could we get this fixed?

Thanks, Beliar
This has now been fixed.

I'm sure there are other spells/skills with the same dilemma tho.

++ Gore

 
Rating:
-1
Votes:
1
 
 
Gore
A r c h w i z a r d
5y, 287d, 13h, 13m, 23s old
Level:
600 [Wizard]
 
 
#9
16 Jul 2003 00:34
 
 
Gore wrote:
Beliar wrote:
"cast 'summon' Blackstar" returns the error "Summon who?" instead of working
like "cast 'summon' blackstar"

Could we get this fixed?

Thanks, Beliar
This has now been fixed.

I'm sure there are other spells/skills with the same dilemma tho.

++ Gore
Beliar cheers Gore and Twomi enthusiastically!

I'll mudmail if I find any other affected spells/skills/commands.

Can it be fixed in the code for the cast/use commands?

Beliar

 
 
 
Beliar
19d, 19h, 20m, 58s old
Level:
38
 
 
#10
16 Jul 2003 00:36
 
 
There is also same case-sensitive bugs in party commands which I like to see
fixed.

Lady Ealoren


--
Sister Ealoren

 
 
 
Ealoren
27d, 19h, 46m, 26s old
Level:
41
 
 
#11
16 Jul 2003 00:36
 
 
Ealoren wrote:
There is also same case-sensitive bugs in party commands which I like to see
fixed.

Lady Ealoren
you have to be a little more specific that a lot of code to be diging in

In theory, theory and practice are the same, but in practice, theyre not.

 
 
 
Gorge
179d, 10h, 19m, 7s old
Level:
50
 
 
#12
17 Jul 2003 19:00
 
 
I recall either rais/ress/body had the same problem in teh past. Dont sure
now.

++Coyolxauhqui