05 Feb, 2010, jenni wrote in the 1st comment:
Votes: 0
if i connect to my own instance of smaugFUSS 1.9 via localhost/port 4000, and i connect with the name 'admin' and the password 'admin', how do i rename the admin, or otherwise promote another character i've made to full immortal/admin status? i tried that, but as the character was obviously offline (being that it's mine and i was logged in as admin), it didn't work. thanks!
06 Feb, 2010, Zeno wrote in the 2nd comment:
Votes: 0
pcrename to rename

advance to promote
06 Feb, 2010, jenni wrote in the 3rd comment:
Votes: 0
is this command the same for SWR FUSS? it worked fine in smaug, but doesn't seem to do anything in SWR.
07 Feb, 2010, Zeno wrote in the 4th comment:
Votes: 0
I doubt advance is the same, but I don't know. Best to ask someone familiar with SWR.
07 Feb, 2010, Kayle wrote in the 5th comment:
Votes: 0
For SWRFUSS making an immortal is done with the makeimm command.
Advance handles all the miscellaneous levels associated with characters. (Combat, Piloting, Engineering, etc.)
Pcrename is still the same.
07 Feb, 2010, jenni wrote in the 6th comment:
Votes: 0
hm .. i can't get pcrename to work. i've tried pcrename admin jenni and pcrename self jenni, but all i get is "huh?"
07 Feb, 2010, Kayle wrote in the 7th comment:
Votes: 0
Try: cedit pcrename create do_pcrename

If you get any errors, lemme know and I'll poke around at them.
07 Feb, 2010, jenni wrote in the 8th comment:
Votes: 0
that didn't seem to work quite to the point of functioning, but did do something. here's what i got:

cedit pcrename create do_pcrename
Command added.
Code do_pcrename not found. Set to no code.
07 Feb, 2010, Kayle wrote in the 9th comment:
Votes: 0
Odd.

Open up act_wiz.c and go to line 4114. This *should* be
void do_pcrename( CHAR_DATA *ch, const char argument )


If not.. Well.. something is amiss. Because I'm looking at line 4114 of the SWRFUSS package I uploaded earlier and that's line 4114 of act_wiz.c…
07 Feb, 2010, Tonitrus wrote in the 10th comment:
Votes: 0
Kayle said:
Odd.

Open up act_wiz.c and go to line 4114. This *should* be
void do_pcrename( CHAR_DATA *ch, const char argument )


If not.. Well.. something is amiss. Because I'm looking at line 4114 of the SWRFUSS package I uploaded earlier and that's line 4114 of act_wiz.c…

Reading this, I thought "I bet tables.c has struck again", so I downloaded the code you're referring to. It apparently loads commands from a command file (commands.dat), and I searched that file for "pcrename", but didn't find it. I don't know anything about SWR, but I suspect that is the problem.

Damn tables.c.
07 Feb, 2010, Kayle wrote in the 11th comment:
Votes: 0
Tables.c hasn't played a roll in any of the FUSS bases in several years. We utilize DLSYM to handle all the stuff that tables.c used to do. Much better. More modern. Not so.. 80s.
07 Feb, 2010, jenni wrote in the 12th comment:
Votes: 0
it originally read:
void do_pcrename ( CHAIR_DATA * ch, const char *argument )


the only difference was the spacing of the first asterisk and the existence of the second. i changed it to the code you posted and when compiling, got the following error:

> make
make -s swreality
Compiling o/act_wiz.o….
act_wiz.c: In function 'void do_pcrename(CHAR_DATA*, char)':
act_wiz.c:4124: error: call of overloaded 'one_argument(const char&, char [1024])' is ambiguous
mud.h:4409: note: candidates are: char* one_argument(char*, char*) <near match>
mud.h:4410: note: const char* one_argument(const char*, char*) <near match>
act_wiz.c:4125: error: call of overloaded 'one_argument(const char&, char [1024])' is ambiguous
mud.h:4409: note: candidates are: char* one_argument(char*, char*) <near match>
mud.h:4410: note: const char* one_argument(const char*, char*) <near match>
make[1]: *** [o/act_wiz.o] Error 1
make: *** [all] Error 2
07 Feb, 2010, Zeno wrote in the 13th comment:
Votes: 0
You changed it to "CHAIR_DATA"? You shouldn't have to change it if it already exists in the code. What was it originally?
07 Feb, 2010, Kayle wrote in the 14th comment:
Votes: 0
I typed that by hand, it wasn't an exact copy.

It should have read
void do_pcrename( CHAR_DATA * ch, const char *argument )
07 Feb, 2010, jenni wrote in the 15th comment:
Votes: 0
thanks!
07 Feb, 2010, jenni wrote in the 16th comment:
Votes: 0
that didn't seem to do it either–i'll just edit the file myself.
0.0/16