skyrim-multiplayer / skymp

Multiplayer Mod & TypeScript SDK for Skyrim Special Edition
Other
217 stars 75 forks source link

Picking up items in SweetPie world doesn't work, crafted (they are missing) #583

Closed Pospelove closed 2 years ago

Pospelove commented 2 years ago

It seems that createActor messages are not sent to the player when he or she walks in non-Skyrim.esm worlds Currently createActor is sent for players and isn't sent for items, flora, etc

@SupAidmi will show how to reproduce and give a .esp file

Pospelove commented 2 years ago

https://github.com/skyrim-multiplayer/skymp/blob/0f2575f901775a2a07fd48ec7951bf50aedefe81/skymp5-server/cpp/server_guest_lib/WorldState.cpp#L249

Pospelove commented 2 years ago
if (t == "NPC_") {
    return false;
  }

  auto formId = espm::GetMappedId(record->GetId(), mapping);
  logger->info("!!! {0:x} => {1:x}", record->GetId(), formId);
  auto locationalData = data.loc;
Pospelove commented 2 years ago

Solstheim id 0x02000800