Alright, I'm pretty stupid. How do you use the options in it?
Format:
startup(File,Port=0,Options,...)
When I do this:
startup('MyGame.dmb',0,once)
It doesn't work, and I didn't think that would work.
What I need to know is how to do it right @_@
ID:271010
Dec 8 2006, 3:09 pm
|
|
They're additional arguments:
startup("mygame.dmb",2500,"-once","-safe","-logself","-params master_port=[world.port]") Just like that. The latter will be set in the list world.params and you can use it to (in this case) determine the port the master server is running on. world/New() The code above would check wether the server is a slave or a master. FYI the distinction between "master" and "slave" is simple: the "master" server is the one that called the "slave" server. Thus a "master server" in this list would be a server that doesn't have it's own master. Thus, the instance of the game ran solely by the user. |
What are you trying to use it for that might help me figure out why your using it lol.