ID:269393
Jun 14 2005, 6:48 pm
|
|
Is there a way to check if a player has the most recent version of BYOND?
|
Jun 14 2005, 8:50 pm
|
|
Will this do it? http://www.byond.com/docs/ref/info.html#/client/var/ byond_version
|
In response to Mechadragon
|
|
Thanks, but thats not it
|
In response to ITG Master
|
|
Uhh, why wouldn't that work? You could simply do
if(_.client.byond_version!=343) Or something similar. So why isn't that it? All you need to do is change 343 every time a new BYOND version comes out. I'm not sure if 343 is the latest version, but it's either that or 345. |
In response to Artekia
|
|
The only version vars are world.byond_version (which is the hosts version of BYOND) and world.version (which is the version of the game).
I thought they were adding a client version at some point, but I guess they never got around too it. |
In response to DarkView
|
|
Eh? You're saying that _.client.byond_version wouldnt work?
I just did this- mob/verb/CheckYourVersion() And it outputted 342. |
In response to Artekia
|
|
Odd. It's not in the reference. My bad.
|
In response to DarkView
|
|
Mechadragon wrote:
Will this do it? >http://www.byond.com/docs/ref/info.html#/client/var/ byond_version It looks like its in the reference to me.... |
In response to Jamesburrow
|
|
I think he means the F1 refrence in DM.
|
In response to Hell Ramen
|
|
mmm....OK. It probably should be put there.
|
In response to Artekia
|
|
Artekia wrote:
Uhh, why wouldn't that work? You could simply do > if(_.client.byond_version!=343) Or something similar. So why isn't that it? Well, there is of course the fact that checking against an exact version would be a dumb thing to do; anyone with a newer version is out of luck. What you should do instead is check for anything that version or higher. Lummox JR |