No longer need to distribute a database file. Each user will run their syncdb script and start with a clean slate. Updated installation instructions in README.
This commit is contained in:
parent
eda1753740
commit
0fc89247aa
6 changed files with 56 additions and 10 deletions
|
|
@ -10,6 +10,7 @@ import functions_general
|
|||
import session_mgr
|
||||
import gameconf
|
||||
import settings
|
||||
import initial_setup
|
||||
|
||||
class Server(dispatcher):
|
||||
"""
|
||||
|
|
@ -31,7 +32,11 @@ class Server(dispatcher):
|
|||
# Load command aliases into memory for easy/quick access.
|
||||
self.load_cmd_aliases()
|
||||
self.port = gameconf.get_configvalue('site_port')
|
||||
|
||||
|
||||
if gameconf.get_configvalue('game_firstrun') == '1':
|
||||
print ' Game started for the first time, setting defaults.'
|
||||
initial_setup.handle_setup()
|
||||
|
||||
# Start accepting connections.
|
||||
dispatcher.__init__(self)
|
||||
self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue