What version of ROM are you running? 2.3?
Anywho, here's some code you'll probably need to insert into your bool
check_parse_name (char *name) function in comm.c:
/*
* Edwin's been here too. JR -- 10/15/00
*
* Check names of people playing. Yes, this is necessary for multiple
* newbies with the same name (thanks Saro)
*/
if (descriptor_list)
{
int count=0;
DESCRIPTOR_DATA *d, *dnext;
for (d = descriptor_list; d != NULL; d = dnext)
{
dnext=d->next;
if (d->connected!=CON_PLAYING&&d->character&&d->character->name
&& d->character->name[0] &&
!str_cmp(d->character->name,name))
{
count++;
close_socket(d);
}
}
if (count)
{
sprintf(log_buf,"Double newbie alert (%s)",name);
wiznet(log_buf,NULL,NULL,WIZ_LOGINS,0,0);
return FALSE;
}
}
Rick St Jean wrote:
Hey all,
About once every 6 months, I have a player log into my mud that knows
way more about
rom/rot bugs, and obscure ones. Granted I think I have most of the
basic ones patched,
but every once in a while I get hit with one. Tonight he somehow made
40 characters with
the same name, all from the same ip. On sockets, it looked like they
were all taking up
a new descriptor.
Anyhow ... it was a simple way to spam. to tease me he wrote a single
note. But it
published 40 of them. I cannot seem to locate this anywhere in bug
fixes. Is there a patch
to disallow this. It is not the same as the login duplication, that
lets you create two
chars of the same name till the pfile is saved. Everything was
happening at the same time
with all 40 chars.
Rick