Hi, I’m Eli. I just finished a game, it was a quite simple one. I’m going to update it constantly, so I want all the players in it to get teleported back to the game when it’s updated. I don’t know if there is a way to check if the game is updated. Any help is appreciated!
AFAIK The game shuts down automatically when it is updated. From that “the game has shutdown” screen the player can press the button to join back.
I don’t think that is true. And also, I think from the ‘the game has shutdown’ screen, you don’t have the Reconnect button.
Well you can test by making a test place, joining it, and updating the test place again.
I am sorry tho that I can’t do this myself as I am currently on mobile
Below the game description,it will say the time the game has got updated.Also,you could put an changelogs in the description + with the date of when the game got updated
That might help if I do advanced coding to see when it was updated, but idk how to do that.
You can have a string value object hidden somewhere containing the version of the game, that gets updated each update. You can simply check if the version in that string object is the same as the latest version.
If you want to see, there are various ways of checking.
- Before saving, check Output and it should tell you that your game was saved.
- This only works daily: Check the Game Page under “Updated:”.
- Before saving and publishing, join ingame and if it published properly, it should shutdown automatically.
But how do you get the latest version of the game?
I’m guessing MessagingService.
There is an setting,that you can see all of the "versions"before the last one,you could probably count on there.
You set it manually, you create your own version system, using the date maybe or something like 1.1, 1.2, ect.
Are you talking about the Previous versions tab on the Roblox website where you can reverse the game back to previous versions? I don’t think you can get that in code
Am not talking about that am talking about how to fetch or get the latest version of the game.
Like if the game updates then how will you get the new version? You can’t update the game in an old server
go into studio and use messagingservice
Messaging service is used for communication between game servers. What if you are the only server and your server is outdated and there is no updated server to check from?
Yes,you probably cant,but from there,you can count how much versions the game had,which would probably result in the last version.:
0.1
0.2
0.3
Until 0.9
0.9
1.0
1.1
1.2
And keep going it like that.
Your question was “how to check if the place was updated”, not how to get the version.
From what I know, at the moment there is no way to acquire the game version found on the game stats, unless you somehow use some hacky http service magic.
All games use their own version-ing system, like Phantom Forces for example, you can see at the right bottom corner a UI saying Server Version
, with a version system they made since the launch of the game.
Here is something that might help with making versions
I’m not sure what this does, but I found game.PlaceVersion
This might actually be what he’s looking for, I guess I’m wrong. Goodjob finding this.