Page 1 of 3

Scorched Earth MP AutoUpdater v1.1

Posted: Sat 18 Sep 2010 3:18 am
by No457_Squog
S! Guys,

I have created a little script for the purposes of keeping your SEOW Mission Planners up to date without the need for downloading ~600Mb releases each time.

For users that are using the initial release MP AutoUpdater, it is recommended that you uninstall "CVSNT" from your PC and let v1.1 install the updated version of CVSNT.

Any future questions regarding this feature should be directed to me rather than 4Shades.

At the end of the install process, you should have a shortcut on your desktop which will automatically update your Mission Planner (MP) to the latest public release. The Updater will check each file & folder that is in your 'MP4public' directory and compare it with the latest official release on the SourceForge Repository.
  • Pre-Installation:
    1. Navigate to your current Mission Planner directory
    2. Open the Scripts folder
    3. Backup the following files:
      • MP-Configuration.php
      • MP-Connection.php
    4. Rename your "MP4public" folder to "_MP4public"
  • Installation:
    1. Download & run the MP AutoUpdater v1.1 Setup
    2. Follow the prompts in the Setup program
  • Post-Installation:
    1. Modify the following files to your server's configuration:
      • MP-Connection.php
      • MP-Configuration.php
If you have multiple sectors defined in your Mission Planner and would like them re-instated in the updated MP, you need to simply open the MP-Connection.php file that you backed up prior to running setup and enter each sector's connection string into the "Databases" area of the MP.
v1.1 Changelog wrote:
  • Found & Included an updated version of CVSNT
  • Changed the way the installation process occurs
  • Added 'extra smartness' to the 'create.vbs' script (;))
  • Changed cvs command from "checkout" to "update"
  • Added in ignore commands for
    • MP-Connection.php
    • MP-Configuration.php

Posted: Sat 18 Sep 2010 3:35 am
by PA-Dore
Great Squog! It seems like UltraPack update function, isn't it? e.g. I guess if Shades add a new MP sector it will be automatically added to our MP folder?

Posted: Sat 18 Sep 2010 3:38 am
by No457_Squog
PA-Dore wrote:Great Squog! It seems like UltraPack update function, isn't it? e.g. I guess if Shades add a new MP sector it will be automatically added to our MP folder?
  1. Not exactly - it uses the "CVS Repository" which is already embedded into the SEOW Development methodology
  2. Correct :)
By-the-way JP - did you get an e-mail from me a little while back?

Posted: Sat 18 Sep 2010 4:18 am
by PA-Dore
No457_Squog wrote: By-the-way JP - did you get an e-mail from me a little while back?
No, sorry, many problems with SPAM, could you send it again to both adress: dore@flibusteairline.com and jeanpierre@derrier.com

Cheers
JP

Posted: Sat 18 Sep 2010 8:12 pm
by No457_Squog
Download link added!

PS: Don't worry about it JP - it was regarding this package actually :)

Posted: Sun 19 Sep 2010 6:26 am
by PA-Dore
I tried it on a old MP4 folder, (computer XP) it works very well ;-) Some questions:
- Does it work well with XP, Vista or W7?
- What about CVSNT? Have we to stop it after updating?
- What happens when we have different releases of MP4 (4.671 e.g. or oldiest?)

Posted: Sun 19 Sep 2010 6:58 am
by No457_Squog
PA-Dore wrote:Some questions:
- Does it work well with XP, Vista or W7?
- What about CVSNT? Have we to stop it after updating?
- What happens when we have different releases of MP4 (4.671 e.g. or oldiest?)
  1. My testing was done almost exclusively on a Windows Home Server computer, and external beta testing was done on a machine running Windows XP. There shouldn't be any problem with Vista/7, but I do recommend running the installer "As Administrator".
  2. After the updating process is complete, the black box should disappear. This means that CVSNT has closed.
  3. No matter what version of the MP you have installed, it will update it to whatever is on the CVS repository (latest public stable version).
I hope I answered those questions correctly :)

Posted: Sun 19 Sep 2010 7:04 am
by PA-Dore
I guess that I did a mistake of folder, it was installed in .../MP4/MP4... Not a problem, I moved it ;-)

Posted: Sun 19 Sep 2010 5:59 pm
by II/JG54_Emil
Looks like it´s not instsalling in Win7.

The Setup of cvsnt is getting stuck.

Posted: Mon 20 Sep 2010 4:06 am
by II/JG54_Emil
BTW, I think we need something like this for new maps that are SEOW ready.

Posted: Mon 20 Sep 2010 5:12 am
by No457_Squog
II/JG54_Emil wrote:Looks like it´s not instsalling in Win7.

The Setup of cvsnt is getting stuck.
Did you try:
No457_Squog wrote:..I do recommend running the installer "As Administrator".

Posted: Mon 20 Sep 2010 5:32 am
by II/JG54_Emil
yes, I ran it as admin

Posted: Mon 20 Sep 2010 5:48 am
by 102nd-HR-cmirko
sounds like a great feature :) thanks Squog, will test it as soon as new release of SEOW is finished :)

Posted: Mon 20 Sep 2010 6:41 am
by PA-Dore
--> Mirko, Squog: It seems that the release included in this AutoUpdater is the new one? (Mission Planner v.4.706)

I ran it, it works well until the intel.php windows, then I have errors:
Trying to get property of non-object in C:\....\MP4\Scripts\MP-SQL.php on line ....
....
Fatal error: Call to a member function Close() on a non-object...

Posted: Mon 20 Sep 2010 6:43 am
by No457_Squog
PA-Dore wrote:I ran it, it works well until the intel.php windows, then I have errors:
Trying to get property of non-object in C:\....\MP4\Scripts\MP-SQL.php on line ....
....
Fatal error: Call to a member function Close() on a non-object...
No457_Squog wrote:Special Note:
If you choose to use the AutoUpdater, your MP will not work until SEDB32F has been released/installed.