More re-arranging to make things more closely resemble MUX/MUSH directory structure. Reason we're doing this is to begin the emergence of a separation of server code from game-specific stuff (called a driver by some codebases like LPMud).
Ideally game developers don't touch the server code, they just play within the game directory, which will contain all of their script parents and stuff. NOTE: I may have broken the Linux/Unix start script. I am not able to boot back into Linux at the moment due to some testing going on, so if anyone could take a moment to tell me one way or another, I'd appreciate it. NOTE: You'll need to move your evennia.db3 file into the game directory if you're using sqlite.
This commit is contained in:
parent
66a529ba84
commit
01db5700e8
11 changed files with 20 additions and 110 deletions
16
game/startup.bat
Normal file
16
game/startup.bat
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
@echo off
|
||||
rem ------------------------------------------------------------------------
|
||||
rem WINDOWS STARTUP SCRIPT
|
||||
rem NOTE: This _MUST_ be launched with the Twisted environment variables
|
||||
rem set. It is recommended that you launch Twisted Command Prompt to do so.
|
||||
rem ------------------------------------------------------------------------
|
||||
|
||||
set DJANGO_SETTINGS_MODULE=game.settings
|
||||
set PYTHONPATH=..
|
||||
echo Starting Evennia...
|
||||
|
||||
rem ------------------------------------------------------------------------
|
||||
rem We're only going to run in interactive mode until we've had more time to
|
||||
rem make sure things work as expected on Windows.
|
||||
rem ------------------------------------------------------------------------
|
||||
twistd -oy --logfile=- --python=../src/server.py
|
||||
Loading…
Add table
Add a link
Reference in a new issue