Home » Stars! 2.6/7 » The Academy » Changing Player Colours?
Re: Changing Player Colours? |
Sat, 14 March 2009 17:31 |
|
PaulCr | | Chief Warrant Officer 3 Stars! V.I.P
| Messages: 187
Registered: February 2007 Location: An Island that kinda look... | |
|
It just checks that the file length is 3,344,384 bytes in length, if not then it won't load and the save button remains disabled, I would assume that the likelihood of any other stars version happening to be the same size is pretty remote although I haven't checked.
To cause problems with another version, the user would first have to ignore the version message and try to load another version into it, that would have to be the same size as the 2.6jrc4 version, the colour values would have to be in a completely different place which if the file size is identical is less likely, the user would have to completely ignore the fact that the existing colours it displays are obviously incorrect, the user would have to change at least one of the colours and then they would have to save it. And even in the unlikely event all of that takes place and they hadn't kept a backup they'd still be able to re download the original file from autohost.
I could check for specific bytes in the file but given that checking the file size is almost certain to be enough I'll only bother doing it if an existing version happens to be the same size and it's colour table is in a different place.
[Updated on: Sat, 14 March 2009 17:31] Report message to a moderator
|
|
|
|
|
Changing Player Colours?
By: PaulCr on Fri, 13 March 2009 18:11
|
|
|
Re: Changing Player Colours?
By: gible on Fri, 13 March 2009 18:32
|
|
|
Re: Changing Player Colours?
By: PaulCr on Fri, 13 March 2009 18:44
|
|
|
Re: Changing Player Colours?
By: gible on Fri, 13 March 2009 18:58
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: PaulCr on Sat, 14 March 2009 14:17
|
|
|
Re: Changing Player Colours?
By: Altruist on Sat, 14 March 2009 13:42
|
|
|
Re: Changing Player Colours?
By: PaulCr on Sat, 14 March 2009 16:41
|
|
|
Re: Changing Player Colours?
By: gible on Sat, 14 March 2009 17:02
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: PaulCr on Sat, 14 March 2009 17:28
|
|
|
Re: Changing Player Colours?
By: PaulCr on Sat, 14 March 2009 17:31
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: gible on Sat, 14 March 2009 23:36
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: PaulCr on Sun, 15 March 2009 17:14
|
|
|
Re: Changing Player Colours?
By: PaulCr on Mon, 16 March 2009 14:07
|
|
|
Re: Changing Player Colours?
By: Altruist on Mon, 16 March 2009 17:06
|
|
|
Re: Changing Player Colours?
By: PaulCr on Mon, 16 March 2009 18:16
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: Kelzar on Fri, 20 March 2009 15:54
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: PaulCr on Sat, 14 March 2009 20:09
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: Kelzar on Mon, 23 March 2009 08:54
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: Kelzar on Tue, 24 March 2009 07:32
|
|
|
Re: Changing Player Colours?
|
|
|
Re: Changing Player Colours?
By: gible on Tue, 24 March 2009 00:56
|
|
|
Re: Changing Player Colours?
By: PaulCr on Wed, 25 March 2009 16:42
|
|
|
Re: Changing Player Colours?
By: platon79 on Sat, 18 March 2017 04:10
|
|
|
Re: Changing Player Colours?
By: Altruist on Sat, 18 March 2017 19:01
|
|
|
Re: Changing Player Colours?
|
Goto Forum:
Current Time: Wed Apr 24 13:57:55 EDT 2024
|