Utility script: load your own ships into VCRSimulator

« Back to Developers

2633 days, 4 hours, 52 minutes ago
View lord helmet's profile
lord helmet
Utility script: load your own ships into VCRSimulatorWrite Reply
Just added a drop-down-list for own ships in the Simulator.

http://userscripts.org/scripts/show/134293
2633 days, 4 hours, 33 minutes ago
View vepr's profile
vepr
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
thanks, very handy
2632 days, 15 hours, 38 minutes ago
View tom n's profile
tom n
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Nice script! Very useful. Might be asking a bit much, but can it offer opponents' ships also? Ships that I've seen or already fought earlier in the game?

BTW, Has NU ever discussed plans to improve the Battle Simulator? Doesn't seem too hard to have the SIM remember the damage, remaining fighters, etc, of the winning enemy ship so we don't have to manually enter the info for the second battle.
2631 days, 21 hours, 1 minutes ago
View lord helmet's profile
lord helmet
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
New version 0.2 lets you select your planets too.

The way it works now, enemy ships are not possible to add. Actually the "list of ships the player can see on the star map this turn" could be used, but their weapons could not be retrieved and are not known to the simulator. As I come to think of it, allied ships show their weapons, so I'll bring them in with a later version. Feel free to comment on that idea (and suggest how to display different ownership - colour?)

As said before, weapons, damage, fighters/torps etc. are not stored outside the vcr, but with some effort it could be possible to retrieve them from there, store them in a database (cookie?) and add them to the enemy ship display or at least the ship's notes...
2631 days, 13 hours, 50 minutes ago
View big beefer's profile
big beefer
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
I like it! One thing I noticed is that the mass that gets loaded for my ships seems to include cargo as well. I didn't check to see if this affected the results or was a display-only issue, but you may just want to use the hull mass here instead.
2631 days, 11 hours, 40 minutes ago
View lord helmet's profile
lord helmet
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
What a blunder... Thanks big beefer. I updated the code, but could not yet test it.
2630 days, 21 hours, 35 minutes ago
View lord helmet's profile
lord helmet
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Version 0.4 shows correct mass and hides things that aren't there, torps on carriers, fighters on torpers, both on freighters and  starbase stuff ...
2198 days, 23 hours, 9 minutes ago
Profile Image
kedalion
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Looks like this thread should be pushed to the top end now that it has been updated for the new client.

helmet, I realized that my enemyShipList plugin didn't have damage and crew yet which your vcr loader expected. I believe you fixed it with default value, I added them in version 1.03.

I do see problems when watching actual combat recently. The VCR doesn't load when your plugin is enabled and the console error message is "Uncaught TypeError: Cannot read property 'beams' of undefined". I saw it for various combats. Examples were game 815, player 5, turn 68  or 112.

2198 days, 13 hours, 10 minutes ago
View lord helmet's profile
lord helmet
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Thanks kedalion, I uploaded a fix.


Btw. this addon also includes special starbases (radiation base and mining base).
2198 days, 5 hours, 40 minutes ago
Profile Image
kedalion
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Hehe, turned on my computer and Chrome/Tampermonkey showed me a little window asking if I wanted to update your script to the newest version. :)

All works fine now.
2196 days, 0 hours, 51 minutes ago
View tom n's profile
tom n
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Hi guys, Not sure what happened but I can no longer use these (useful) scripts anymore. I use Chrome and Taper Monkey. They used to work fine, but now I need to disable them both (Enemy Ships & Load Own Ships to VCR) in order to watch my VCRs. If enabled and I click on VCR I get zero response.
2196 days, 0 hours, 34 minutes ago
View lord helmet's profile
lord helmet
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
Are you using the most recent versions of both scripts? There are some known incompatibilities.
Current versions are Simulator V1.0 and enemy ships V1.04
2195 days, 23 hours, 34 minutes ago
View tom n's profile
tom n
RE: Utility script: load your own ships into VCRSimulatorWrite Reply
That was it. I had version 0.9 not 1.0. Thank you!