Is it possible to like search the clients computer for the host files, and if it finds them, it deletes them? For example:
I make a game.
I allow anyone to host at first.
I get up there in versions and I decide to take away the right for people to host and just make it so I can host or anyone I want to host, and allow them to host.
But there are those people who downloaded, but refuse to delete the host files and try to host their own server.
What i'm really asking, is how would I stop this? I mean, I want to release my game and allow people to host at first, but I want to be able to switch to my own server only after updates are made and make it so that no one can host. Is there a way to make it so that it checks the hub for the version and if the version on the hub is greater than the currrent version, than it automatically "logs the user out" of that world they started (Online or off, doesn't matter)?
ID:171028
Nov 21 2004, 11:24 am
|
|
In response to Kholint
|
|
Well, would it still be possible? I wouldn't mind adding, "Note: the host files are deleted after the world is shut down NO MATTER WHAT, EVEN FOR ME."
|
In response to Lenox
|
|
Lenox wrote:
Well, would it still be possible? I wouldn't mind adding, "Note: the host files are deleted after the world is shut down NO MATTER WHAT, EVEN FOR ME." It isn't really possible. BYOND worlds can be run in ultra-safe, safe, and trusted modes. A less intrusive solution would be to not give out the newer versions to people you don't want to have the game. |
In response to Jon88
|
|
I was looking around..and if I set world/version = (Current version here). Would that check the hub to see if the version is the same and stop them if it isn't?
[EDIT] So, you're basically saying to just not let users host in the first place? Aiight, i'll just do that. |
In response to Lenox
|
|
You could check if the version matches the hub when the world is created (or better yet, look for a keyword in your hub's description) and shut it down if it is. I'm not exactly sure of how to do it, but I believe you can use world/Export() to grab a copy of the hub page and then check. You can make use of the text format for hub pages to make it easier. Keep in mind that the hub could be down when you try to check, and that players could intentionally close their connection to the internet at start up. You could keep a loop running, but even that wouldn't work when the hub is down. Ultimately, the only way you can completely stop people from hosting is not letting them have the files at all.
|
In response to YMIHere
|
|
YMIHere wrote:
You could check if the version matches the hub when the world is created (or better yet, look for a keyword in your hub's description) and shut it down if it is. I'm not exactly sure of how to do it, but I believe you can use world/Export() to grab a copy of the hub page and then check. You can make use of the text format for hub pages to make it easier. Keep in mind that the hub could be down when you try to check, and that players could intentionally close their connection to the internet at start up. You could keep a loop running, but even that wouldn't work when the hub is down. Ultimately, the only way you can completely stop people from hosting is not letting them have the files at all. Aiight then, That is what I will do, only I will be able to host it. |
Well, I don't know. If you don't say you are going to delete things on their computer they could get pretty mad.