ID:259805
![]() Sep 7 2004, 2:47 am
|
|
Wondering if (unless this is already created or something similar to it) the great staff at byond could add a built-in variable in DM that is equal to Byonds current version. Then people wouldn't have to constantly change the number of the version that the compiler checks for at run time, instead they just use the version var. It would make things a little easier in my opinion, nothing worth starting right away but it could still help. Sorry if this has come up before or if this is already in DM, or even if this is one of the most stupid suggestions you've heard, anyways, thats the idea.
|
I guess it doesnt really make sense, I was thinking of how some people have a small ammount of code that checks if the users byond version is equal to a number they enter, maybe 340 or something, and if the version is less than 340 they cant log in, but whenever a new version comes out they must change the 340 to 341, then 342 and so on. It isnt much of a hassle but if they could instead just use a built-in variable that is always equal to the most recent version of byond, then they wouldn't need to keep changing it, which could be usefull because if they are permanently done with the game then they wouldnt need to work on it for that small matter anymore...Sorry if it sounds confusing, I dont need it for any of my projects yet but I thought it might help those that have a version checker in there game.
<Edit> But...if as you said it auto checks it, then I guess this is pointless...I thought that you had to apply the code for DM to check the version, I didnt know it actually checked itself...Still, this function I suggested could help those that apply it as code. |
Do you mean the most recent version available from the BYOND website? I'm not certain why that would matter. BYOND automatically compares the server version to the compile version to make sure the server can support all the features in the BYOND version the game was compiled for. What exactly are you using this information for?