diff --git a/source/WorldServer/ClientPacketFunctions.cpp b/source/WorldServer/ClientPacketFunctions.cpp index 8f18143..51160c7 100644 --- a/source/WorldServer/ClientPacketFunctions.cpp +++ b/source/WorldServer/ClientPacketFunctions.cpp @@ -354,7 +354,7 @@ void ClientPacketFunctions::SendInstanceList(Client* client) { } void ClientPacketFunctions::SendMaintainedExamineUpdate(Client* client, int8 slot_pos, int32 update_value, int8 update_type){ - if (!client) + if (!client || client->GetVersion() <= 561) // KoS and earlier clients don't support this packet, best to just return and not spam logs w/ errors return; PacketStruct* packet = configReader.getStruct("WS_UpdateMaintainedExamine", client->GetVersion()); diff --git a/source/WorldServer/LuaFunctions.cpp b/source/WorldServer/LuaFunctions.cpp index 4f99aa1..11c3283 100644 --- a/source/WorldServer/LuaFunctions.cpp +++ b/source/WorldServer/LuaFunctions.cpp @@ -9884,8 +9884,6 @@ int EQ2Emu_lua_StartHeroicOpportunity(lua_State* state) { HeroicOP* ho = master_ho_list.GetHeroicOP(class_id); if (ho) { ho->SetTarget(target->GetID()); - LogWrite(SPELL__ERROR, 0, "HO", "caster: %u", caster->GetID()); - LogWrite(SPELL__ERROR, 0, "HO", "target: %u", target->GetID()); if (((Entity*)caster)->GetGroupMemberInfo()) { if (caster->GetZone()->GetSpellProcess()->AddHO(client, ho)) { world.GetGroupManager()->GroupLock(__FUNCTION__, __LINE__); diff --git a/source/WorldServer/WorldDatabase.cpp b/source/WorldServer/WorldDatabase.cpp index 3b1cf47..9828bd3 100644 --- a/source/WorldServer/WorldDatabase.cpp +++ b/source/WorldServer/WorldDatabase.cpp @@ -5800,7 +5800,8 @@ map* WorldDatabase::GetInstanceRemovedSpawns(int32 instance_id, int if( !database_new.Select(&result, "SELECT spawn_location_entry_id, respawn_time FROM instance_spawns_removed WHERE instance_id = %i AND spawn_type = %i", instance_id, type) ) { - LogWrite(INSTANCE__ERROR, 0, "Instance", "Error in GetInstanceRemovedSpawns() '%s': %i", database_new.GetErrorMsg(), database_new.GetError()); + if(database_new.GetError()) // reduce spam in logs, only post error if actual error back from DB server 0 means no results + LogWrite(INSTANCE__ERROR, 0, "Instance", "Error in GetInstanceRemovedSpawns() '%s': %i", database_new.GetErrorMsg(), database_new.GetError()); return ret; } else