fix some item-related debug messages
This commit is contained in:
+2
-1
@@ -128,7 +128,8 @@ ItemData ItemCreator::on_monster_item_drop(uint16_t entity_id, uint32_t enemy_ty
|
||||
}
|
||||
|
||||
ItemData ItemCreator::on_box_item_drop_with_norm_area(uint8_t area_norm) {
|
||||
this->log.info("Box drop checks; random state: %08" PRIX32 " %08" PRIX32, this->random_crypt.seed(), this->random_crypt.absolute_offset());
|
||||
this->log.info("Box drop checks for area_norm %02hhX; random state: %08" PRIX32 " %08" PRIX32,
|
||||
area_norm, this->random_crypt.seed(), this->random_crypt.absolute_offset());
|
||||
ItemData item = this->check_rare_specs_and_create_rare_box_item(area_norm);
|
||||
if (item.empty()) {
|
||||
uint8_t item_class = this->get_rand_from_weighted_tables_2d_vertical(this->pt->box_item_class_prob_table(), area_norm);
|
||||
|
||||
@@ -1462,7 +1462,7 @@ static void on_entity_drop_item_request(shared_ptr<Client> c, uint8_t command, u
|
||||
} else {
|
||||
item.id = l->generate_item_id(0xFF);
|
||||
string name = s->item_name_index->describe_item(l->base_version, item);
|
||||
l->log.info("Box %04hX (area %02hX) created item %s", cmd.entity_id.load(), cmd.effective_area, name.c_str());
|
||||
l->log.info("Entity %04hX (area %02hX) created item %s", cmd.entity_id.load(), cmd.effective_area, name.c_str());
|
||||
l->log.info("Creating item %08" PRIX32 " at %02hhX:%g,%g", item.id.load(), cmd.area, cmd.x.load(), cmd.z.load());
|
||||
if (l->check_flag(Lobby::Flag::ITEM_TRACKING_ENABLED)) {
|
||||
l->add_item(item, cmd.area, cmd.x, cmd.z);
|
||||
|
||||
Reference in New Issue
Block a user