Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Fri Jan 12, 2024 10:17 pm   

Is there a way of programmatically knowing if the map is synced?
 
Is there a way of programmatically knowing if the map is synced? I hoped (%walkconfirm = 1) would do it, but that only works if you used the map to speedwalk somewhere. When I move normally and the map detects the next room and sends the #OK, that's what I want to know: does the map know where it is, or is it lost? I'm thinking maybe I need to check if there's nothing on the queue, i.e. check that (%lastdir = ""), although that would still be the case if the map was off, so it's not ideal.

Essentially what I want to do is, if the map is synced to the correct mud location, then set the %roomnum from GMCP and %roomload(, 8).
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net