iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Rewrite initialisation to not restart process #252

Closed fkaa closed 8 years ago

fkaa commented 8 years ago

Not bulletproofed 100%, but should be good enough for dev.

rakiru commented 8 years ago

Launcher should be its own flag too. Being both client and server is possible withotu also being the launcher (-s mode). It should be (0x4 | IB_CLIENT | IB_SERVER). Launcher mode gives a lot of access to things that -s mode doesn't need.

Edit: It's less of a mode on its own and more of a "can access anything" flag. Perhaps leaving it just as 0x4 and renaming it to IB_LOCAL or IB_FULLACCESS would make more sense.

rakiru commented 8 years ago

Launcher doesn't need port parameter, it can just default to 0.

rakiru commented 8 years ago

There may be some memory leaks or something, but the Lua state(s) at the very least are destroyed, so we should be good for now.