Shadowgate Forum Index Shadowgate
You can't fudge your dice rolls here...
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Map

 
Post new topic   Reply to topic    Shadowgate Forum Index -> Coding ideas & discussion
View previous topic :: View next topic  
Author Message
Lujke
Immortal


Joined: 18 Nov 2006
Posts: 642

PostPosted: Sat Oct 21, 2017 8:09 pm    Post subject: Map Reply with quote

We've just introduced a new command, to help out those of you who get lost sometimes.

Check out 'help map', and have a play around with it. It's not a complete solution, but may at least be some help. It's also in beta testing at the moment, so please do report any problems or issues, or ask any questions you might have.
_________________
Bears don't dig on dancing
(They just don't dig it)
http://www.youtube.com/watch?v=78XrI_2bPVA&feature=related
http://www.youtube.com/watch?v=NvnYIxv_364&feature=related
http://www.youtube.com/watch?v=RFO6ZhUW38w
Back to top
View user's profile Send private message
Lujke
Immortal


Joined: 18 Nov 2006
Posts: 642

PostPosted: Mon Oct 23, 2017 6:34 pm    Post subject: Reply with quote

I've put in the ability to add notes to your maps.

You can only add a note relating to the room you are currently in. Each note has a 2 character title, which then appears on your map, in place of the 'Rm', and a longer string of text which you can read back whenever you like.

So, if you are in a room with a healer and you want to keep track of where it is, you can do:

'map note add h1 This is the healer'

h1 would then appear on your map, and

'map note read h1' would get the response:

This is the healer

Have fun with it ... let me know about any issues or questions
_________________
Bears don't dig on dancing
(They just don't dig it)
http://www.youtube.com/watch?v=78XrI_2bPVA&feature=related
http://www.youtube.com/watch?v=NvnYIxv_364&feature=related
http://www.youtube.com/watch?v=RFO6ZhUW38w
Back to top
View user's profile Send private message
Lujke
Immortal


Joined: 18 Nov 2006
Posts: 642

PostPosted: Thu Nov 02, 2017 10:48 am    Post subject: Reply with quote

Another new feature:

You can now 'map route to [title]'
or 'map route from [title1] to [title2]'

The first will give you a list of directions from your current position to one of your notes (specified by the title).

The second will give a list of directions between two notes.

Hopefully the feature will be handy for everyone, but it's particularly intended to make the maps helpful for those who can't use the visual map display due to client issues or visual impairments.

I haven't had chance to do a lot of testing yet, so consider it an 'alpha' feature for now.

L
_________________
Bears don't dig on dancing
(They just don't dig it)
http://www.youtube.com/watch?v=78XrI_2bPVA&feature=related
http://www.youtube.com/watch?v=NvnYIxv_364&feature=related
http://www.youtube.com/watch?v=RFO6ZhUW38w
Back to top
View user's profile Send private message
Lujke
Immortal


Joined: 18 Nov 2006
Posts: 642

PostPosted: Wed Nov 15, 2017 6:45 pm    Post subject: Reply with quote

Maps were out of action for a while, but they are back, with some bug fixes and additions!

The main bug fix is one that was causing it to bork if you built a map that was too wide (east-west) to be displayed on your screen. I hope that it will now correctly trim the display and show as much of your map as you can see, with you location as central as possible.

The main addition is an <expand> option, that will give you the option of expanding your map to cope with any location clashes you encounter - those places where varying exit distances cause a problem with more than one room seeming to be in the same location.

As usual, it's not very well tested yet, so please try it out and give me any feedback about how you get on with it. I'm open to suggestions and ideas, though given the complexity of the code, I can't make any guarantees about being able to implement them.
_________________
Bears don't dig on dancing
(They just don't dig it)
http://www.youtube.com/watch?v=78XrI_2bPVA&feature=related
http://www.youtube.com/watch?v=NvnYIxv_364&feature=related
http://www.youtube.com/watch?v=RFO6ZhUW38w
Back to top
View user's profile Send private message
Lujke
Immortal


Joined: 18 Nov 2006
Posts: 642

PostPosted: Thu Mar 15, 2018 8:50 am    Post subject: Reply with quote

I think I've fixed the annoying bug that was causing maps not to start properly a lot of the time.

I've also changed the way map names are displayed when you use 'map list' This should hopefully make it easier to read if you have a long name, or have used longer map names.
_________________
Bears don't dig on dancing
(They just don't dig it)
http://www.youtube.com/watch?v=78XrI_2bPVA&feature=related
http://www.youtube.com/watch?v=NvnYIxv_364&feature=related
http://www.youtube.com/watch?v=RFO6ZhUW38w
Back to top
View user's profile Send private message
Lujke
Immortal


Joined: 18 Nov 2006
Posts: 642

PostPosted: Mon Mar 19, 2018 6:34 pm    Post subject: Reply with quote

I've caught a bug that's been dodging me for a while, which was making the bottom line of maps display incorrectly. Please let me know if anything looks wrong.

I've also corrected an oversight that was making it possible to enter multiple word map names when saving. This may have caused a problem if you've saved a map with a name that included spaces.
_________________
Bears don't dig on dancing
(They just don't dig it)
http://www.youtube.com/watch?v=78XrI_2bPVA&feature=related
http://www.youtube.com/watch?v=NvnYIxv_364&feature=related
http://www.youtube.com/watch?v=RFO6ZhUW38w
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Shadowgate Forum Index -> Coding ideas & 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


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com