RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[REQUEST] Update Notifier

Started by megaempire11, November 28, 2007, 09:26:08 PM

0 Members and 1 Guest are viewing this topic.

megaempire11

I would like to request this script:

It should - every time it starts - , read an page on the net (like http://rmrk.net/MyGame/UpdateNotifier/BETA_0.2.htm).
If the page shows something like: Newest version, it should start normal.
But if it shows something like: Newer Version, it should block the game from starting, and show a message like: BETA 0.3 Released, please update if you want to keep playing.
[spoiler]





[/spoiler]

In my own (fantasy xD) coding language it would look like this:
<$meScript
download ['http://rmrk.net/MyGame/UN/BETA_0.3.msf'] store in = ['variable']
read ['variable']
if ['variable'] shows ['Latest_Version']
           show: ['You got the latest version!']
           open: ['Title_Screen']
if ['variable'] shows ['Newer_Version_%S'] %S = ['variable_version']
           show: ['Version ['variable_version'] has been released, please update to keep playing']
           quit ['Game']
else
           show: ['An error occured while reading version number, please try again later, or contact game support.']
           quit ['Game']
$meScript>

The .msf file could be anything here, because i just wanted to give an example.

Many, many, many thanks in advance,
Megaempire11
Omg, i think i totally pwned you o_0