Spell short names

Started by The Crazy Animal, September 23, 2006, 12:21:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

I happened to notice the today while searching through the spells that some of the spell short names were not working when trying to cast the spells. Such as spells 431 and a bunch of others that have short names of 5 characters. For the most part this isn't a problem if we stick to only using 3 or 4 characters (as soul informed me) but if this gets opened up for editing then it might be better to look into some code to that can dynamically adjust to anything given in the short name field and save some trouble in the long run.

Secondly if there is no short name given it should default to the full spell name.

Quote from: The Crazy Animal on September 23, 2006, 12:21:13 AM
I happened to notice the today while searching through the spells that some of the spell short names were not working when trying to cast the spells. Such as spells 431 and a bunch of others that have short names of 5 characters. For the most part this isn't a problem if we stick to only using 3 or 4 characters (as soul informed me) but if this gets opened up for editing then it might be better to look into some code to that can dynamically adjust to anything given in the short name field and save some trouble in the long run.
AFAIK MMUD will accept names with up to 6 characters, so GMUD should also. (The database is hardcoded to be 7 bytes long; leaving us with six characters and a required null byte). I'm not sure what the shortest valid spell name is in MMUD though (e.g. - would a spell with a shortname of "z" work in MajorMUD?).