Scorched Earth MP AutoUpdater v1.1

For bug reports and fixes, installation issues, and new ideas for technical features.

Moderator: SEOW Developers

No457_Squog
Posts: 28
Joined: Wed 11 Jul 2007 6:28 am
Location: Melbourne, Australia
Contact:

Scorched Earth MP AutoUpdater v1.1

Post 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
Last edited by No457_Squog on Fri 02 Dec 2011 10:28 pm, edited 7 times in total.
Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post 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?
No457_Squog
Posts: 28
Joined: Wed 11 Jul 2007 6:28 am
Location: Melbourne, Australia
Contact:

Post 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?
Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post 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
No457_Squog
Posts: 28
Joined: Wed 11 Jul 2007 6:28 am
Location: Melbourne, Australia
Contact:

Post by No457_Squog »

Download link added!

PS: Don't worry about it JP - it was regarding this package actually :)
Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post 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?)
No457_Squog
Posts: 28
Joined: Wed 11 Jul 2007 6:28 am
Location: Melbourne, Australia
Contact:

Post 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 :)
Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post by PA-Dore »

I guess that I did a mistake of folder, it was installed in .../MP4/MP4... Not a problem, I moved it ;-)
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

Post by II/JG54_Emil »

Looks like it´s not instsalling in Win7.

The Setup of cvsnt is getting stuck.
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

Post by II/JG54_Emil »

BTW, I think we need something like this for new maps that are SEOW ready.
No457_Squog
Posts: 28
Joined: Wed 11 Jul 2007 6:28 am
Location: Melbourne, Australia
Contact:

Post 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".
Image
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

Post by II/JG54_Emil »

yes, I ran it as admin
102nd-HR-cmirko
Posts: 179
Joined: Tue 16 Jan 2007 8:29 am
Contact:

Post by 102nd-HR-cmirko »

sounds like a great feature :) thanks Squog, will test it as soon as new release of SEOW is finished :)
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post 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...
No457_Squog
Posts: 28
Joined: Wed 11 Jul 2007 6:28 am
Location: Melbourne, Australia
Contact:

Post 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.
Image
Post Reply