Utility Script: Improvements to Ship List display

« Back to Developers

2657 days, 0 hours, 52 minutes ago
Profile Image
dtolman
Utility Script: Improvements to Ship List displayWrite Reply
An ongoing project to improve the Ship List display:
http://userscripts.org/scripts/show/132490

First features to be added in -
-Adds Ship Name back to the list (why was this ever taken away????)
-Color codes ship names for HYPing ships depending on Destination Distance and FC.
Blue=no HYP set
Green=HYP set, distance is between 340 and 360
Red=HYP set, distance is no good, or Distance is between 340/360, and HYP not set.
Yellow=HYP set, distance is less than 20
2656 days, 8 hours, 23 minutes ago
Profile Image
cb1
RE: Utility Script: Improvements to Ship List displayWrite Reply
Looks useful (but don't let my my favourite Borg opponent see it!).

Any chance of putting in the names of planet destinations? I miss that. (Yes, advanced players later in the game rarely head directly to a planet, but I like it.)
2654 days, 5 hours, 23 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Good idea - I've posted v0.2:
I've added in a destination field
Mod can be temporarily deactivated from settings screen

Open to any and all ideas people may have.
2654 days, 2 hours, 4 minutes ago
Profile Image
cb1
RE: Utility Script: Improvements to Ship List displayWrite Reply
Many, many thanks! That would have saved me much grief a few times. It's a fast way to check they're doing what I think they are.
2653 days, 5 hours, 57 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v0.3 is now out. Two big improvements:
-It doesn't just say Warp Well now, but Planet_Name Warpwell - so you know what planet's warpwell you're heading to
-Ever try chaining together a few moves, and accidentally have a ship not move because the first leg is in the local warpwell? Well no more! If the first leg of a ships multi-leg journey is the local planets warpwell, it'll mark the destination in red on the ship list!
2648 days, 12 hours, 37 minutes ago
View capnkill's profile
capnkill
RE: Utility Script: Improvements to Ship List displayWrite Reply
Any chance we can do something for ships going at Warp 1?  

Too many times I've had a ship in a warpwell, wnated to finally move it out 80 lyrs to another destiantion but forgot to change the warp from 1 :(
2647 days, 7 hours, 29 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Was just thinking the same thing (after I tried to move a fleet out of warp well, and found a few stragglers trying to go 84 LY at warp 1 - doh!)

V0.4 is out:
-Checks for ships moving long distances at warp 1 (greater than 3 LY)
-Fixes check for HYP so it looks at first destination, not just final.

2647 days, 3 hours, 11 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
This has been updated to work with the new interface (and tested).
I also fixed an upload problem that was causing 0.4 to fail.
2647 days, 0 hours, 47 minutes ago
View capnkill's profile
capnkill
RE: Utility Script: Improvements to Ship List displayWrite Reply
Fantastic, thanks!!
2625 days, 15 hours, 10 minutes ago
View capnkill's profile
capnkill
RE: Utility Script: Improvements to Ship List displayWrite Reply
Got a new one for you... Ships with "NTP" friendly code :) 

2622 days, 5 hours, 41 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Done! And BDM while we're at it too :)

v0.5 is now out
-checks friendly codes regardless of capitalization
-highlights BDM and NTP friendly codes in orange on status view

look for v0.6 with cloak status in the near future (pondering how best to visually present this in ship list view)
2621 days, 22 hours, 4 minutes ago
View capnkill's profile
capnkill
RE: Utility Script: Improvements to Ship List displayWrite Reply
Thank you!!
2616 days, 2 hours, 55 minutes ago
View lord helmet's profile
lord helmet
RE: Utility Script: Improvements to Ship List displayWrite Reply
With this script enabled, the "Fleet view" is empty.
2614 days, 18 hours, 15 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Fixed. I added a typo into the fleet view code.

While I was at it, I've added color coding to cloaking ships as well (ship names)
Blue=Currently uncloaked - cloaking set 
Green=Currently cloaked - cloaking set 
Red=Currently uncloaked - no cloaking set 
Yellow=Currently cloaked - no cloaking set

