void send_friend_info( CHAR_DATA *ch, char *message )
{
DESCRIPTOR_DATA *d;
FRIEND_DATA *ofriend;
if( !ch || !message || !ch->pcdata )
return;
if( xIS_SET( c->act, PLR_NOFINFO ) )
return;
for( d = first_descriptor; d; d = d->next )
{
if( !d->character || !d->character->pcdata ||
!( ofriend = find_friend( d->character, ch->name ) ) ||
|| ofriend->approved )
continue;
/* Might as well go ahead and update the sex if it is needed */
if( !can_see( d->character, ch ) )
continue;
ch_printf( d->character, "&G[&WFriend-Info&G] &Y%s\r\n", message );
}
}
I'll need to see what your sending to it as well as what kind of output your getting etc...
Some Bugs:
(Not sure if this is the latest update -- my code isn't at 1.40... these things were present in 1.39.)
Redundant checks for magic resistant from ch_ret one_hit() and damage() that prevented a magic item from properly using RIS_MAGIC rather than RIS_NONMAGIC
Care to explain that one more etc...
Create fire and makefire work on water/underwater
Lol yea guess I should add some limits for that one, Thanks.
Corpses have no way to tell whether or not a creature is organic, plant, golem, undead or otherwise -- which leads to very interesting fresh meat items.
A freshly sliced meat from a Copper Golem is here.
Yea should do something about that haha.
Run currently exits one out of a wilderness area, (Unless it's been updated past what I've added in -- in which case, disregard)
Hmm yea I should modify that thanks lol.
A few of additions I would suggest:
/f buffer command (Formats the prompt)
Remove automatic formatting from MPEDIT and a handful of other places -- It's rather difficult when you must make multiple lines to get across one particularly long echo or say.
rgrid building command (Makes a grid of rooms [rgrid (x) (y) (z)])
It wouldn't know how to link them etc... dont like the mapout?
It auto formats everything more or less because of the limitation of the editor itself. At least it takes into consideration for color etc...
Yea I should add a /f sometime for it.