ID:2243516
May 4 2017, 8:18 am
|
|||||||
| |||||||
I dunno if this is currently doable but i would love if there was a way to make a byond game as a single player game on packaging with disabled multiplayer ability like a checkbox or something to prevent any kind of hosting or such of a game so making a single player game is doable
|
May 4 2017, 8:25 am
|
|
I seem to recall being able to override world.OpenPort() to prevent a server from being hosted:
|
You'd need to actually do two things. The first is overriding OpenPort() as above. The second is checking the value of world.port inside of world/New().
You see, when hosting with Dream Daemon, OpenPort() isn't called because the port is already open when the world starts up. world |