Suggestions for further improvements welcome!
2596 days, 20 hours, 2 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Sick of trying to move to a planet warpwell, but ending up just outside of it instead?

No more! version 0.7 is now available, and will now bring these situations to your attention by highlighting the destination in Orange. It will also list the destination as being Outside (Planet X's) Warpwell, so you know what planet you were >< (this close) to reaching.

As always, I am open to any suggestions on how to improve the ship list view.
2596 days, 20 hours, 0 minutes ago
View vepr's profile
vepr
RE: Utility Script: Improvements to Ship List displayWrite Reply
Nice work, as always!
2570 days, 6 hours, 8 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Working on my next improvement - notification for when you try moving your tech 7/8 equipped ship like its got tech 10.

Still need to figure out if I just want to display a warning when you will fall 17 LY short of your destination, or just a blanket warning for tech 7/8 equipped ships trying to go 65-84 LY for next destination. Any opinions?
2570 days, 5 hours, 54 minutes ago
View spiper's profile
spiper
RE: Utility Script: Improvements to Ship List displayWrite Reply
I'd say put up a warning if you're going to fall short.  If you're going too fast you've specifically set your speed.
2560 days, 2 hours, 23 minutes ago
Profile Image
cb1
RE: Utility Script: Improvements to Ship List displayWrite Reply
Wow! One utility checks for a gazillion things -- on one screen. A huge list of silly mistakes to look for! (I can see myself making every single one of them.)

Eventually, you might want to create a separate report, with all the room you need. List each ship (linked to the actual ship control screen, of course), then take as many lines as you need to list cargo, destination, notes, and things we might want to check -- in English rather than colour-codes.

Keep up the good work!

2559 days, 20 hours, 11 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Indeed, every single check in this is to fix a repeated in-game mistake of my own.
which brings us to...

Ever try to move your ship between planets, only to find out later that it wasn't set to move warp 9 and you've revealed yourself to your foes? 

No more! Version 0.8 is now available: If you're going warp 7 or 8, but moving a distance thats more appropriate for someone going faster - your engine type is now colored yellow as a warning in the shiplist view.
2485 days, 0 hours, 37 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Behold - in honor of having to update the script anyway, I've added a new feature to remove something that annoyed me!

In addition to working, v0.9 will no longer hi-lite HYPerjumping ships that have no destination set in red. They are now singled out in pleasing Aqua instead.

Look for changes in the near future, so I can stop pillaging/rebel assaulting my own worlds
2485 days, 0 hours, 37 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Behold - in honor of having to update the script anyway, I've added a new feature to remove something that annoyed me!

In addition to working, v0.9 will no longer hi-lite HYPerjumping ships that have no destination set in red. They are now singled out in pleasing Aqua instead.

Look for changes in the near future, so I can stop pillaging/rebel assaulting my own worlds
2447 days, 5 hours, 8 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v1.0 is now posted - it has been rewritten to work with both the original planets.nu site, and the new api's at the play.planets.nu site.

If any problems are found (or if you have suggestions), please let me know.
2447 days, 3 hours, 5 minutes ago
View red megaman's profile
red megaman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Just recommended this script in another thread.  The colour-coded cloaking indicators have saved me several times.

Known enemy ships is still not working for me, though.  I just get a blank field on the dashboard (FF17).  Back when it was working it frequently also listed enemy ships already destroyed.  Still, nice to have.
2447 days, 2 hours, 39 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
AFAIK you've never been able to get a list of known enemy ships.

The ship list code in the normal -  and modded versions - only goes through your ships.

BTW - I have been working on an alternate view that gives a list of all ships - enemy and yours. Still very much a work in progress...
2447 days, 2 hours, 28 minutes ago
View red megaman's profile
red megaman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Yeah, that's actually Lord Helmet's Extended ship list addon.  I got confused...  I've got so many installed.

So, disregard everything but the praise :-)
2447 days, 1 hours, 22 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Inspired by Red Megaman's post, and to get early feedback, I've decided to post the new shiplist mod which includes a new tab for total ship view.

