Tuesday, January 27, 2009

[log] SoundRTS 1.0 beta 10 p released (test version)

Available at:
http://jlpo.free.fr/soundrts

This is a maintenance release with some bug fixes, new maps, and very few changes. About multiplayer games, this version is not compatible with the previous ones.

This version might become the feature-frozen, stable, 1.0 branch. New features would be added in the development 1.1 branch only.

The main changes since beta 10 o are:
- added maps CW1 SWK2A SWK2B SWK2C;
- bug fixed: in some maps (CE2 for example) some units were located at the same place and couldn't move;
- added the map making guide;
- added the files for a metaserver (just in case the current one disappeared for good);
- if a server fails to get its IP address from a what-is-my-ip website (no Internet, or what-is-my-ip website down), it won't stop anymore: it will just log a warning and send an empty address to the metaserver, letting the metaserver guess the IP address;
- the URL of the what-is-my-ip website is now stored in a text file;
- the URL of the metaserver is now stored in a text file;
- if, on startup, a server fails to register to the metaserver (no Internet, or metaserver down), it won't stop anymore: it will just log a warning and try again later;
- if a client fails to get the servers list from the metaserver (metaserver down), it will fall back on a static list stored in a text file provided with the client; this list will contain the public servers
- if the main folder contains a folder called "tmp", this folder will be used for temporary files (logs for example) instead of the user's temporary folder;
- if the main folder contains a folder called "user", this folder will be used for user-specific files (user configuration, custom maps...) instead of the user's "application data" folder.

The last 2 changes allow having all the game files in one folder, useful for a USB flash drive configuration, for example. Just copy the SoundRTS folder from the "Program files" and create 2 folders in the SoundRTS folder: "tmp" and "user". "user" can be a copy of an existing "application data\SoundRTS test" folder.

Monday, January 26, 2009

01/26/09 (working on the future beta 10 p, test version)

Done:
- automatically include the map making guide into the packages;
- if the main folder contains a folder called "tmp", this folder will be used for temporary files (logs for example) instead of the user's temporary folder;
- if the main folder contains a folder called "user", this folder will be used for user-specific files (user configuration, custom maps...) instead of the user's "application data" folder;

The last 2 changes will allow having all the game files in one folder, useful for a USB flash drive configuration, for example. Just copy the SoundRTS folder from the "Program files" and create 2 folders: "tmp" and "user". "user" can be a copy of an existing "application data\SoundRTS test" folder.

Friday, January 23, 2009

01/23/09 (working on the future beta 10 p, test version)

Done:
- if, on startup, a server fails to register to the metaserver (no Internet or metaserver down), it won't stop anymore: it will just log a warning and try again later;
- if a client fails to get the servers list from the metaserver (metaserver down), it will fall back on a static list stored in a text file provided with the client; this list will contain the public servers

To do:
- automatically include the map making guide into the packages
- update the map making guide
- fix some bugs or warnings

Possibly:
- rename folders "SoundRTS test" to "SoundRTS 1.0"; "SoundRTS unstable" would become "SoundRTS 1.1"; not sure yet

Thursday, January 22, 2009

01/22/09 (working on the future beta 10 p, test version)

Done:
- added the files for a metaserver
- if a server fails to get its IP address from a what-is-my-ip website (no Internet or what-is-my-ip website down), it won't stop anymore: it will just log a warning and send an empty address to the metaserver, letting the metaserver guess the IP address
- the URL of the what-is-my-ip website is stored in a text file
- the URL of the metaserver is stored in a text file

To do:
- if, on startup, a server fails to register to the metaserver (no Internet or metaserver down), it won't stop anymore: it will just log a warning and try again later;
- if a client fails to get the servers list from the metaserver (metaserver down), it will fall back on a static list stored in a text file provided with the client; this list will contain the public servers;
- add the map making guide

Wednesday, January 21, 2009

01/21/09 (working on the future beta 10 p, test version)

Here is a summary of some of the changes planned for the next test release, concerning the servers.

A public server should require less maintenance:
- if a server fails to get its IP address from a what-is-my-ip website (no Internet or what-is-my-ip website down), it won't stop anymore: it will just log a warning and send an empty address to the metaserver, letting the metaserver guess the IP address;
- if, on startup, a server fails to register to the metaserver (no Internet or metaserver down), it won't stop anymore: it will just log a warning and try again later;
This way, the server will have the priority to stay up. The admin will be informed by the log or by users anyway.

In the long term, the system should be maintainable without me if something breaks, by repackaging the client and providing a new metaserver:
- the URL of the what-is-my-ip website and the URL of the metaserver will be stored in a text file;
- the files for a metaserver will be provided (at least a simple metaserver)

The system should be up as often as possible (avoid downtime):
- if a client fails to get the servers list from the metaserver (metaserver down), it will fall back on a static list stored in a text file provided with the client; this list will contain the public servers;

These changes should be small enough to keep the stability of the previous release.

Friday, December 26, 2008

Some news about SoundRTS

A new test version might be released before February:
- It would include the files for a metaserver (just in case the
current one disappeared for good).
- The URL of the metaserver and of the what-is-my-ip server would be
defined in a text file.

A new unstable version might be released before April:
- The rules of the game would be defined in text files (and the AI
probably too).

Friday, August 1, 2008

[log] SoundRTS 1.0 beta 10 o released (test version)

Available at:
http://jlpo.free.fr/soundrts

The main changes since beta 9 are:

Optimizations:
- in multiplayer games, the clients and the server communicate in a more efficient way: only the orders are sent to the server, and each client simulates the game, so the multiplayer games are much faster and allow much more units.
- in solo and multiplayer games, important speed improvements, especially for big maps or games with many units

Interface:
- new: press control + tab to cycle through woods, gold mines and meadows
- now the units emit a signal when they are given an impossible order or when the order is no longer possible
- change: press F9 instead of F12 to check the objectives
- change: press F11 instead of F9 to check the players (in a multiplayer game)

Game rules:
- the food provided by farms is 8 instead of 4
- the training time is divided by 2 (the research time stays the same)
- the global food limit is not dynamically shared among the players anymore, but is simply the food limit for each player and for the entire game (for example, instead of having, in a map with 2 players and a global limit of 80 food, 80 divided by 2 equals 40 food for each player, now each player simply have a maximum of 80 food.)
- now a mage don't try to teleport to his current square (useful to save mana when giving the same teleportation order to many mages)
- removed HP auto-regeneration (instead of 1 HP every 15 seconds)
- added a cost to repairing; repairing a building costs less resources than building a new one but takes more time
- improved wood gathering (lumber mill): now a peasant brings back 3 wood instead of 2.5 wood

Multiplayer:
- about 50 multiplayer maps (thanks to the contributors!)
- added a very fast speed (4 times) for multiplayer games
- list players and games when login
- say the players list of a game when a player registers or unregisters for this game
- the server will disconnect players who pause or timeout for too long (20 s), so the other players can continue to play