Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Plugins
➜ TrekMUSH Navcomp plugin
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Kovarid
(15 posts) Bio
|
Date
| Mon 23 Jun 2014 01:03 AM (UTC) |
Message
| This is my first beta release of my navcomp for ATS TrekMUSH.
http://trekmush.org/ or ats.trekmush.org:1701
The primary purpose is to replace an external program currently used by the playerbase called mapview.
While it doesn't have an actual 3d view like Mapview does, it replicates most of it's functionality.
It requires an external CSV file that has all the space object locations and information, it's included with the plugin and should be put into the plugin directory with it.
Currently it has the following abilities:
- Calculating possible destinations based on heading from any source.
- Plotting an intercept based on your location, target location/destination and speeds.
- Best route from A to B, including Stargates and Cochrane values; Also gives you border crossings and ETA/distances for each.
- Convert any <XYZ> coordinates to/from any frame and GRC.
- Automatically matches basebot output to find destination of lost contacts.
You can type 'atshelp' once loaded for the list of commands.
I am still working out the kinks, I'd call this version 0.8.
Known Issues:
- PlotIntercept will not work if your velocity is same as target. Need to work on the math for that.
- 'Here' only works with plotintercept's <ploc> currently.
Future plans:
- Integration with EconomyMarket to generate trade routes based on your inputs (best money, shortest route, etc.)
- Border avoidance / waypoint generation, to get from A to B while avoiding border C
Currently hosting on my home network on my RaspberryPI. (Be gentle)
http://marqon.pi-raspberry.com/atsnavcomp.zip
Thanks! | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Mon 23 Jun 2014 05:10 AM (UTC) |
Message
| Try time0 = time1 = -c/b if a == 0 and b != 0. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Kovarid
(15 posts) Bio
|
Date
| Reply #2 on Mon 23 Jun 2014 12:12 PM (UTC) |
Message
| Ah, will give that a shot.
To be honest I was going to hold off on releasing it until I did some cleaning up, the code is very messy and you can see where I was trying different methods as I learned Lua, or found a better way to do something. (At one point, I had 4 different versions of traceheading()) ;)
As I learn regexp it'l definitely get better, I plan on replacing a lot of the parsing I do with regexp on the commands.
So if you notice something I did weird or there's a better way to do it, please share.. I won't be offended. | 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.
11,403 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top