Hello all, I've never went as far to mess with anything of this depth with rom.. I don't know why but this is an idea I just had.. Merc.h has the define MAX_SKILL which combines the total skills/spells together. Would it be possible to also define something like MIN_SKILL and fill in the blanks?
#define MIN_SKILL 1 #define MAX_SKILL 143 During boot, rom would dynamicly generate the gns for all skills and spells. The list could never be alphabetical, they be in a list and could never change. Unless deleted.. Each new skill/spell would be placed at the bottom of an external list because.. gns's would no longer be defined as &gsn_sword... but instead, &gsn$s The $s would be replaced with a number +1 starting with MIN_SKILL which = 1 or even 0. Skills loaded in order: sword &gsn$s dagger &gsn$s mace &gsn$s staves &gsn$s Becomes: sword &gsn1 dagger &gsn2 mace &gsn3 staves &gsn4 Maybe I just spent to much time with db work and php.. As I mentioned, I don't know C with enough depth to know what it can and can't do in regards to something like this.. I've heard spells/skills can be loaded externally though with lua or lua scripts.. I've never seen anything with the spells, just lua triggers like mob progs. Anyway.. was just a useless thought I guess. Chris

