Ok...one last problem... all of the code works...it changes the player's name...in every way except one..The login name, the player still logs in under the old name..What have I missed? I mean..the score command displays the new name..the who command displays the new command...everything displays it except the login name....help please.. here is the code: case 50: if (GET_LEVEL(ch) < GET_LEVEL(vict)) { send_to_char("That isn't such a good idea.",ch); return 0; } vict->player.name = str_dup(val_arg); strcpy(vict->player.name, val_arg); sprintf(buf, "Your name has been changed to %s by %s.\r\n", GET_NAME(vict),GET_NAME(ch)); send_to_char(buf, vict); sprintf(buf, "Name changed to %s.\r\n",GET_NAME(vict)); send_to_char(buf, ch); save_char(vict, NOWHERE); build_player_index(); break; thanks, anthony - newbie coder +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST