Author Topic: New stuff on the wiki  (Read 29913 times)

Offline Diazo

  • Master Member Mark II
  • *****
  • Posts: 1,717
  • I love/hate Diff 10
Re: New stuff on the wiki
« Reply #150 on: June 09, 2013, 11:11:07 am »
Note that anyone who wants to help out, the 'Ship Stats Tables' you see on the ship pages are automatically created through an automated script (that I'm currently tweaking for the new expansion so I have not updated any ships recently) so any changes made to those tables will be lost the next time they get updated.
Why is this script needed?
This script automates updating the changes made to the ship statistics when a patch comes out. Rather then having to go to each page manually and make the updates by hand, this script will update everything in a couple minutes with a button press. The limitation being that only the stats table is updated, the script does not touch the ship description at the top of the page.

I decided to automate it because every a normal patch can have a dozen ships that have changed stats, and a big update like the Starship or the Guard Post one can have several dozen.

Add in the armor rework coming down the pipe that will require updating all ship pages (which is over 200 at this point I'm pretty sure), automating it just made sense.
Quote
Why does this script need to be updated and how are you tweaking it?
The current version of the script makes a text string I have to manually copy-paste onto each ship page. I'm tweaking it so it can update everything in one go automatically. (See below)
Quote
"any changes made to those tables will be lost" Would the update simply remove all the stats or restore the old ones?
Because I am automating it, the entire table gets refreshed when I update the table for a ship. (More details below)
Quote
When will this update happen?
I run the update manually when a patch is released, usually within 24 hours, as it requires running on my local machine (it's in a Microsoft Access Database).
Quote
How often does this update happen?
(Same question as 'When'?)

For more details see the Fighter page.

If you go into edit mode, everything that is actually on that page is editable and will not be lost because of this automated script.

Note however the stats table does not show, rather the {{AIWarTableFighter}} is a link to another page that has the stats table.

A limitation of the Wiki is that to automatically update a page, I have to update the entire page, I can't just update part of a page.

To work around this, the {{Fighter}} page is the human-edited part and not touched by the script, when the {{AIWarTableFighter}} page is the automated part and gets wiped and recreated when I upload any changes.

Note that this is not finalized yet if you think something needs changing. I did the fighter page manually to show how I'm intending this to work, the script itself is not up and running yet. (This also means only the Fighter page has the link at this point, I have yet to create the link to the ship stats for the other ship pages yet.)

In short, you can make changes to the ship page itself and nothing will be lost. It is the AIWarTable page that I'm updating with the script and any changes you make there will be lost when the script runs. (In the current setup anyway, I am open to suggestions if you have some ideas.)

D.
« Last Edit: June 09, 2013, 11:13:16 am by Diazo »

Offline Qatu

  • Full Member
  • ***
  • Posts: 139
Re: New stuff on the wiki
« Reply #151 on: June 10, 2013, 04:26:56 pm »
 Hi, I'm reposting this here as where I posted it was probably the wrong place...

---------------------

 Hi, i hadn't played with trains in a while, so i started a game with them and i guess they're ok, but I thought all the trains were generated at start, and I just saw 4 trains (including a cargo) spawn at a train station I kept in my territory that i was keeping there to lure trains to my death trap.

 Soooo, can anynoe update the wiki page on astro trains with details on train spawns during the game and what influences it?

edit: would be nice also if the wiki page said what the cargos will build on what intensity, on intensity 4 i though they would be sending golems at me (:D) but instead my 120 planet map is now filled with super fortresses (:().

Offline Diazo

  • Master Member Mark II
  • *****
  • Posts: 1,717
  • I love/hate Diff 10
Re: New stuff on the wiki
« Reply #152 on: June 10, 2013, 09:36:10 pm »
Hi, i hadn't played with trains in a while, so i started a game with them and i guess they're ok, but I thought all the trains were generated at start, and I just saw 4 trains (including a cargo) spawn at a train station I kept in my territory that i was keeping there to lure trains to my death trap.

 Soooo, can anynoe update the wiki page on astro trains with details on train spawns during the game and what influences it?

edit: would be nice also if the wiki page said what the cargos will build on what intensity, on intensity 4 i though they would be sending golems at me (:D) but instead my 120 planet map is now filled with super fortresses (:().

Okay, I added a "Train Mechanics" section to the wiki if people want to expand it.

D.

Offline Qatu

  • Full Member
  • ***
  • Posts: 139
Re: New stuff on the wiki
« Reply #153 on: June 10, 2013, 11:42:14 pm »
 Thanks for the info, I never would have figured that leaving the least threatening train in a batch alive was the optimal way to play this.

 Also as a data point, on trains:4 there are 4 trains spawned at a time.

Offline Diazo

  • Master Member Mark II
  • *****
  • Posts: 1,717
  • I love/hate Diff 10
Re: New stuff on the wiki
« Reply #154 on: June 11, 2013, 12:03:47 am »
Added your data point.

Also added a comment on not being sure if the cap was per train or per convoy on when the 11th convoy will spawn as you destroy existing Astrotrains.

D.

Offline Qatu

  • Full Member
  • ***
  • Posts: 139
Re: New stuff on the wiki
« Reply #155 on: June 11, 2013, 12:12:39 am »
 I'm almost certain its by convoy since i never saw spawns of less (or more) than 4.

edit: thanks for the good work on the wiki, it improves the game tremendously.

Offline Bognor

  • Hero Member
  • *****
  • Posts: 570
Re: New stuff on the wiki
« Reply #156 on: June 11, 2013, 01:49:59 am »
I updated that page to reflect that most trains no longer have tachyon emmisions, and note which are autotargeted.

The two lists of trains are currently sorted alphabetically.  Would folks find it more convenient if they were sorted by minimum intensity to spawn?  So you'd have Cargo and Regenerator Trains up the top and Nuclear Trains down the bottom.  I suggest this because the first thing I wanted to know when starting a game with Astrotrains is what intensity I should use, which was based on which trains would spawn.
Your computer can help defeat malaria!
Please visit the World Community Grid to find out how.

Offline Histidine

  • Hero Member
  • *****
  • Posts: 581
Re: New stuff on the wiki
« Reply #157 on: June 12, 2013, 11:24:28 am »
Not really a major thing, but the Captive Human Settlement unit description - spot the contradiction ;) (and outdated information, IIRC the ingame tooltip has long been updated)