[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Mapper for Achaea

Mapper for Achaea

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1  2  3  4  5  6 7  8  9  10  11  12  13  

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #75 on Sat 20 Nov 2010 12:59 AM (UTC)
Message
If you click the configuration icon (the asterisk in the bottom-left of the mapper) you can change the search depth.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #76 on Sat 20 Nov 2010 01:09 AM (UTC)
Message
Ah, so that's what depth means!

Also, is there any way you could incorporate a more in-depth search at some point? I think it would be amazing to be able to locate a room across the world when I need to move between cities or from a city to a hunting spot. Then again it could also be a bad thing in the long run, since I'd get lazy after mapping the world and just speed everywhere.

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #77 on Sat 20 Nov 2010 01:23 AM (UTC)
Message
It's in the database, so you could easily enough search for the room and at least report what zone it is in, which would probably help you get into the general area.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #78 on Sat 20 Nov 2010 01:42 AM (UTC)
Message
Hehe, alright. Thank you very much Nick, your innovations make MUDs more enjoyable every day!

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #79 on Thu 25 Nov 2010 06:09 AM (UTC)
Message
Same subject, new question, what line of the plugin do areas go in? I tried editing the area from the mapper window but it says "no areas exist"

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #80 on Thu 25 Nov 2010 06:44 AM (UTC)
Message
If you got the Achaea database (which it sounds like you might not have) then it had the areas in it. Maybe Twisol can advise, there is probably a simple bit of SQL that would add them to your database.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #81 on Thu 25 Nov 2010 06:45 AM (UTC)
Message
Unfortunately, I haven't really used the mapper extensively. I never needed it much myself, and I like walking places manually (I know, I'm weird). I'm not sure how I can help here.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #82 on Thu 25 Nov 2010 07:12 AM (UTC)
Message
I'm mapping everything out myself, actually, it came completely blank

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #83 on Thu 25 Nov 2010 07:32 AM (UTC)
Message
Nick can probably advise you on how to download and prepare the published room database, then. It's been discussed in the past though - and I wouldn't be surprised if it was in this very thread - so you might want to do a forum search.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #84 on Thu 25 Nov 2010 07:43 AM (UTC)
Message
The thing is, I'd rather add areas by hand, since this allows me to know where I have and haven't explored (good for discovering new areas and exploration rank)

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #85 on Thu 25 Nov 2010 08:04 AM (UTC)
Message
Ah. I'm confused, can you explain the question again? (Also, I totally agree with your reasoning; that's why I like to do things manually and draw my own maps)

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #86 on Thu 25 Nov 2010 08:30 AM (UTC)

Amended on Thu 25 Nov 2010 08:31 AM (UTC) by Faedara

Message
There's an option to 'set area'
If I can manually input area names, I should be able to label the areas myself using this option. I'm assuming, the way Nick was talking earlier, this requires a database of some sort. I'm also considering figuring out a way to add music depending on the area you're in, but I'm foreseeing a problem with the music starting over every time you move too.

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #87 on Thu 25 Nov 2010 08:36 AM (UTC)

Amended on Thu 25 Nov 2010 08:37 AM (UTC) by Twisol

Message
The mapper automatically creates a database if one didn't already exist, so you should be okay on that front. The part I don't know much about is figuring out how to set the area name for each room in the database.

As for the music, I'd expect there to be code like this:
if current_area ~= new_area then
  start_music(new_area) -- just an example function
  current_area = new_area
end

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Faedara   (106 posts)  [Biography] bio
Date Reply #88 on Thu 25 Nov 2010 08:55 AM (UTC)
Message
Alright, I guess I'll wait for Nick's input and then get to work on developing a snippet to slip into the plugin

The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #89 on Thu 25 Nov 2010 09:54 PM (UTC)
Message
I've changed the mapper to allow you to add areas (assuming the rooms already have an area code).

A copy available here:

https://github.com/nickgammon/plugins/blob/master/ATCP_Mapper.xml


Here are the diffs:

https://github.com/nickgammon/plugins/commit/da02034d35a


In the case of the IRE MUDs you already have an area code (eg. 49 for "The City of Ashtan"). What this code does is let you assign a description to that code.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


437,538 views.

This is page 6, subject is 13 pages long:  [Previous page]  1  2  3  4  5  6 7  8  9  10  11  12  13  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]