I say a combination of 1 and 3. Once network is stable, ignore any values to
disable it. At the same time, if the value is found in the config file, just
delete it (or make a new config file without that value if libxml doesn't
support deletion). The user should never even know the difference.

On 2/17/07, Eddy Petrișor <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I wanted to test a little the current network code and found out
that the way to enable it is broken since it does not provide a way
to upgrade from 0.7.9 to a 0.8+/SVNwithnet version for the whole system.

This is killing distro support since there is currently no upgrade
path from a non-networked to a networked variant of the game, i.e.
when the new version will arrive the network code will remain
disabled if 0.7.9 was previously disabled.


Proposals to fix this:
1) add an argument (--net) which would enable the code and save the
setting in the config file; this can have a --nonet counter argument
to disable and save default; with no params, the game starts as it
does now
2) use an in-game override hard coded value and make a logical or
between the hard coded value and the option in the registry to
decide if the registry value is needed or not; this is cleaner from
a user POV, allows upgrades to networked enabled future releases,
but is ugly since the config is poluted (maybe we can decide to
clean up by means of keeping an internal version, but that seems ugly)
3) just ignore the value starting from the first stable release with
network code enabled by default (still clean-up remains an issue)

What do you say? Which one seems to be the nicest?

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF175SY8Chqv3NRNoRAoj3AKDIfR2j3tG/zixXWioCQLPg6VIIcgCfZUGv
RQKcx0c9Qv7fhiYUS21x/mU=
=JrZO
-----END PGP SIGNATURE-----

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à