Please keep in mind this is very much a work in progress. It shows ship name, hull type, race info, speed, and destination for ALL known ships. It also color codes ships using my default map coloring mod colors, or if you install my mod, the colors you have set locally.

Jump to ship functionality is disabled until I can verify it works with friendly and enemy ships.

Any feedback welcome

2447 days, 0 hours, 50 minutes ago
View red megaman's profile
red megaman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Wohoo!  This is great!

Do you plan to add information on damage, weaponry and ammo to enemy ships?

It would be useful to see how many torps/fighters are onboard ships without having to use the time machine.  If a ship disappeared from scan range after getting the ammo information, the last known info could be indicated by a question mark or something?  Of course, ships could be supplied from cloakers anyway, so the best solution might just be to give last known information with indication of which turn the information was gathered.
2447 days, 0 hours, 47 minutes ago
View red megaman's profile
red megaman
RE: Utility Script: Improvements to Ship List displayWrite Reply
On another note.  Is it possible to have nested sorting?  I.e. sort first by Race, then by Hull type, for example?  This would also be useful for planet and starbase views.
2447 days, 0 hours, 26 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Things I want to add over next few weeks/months:
-Toggles to show or hide certain races (allies, enemies, neutral, yourself)
-Nested sorting (need to research how to do this, may not be possible with current framework)
-Additional ship information (that doesn't require accessing turn history)
-Current location
-Jump to ship in map view
2444 days, 0 hours, 17 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
New version 1.21 posted.
Additions to complete ship list view (this is only on the planets.nu interface right now, not play.planets.nu):
-can now jump to your own ship in map view (tried code for unowned ships-  not happy with result)
-now shows current location of ship (and coordinates).
-have added 12 filter buttons up top to hide/show various player slots, and unowned ships (it can happen)
This filter is dynamic - page will refresh immediately.
-filtered out players are listed at the bottom since I haven't refreshed the button names yet (next version - hopefully).

Any comments, suggestions welcome.

Roadmap:
-improve filters
-dynamic button labels (will need to apply this to my other mods also, eventually)
-jump to unowned ships on map
-additional ship information (did a test, and got some odd results - don't want to accidentally leak info that shouldn't be shown).
2331 days, 19 hours, 26 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
After a few months hiatus, its time to begin the next phase of development for this mod - adding in controls that directly let you control the echo cluster from the shiplist display.

I plan on posting a (very much) work in progress tomorrow, just to get early feedback.

Planned features to be added to the fleet view (we'll see what I can get to work):
-set all ships in a location to the same destination with a single button click
-color coded fuel check (necessary with the above feature)
-change FC
-change ship mission (this may be too much work - we'll see).

If there are other features I can add which will help speed up turn times, let me know and I'll see if its feasible for me to add in.
2322 days, 2 hours, 47 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v1.3 is now up, and the newest phase of my mod has begun!

You can now go into the Fleet View of the Ship listview display, and click on a button to set all other ships at that location to the same destination.
Definitely a work in progress, but I wanted to post it now that basic functionality was in - feel free to give any suggestions for other things to add in!
2321 days, 3 hours, 31 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v1.3.1 is now up.

I've renamed Fleet to Fleet/Command... because now you can change your FC from the F/C view too*!
Next in my lab... changing the checkbox from there. Because I can (at least, I hope I can).

*I had to take away click to ship on the Fleet/Command view - it was annoying...
2321 days, 1 hours, 30 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v1.3.2 going up now.

Checkboxes can be controlled from the Fleet/Command view now. Will be looking at the feasibility of controlling mission settings from the F/C view next.
2314 days, 2 hours, 21 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v1.3.3 now out.

All views have the ship mission listed now...
Will be adding in the ability next to select the ship mission from the fleet/command view.
2313 days, 1 hours, 52 minutes ago
Profile Image
gudmo
RE: Utility Script: Improvements to Ship List displayWrite Reply
As a privateer in a couple of games I like the "Complete Ship View" especially the min/max fuel column...

Any chance to add this to the play.planets.nu client anytime soon ?
2312 days, 22 hours, 42 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
No problem. I'll look into adding it to the play client next week.
2311 days, 3 hours, 1 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
By popular demand (mine), the Ship List Mod now has the added ability to set your Ship's Mission from the Fleet/Command view in the newly released 1.4 version.

One caveat - I don't check whether or not Cloaking is valid for that ship, so be careful with that as you can set an invalid mission (will try to address this in future version).

Also, the Complete Ship View tab is now available for play.planets.nu client. I've made some miscellaneous improvements for play.planets.nu support as well.

If there are any problems you see on either client (planets.nu or play.planets.nu) please let me know.
2310 days, 22 hours, 46 minutes ago
Profile Image
gudmo
RE: Utility Script: Improvements to Ship List displayWrite Reply
Very good stuff, only the script locks up my Chrome browser for some games when I click on the Complete list. 

Something not quite right there..
2310 days, 22 hours, 13 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Are you on play.planets.nu or planets.nu?
2310 days, 20 hours, 27 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
NVM - found the bugs in the play.planets.nu client version and fixed it. Think it should be up and running 100% at this point - but let me know if you find anything.
2309 days, 1 hours, 43 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Some miscellaneous improvements that greatly help utility and usability in todays update (v1.4.2):
- Fleet commands now sets all waypoints to match the selected ships, and updates destination text.
- Setting the mission will no longer allow cloak to be set improperly on non-cloaking ships.
- Can now click on left side of Fleet/Commmand view to jump to ship as in other views.
2309 days, 1 hours, 35 minutes ago
Profile Image
gudmo
RE: Utility Script: Improvements to Ship List displayWrite Reply
The bug is gone but I seem to remember a Max/Min fuel calculation for enemy ships... Was that only in a older version?
2309 days, 1 hours, 22 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
There was another mod that touched the Ship List view - that may have been that one you're thinking of...
2309 days, 1 hours, 6 minutes ago
Profile Image
gudmo
RE: Utility Script: Improvements to Ship List displayWrite Reply
Right, would love to see that in your tool though.. :D

Anyway... the complete ship list view has a few more bugs.
#1 - Race ID colum width is way too wide.
#2 - Hull and ID columns are switched
#3 - The Mission column has the location
#4 - The location column has the hull type name
#5 - The Hull columns has a number... probably heading or something?
#6 - The mouse pointer changes to a hand over the list but clicking does nothing

I think that's it for now... haven't really looked into the other lists that much
2303 days, 7 hours, 49 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
I fixed the mixed up column headings, so it should be readable now - new version is 1.4.3
thanks for pointing out the bugs.
2285 days, 10 hours, 12 minutes ago
Profile Image
gothan
RE: Utility Script: Improvements to Ship List displayWrite Reply
starbases notes view isn't working?

there is no planets notes view?
2285 days, 9 hours, 14 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
I only have touched the ship related views. 
The planet and SB views are the original ones.
2282 days, 21 hours, 31 minutes ago
Profile Image
gothan
RE: Utility Script: Improvements to Ship List displayWrite Reply
I love your script!
It's making my games way more organized.

May I ask for something to add?
I would like to see the ready-check mark in the notes view.
2282 days, 21 hours, 17 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Lucky for you I had the code open when you asked - done!
v1.4.4 is now posted - ready checkbox is now in the notes view.
2282 days, 20 hours, 6 minutes ago
Profile Image
gothan
RE: Utility Script: Improvements to Ship List displayWrite Reply
OMG!

That is great! I went to eat something, came back and saw that you've already finished it!
You're the best! I hope we'll meet someday in space!
2260 days, 1 hours, 10 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
v1.5 is now up. Its not fully functional, but figured something is better than nothing.
The highlights:
-The fleet/commmand view is now renamed Command view
-When using the Command view's set destination command, it checks fuel. Set destination is for all ships at a location (it is not fleet aware).

Those on v2 (planets.nu/home) and can now play with my experimental fleet view.
It list Fleets by name, fleet size, and flagship info (flagship being lowest id ship in the fleet)

I'll be expanding out what this view can do - my hope is I can get it so clicking on the fleet will list out all of the ships.

I'm open to any suggestions on what should be in this fleet view, though no promises on whether I will (or can) fulfill all requests.
2259 days, 4 hours, 39 minutes ago
Profile Image
gothan
RE: Utility Script: Improvements to Ship List displayWrite Reply
the ready check box is gone :p
2259 days, 0 hours, 55 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Sorry Gothan: Now fixed!
---------------------------------------------------------
v1.6 is now posted - I've added in all the functionality from the command view to the fleet view (for good or ill - the command buttons act on all ships at location, not all ships in fleet) - I'll address next update. More importantly (maybe not, but more fun to code), it now shows fleets, and you can toggle a fleet to show all ships in the fleet.

I'll add some kind of color/highlighting to make it a more readable next update, but thats all I have time for today, so figured I'd post where I left off as it is functional (I hope). Any bugs, let me know.
2253 days, 6 hours, 11 minutes ago
Profile Image
anaconda
RE: Utility Script: Improvements to Ship List displayWrite Reply
link is broken, gives a 502 "bad gateway" warning
2253 days, 6 hours, 3 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
I think userscripts.org is down. Get the same on the main page.
2253 days, 1 hours, 55 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
OK - v1.7 is now up. Mostly minor coding changes in the fleet view:
-fleets are now highlighted with bold font. Ships regular font.
-The set destination command now acts on the fleet, as opposed to all ships at that location
-fixed the column headers in the fleet view.

Assuming it seems stable to everyone, I'll work next to port this to v3 (currently the new fleet view is new client only). Then it'll be back to the fleet mod for fleet related work for the time-being.
2248 days, 3 hours, 11 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
The nice thing about an amateur mod project is that I can feel free to disregard all promised milestones on a whim...

...so please enjoy v1.8, which introduced checking for Pillage and Rebel Ground Assault missions. When active, the ship mission will be colored Green (Pillaging/assaulting an enemy), Yellow (Pillaging/assaulting someone you are allied with), or Red (Pillaging/Assaulting yourself!).
The mod will check regardless if you click on the planet exactly, or its warpwell (which could result in false positives - not sure how RGA works with hyperjumping and warpwells). Any problems, let me know... next update will be for the fleet view (probably).
2224 days, 1 hours, 25 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Went ahead and made it so all client versions are caught up. v1.81 is now posted...
Users of the v3 (play.planets.nu) site will now get the Fleet View (experimental) tab when they go into the ship view. Any problems - let me know.
--------------------------------------------
Working separately on my fleet mod, will have a new version out next week (probably).
2220 days, 23 hours, 44 minutes ago
View veldan's profile
veldan
RE: Utility Script: Improvements to Ship List displayWrite Reply
Hey D,

Think I'm going to point you at this thread.


Chrome users with tampermonkey can't get the script to go active.  You should include planets.nu/*.  Apparently Kedalion put some version checking in his scripts now to ensure that they work only with the correct version.
2220 days, 21 hours, 17 minutes ago
Profile Image
kedalion
RE: Utility Script: Improvements to Ship List displayWrite Reply
Dtolman already has the correct version checking in his code. His script even supports old and new client where I simply don't let the script run in the old client. For his scripts the change to just 'planets.nu/*' shouldn't cause problems.
2220 days, 21 hours, 15 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
Thanks for the heads-up - as Kedalion mentioned, my script is already setup with the relevant urls (I think), and version checking on top of that - so I don't think it should be an issue.

I play on both Firefox and Chrome depending if I'm at work or home, so I'll find any problems in my script if I'm wrong - don't worry :)
2220 days, 21 hours, 2 minutes ago
View veldan's profile
veldan
RE: Utility Script: Improvements to Ship List displayWrite Reply
I think things may have gotten muddled talking about the versions... my bad. But your include line is planets.nu/home/*, and should just be planets.nu/*. It won't work in chrome with tampermonkey. (It's what I did today to make it work, prior to that the script didn't work).

BTW it (now) looks AWESOME!
2220 days, 6 hours, 10 minutes ago
Profile Image
dtolman
RE: Utility Script: Improvements to Ship List displayWrite Reply
OK - I gotcha. I've updated all of my scripts to include http://planets.nu/* - so all my scripts should work now with the main site.