Kit Unpack
* Download whatever kit version you want (TGE or TGEA) and make sure the file structure is c:\tmmokit
Development Environment
Download Dev Files
http://MMOWorkshop.com/download/tmmokit_dev_files.zip
* Install all files in the systemsoftware_development_environment folder
* Extract sqlobject.zip to c:\python25\lib\site-packages\
* Set MAX_BROKER_REFS to 4096 in c:\Python25\Lib\site-packages\twisted\spread\pb.py
Network Environment
* Install Apache Server
* Install SVN
* Convigure SVN
c: cd c:\ mkdir svnrepo cd svnrepo svnadmin create patchfiles "c:\program files\apache group\apache2\bin\htpasswd.exe" -bc htpasswd admin mypassword "c:\program files\apache group\apache2\bin\htpasswd.exe" -b htpasswd starter mmo
* Save the information below in the file name: c:\svnrepo\svnaccess.txt
[patchfiles:/] admin = rw starter = r
* Open the Apache config file by following this path in the Start Menu - Program Files -> Apache HTTP Server -> Configure Apache Server -> Edit the Apache httpd.conf Configuration File. Copy this to that file
<Location /svn> SetOutputFilter DEFLATE SetInputFilter DEFLATE DAV svn SVNParentPath C:/svnrepo # our access control policy AuthzSVNAccessFile C:/svnrepo/svnaccess.txt AuthType Basic AuthName "My Game's Patch File Repository" AuthUserFile C:/svnrepo/htpasswd require valid-user </Location>
* Right click on the apache icon in the tray and restart the Apache Service
* Install Nettalk IRCD
* Install Tortoise SVN
Packaging Environment
* Install Python Imaging Library
* Install Py2Exe
* Install Nullsoft Scriptable Install System
Database Creation for LAN/WAN Setup
* 1.3 SP2 or before -
From c:\tmmokit run the following commands .\mud\masterserver\createdb.py .\mud\characterserver\createdb.py
* 1.3 SP3 or later -
Run the createAutionMailDBs.bat and createNewDBs.bat
LAN Setup
* Edit c:\tmmokit\main.cs and change $Py::MasterIP
* Edit c:\tmmokit\mud\gamesettings.py and change MASTERIP
* Edit c:\tmmokit\mud\gamesettings.py and set DO_LAN_SERVER_FIX to 1
* Edit c:\tmmokit\mud\gamesettings.py and set SERVER_EMAIL values for a gmail account or other SMTP address
WAN Setup
* Edit c:\tmmokit\main.cs and change $Py::MasterIP
* Edit c:\tmmokit\mud\gamesettings.py and change MASTERIP
* Edit c:\tmmokit\mud\gamesettings.py and change GL_ANNOUNCE_IP to your domain name
* Edit c:\tmmokit\mud\gamesettings.py and change DO_WAN_SERVER_FIX to 1
* Edit c:\tmmokit\mud\gamesettings.py and change DO_LAN_SERVER_FIX to 1 if you are using a dynamic domain name (if you don't know, don't do this)
* Edit c:\tmmokit\mud\gamesettings.py and set SERVER_EMAIL values for a gmail account or other SMTP address
* Forward the following ports on your router
TCP Port 80 TCP Port 2006 TCP Port 2007 TCP Port 6667 TCP Port 7001 UDP Port 29000 - 29100
* Add an entry to c:\windows\system32\drivers\etc\HOSTS on your server to point to your local IP address.
SVN Publishing
* Publish the content to the SVN by running publishpatch.bat. Example below
c: cd c:\tmmokit\ publishpatch.bat testgame
* Run genesis.py to make sure everything is up-to-date
* Run upgrade.bat to clean up any time skews or genesis mismatch errors.
* Click on startup.bat to start the servers.
Client Creation
* Right click on C:\tmmokit\packaging\nsis\mmogame_installer.nsi and choose Compile NSIS Script to create a client installer. SVN publishing step must be completed first for this to work.
