boss_name, name, Weapon, Shield, Helmet);
boss_name, name, e.Weapon, e.Shield, e.Helmet);
void check_actor_equip(char * in_data){    int gender=0;//NULL until set     int this_actor_id=*((short *)(in_data));    int actor_enhanced=1;     int kill = 0;	Uint8 weapon;        Uint8 actor_type;	Uint8 skin;	Uint8 hair;	Uint8 shirt;	Uint8 pants;	Uint8 boots;	Uint8 frame;	Uint8 cape;	Uint8 head;	Uint8 shield;	Uint8 helmet;	//x_tile_pos=*((short *)(in_data+2));	//y_tile_pos=*((short *)(in_data+4));	actor_type=*((short *)(in_data+10));	if(((actor_type % 2 ==0) && actor_type < 5) || (((actor_type-1) % 2 ==0) && (actor_type-1) < 41) && actor_type > 36)gender=FEMALE; 	else 	{  	   if((((actor_type-1) % 2 ==0) && (actor_type-1) < 5) || (((actor_type-2) % 2 ==0) && (actor_type-2) < 41) && actor_type > 36)gender=MALE;       else log_error("Actor_id %d named %s has no gender! The actor_type (numerical) is %d (Maybe an NPC!?)\n",this_actor_id,in_data+28,actor_type);        }   	if(this_actor_id != yourself)kill = check_if_we_should_hail (((char *) (in_data+28)), gender);   	else kill = 0;    skin=*(in_data+12);	hair=*(in_data+13);	shirt=*(in_data+14);	pants=*(in_data+15);	boots=*(in_data+16);	shield=*(in_data+18);	weapon=*(in_data+19);	if(weapon != WEAPON_NONE && this_actor_id != yourself && (strcasecmp (my_guild, guild)))       if(hail_everyone == 1)send_raw_text("%s, remove your weapons before entering my home!", name);	cape=*(in_data+20);	helmet=*(in_data+21);	//Memorize equipment	if(this_actor_id != yourself && strcasecmp(my_guild, guild) && strcasecmp(name, boss_name) && name[0] != 3)	{        if(hail_master == 1) {            process_equipment(KIND_OF_WEAPON, weapon);            process_equipment(KIND_OF_SHIELD, shield);            process_equipment(KIND_OF_HELMET, helmet);            process_equipment(KIND_OF_LEG_ARMOR, pants);            process_equipment(KIND_OF_BODY_ARMOR, shirt);	            process_equipment(KIND_OF_BOOT_ARMOR, boots);	            send_pm("%s I see %s, with Weapon: %s, Shield: %s,  Helmet: %s,",	        boss_name, name, Weapon, Shield, Helmet);	        send_pm("%s Leg Armor: %s, Body Armor: %s and Boots: %s", boss_name,            legarmor, bodyarmor, Boots);        }     }     add_actor_from_server(in_data, ((insult_enemy ==1) ? kill : 0));    }