perlsaiyan / abacura

MUD client implementation in Python
MIT License
8 stars 4 forks source link

Map window doesn't update on entering new, unknown rooms, but does update if you enter new rooms and then go back #52

Open vajraccedika opened 1 year ago

vajraccedika commented 1 year ago

Wandering the fire keep with vajra, who can see msdp vnums anywhere, but the data wasn't in the map. Moving into new rooms didn't update the map window, but as soon as I went back into a room I had just traversed, the map window updated.

mardanst commented 1 year ago

Really need to test starting from a blank world db to see what the experience is like.

I think we are getting this sequence:

  1. MSDP_VNUM changes, sends event
  2. map sees vnum event, tries to update
  3. game sends a GA/PROMPT, sends event
  4. RoomWatcher sees prompt, parses room, updates world and adds new room
  5. RoomWatcher sends a room event

Probably need to have the map update on the room event in addition or instead of the vnum event