Install Instructions - Condensed
Edit
These are the install instructions condensed to more of a step by step process with less explaining. Mainly for those who have done it before. If you are new to installing the kit please do not use these instructions unless you are doing a quick glance over what is needed as it will not explain what is going on or why you should do that.
Development Environment
Edit
Install everything in this order.
- Install Python 2.5 - python-2.5.msi
- Install Twisted 2.5 - Twisted_NoDocs-2.5.0.win32-py2.5.exe
- Install Win32OpenSSL - Win32OpenSSL-0_9_8e.exe
- Install PyCrypto 2.0.1 - pycrypto-2.0.1.win32-py2.5.exe
- Install PyOpenSSL 0.6 - pyOpenSSL-0.6.win32-py2.5.exe
- Install Python Windows Extensions - pywin32-210.win32-py2.5.exe
- Install wxPython - wxPython2.8-win32-unicode-2.8.4.2-py25.exe
- Install MySQL-Python - MySQL-python-1.2.2.win32-py2.5.exe
- Install Plyzma - pylzma-0.3.0.win32-py2.5.exe
- Copy SQLObject to c:\python25\lib\site-packages\
Network Environment Install
Edit
- Install Apache Server with defaults - c:\install\systemsoftware_server_apache_svn_irc\apache_2.0.61-win32-x86-no_ssl.msi
- Install Subversion and configure it as such
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 following to c:\svnrepop\svnaccess.txt
[patchfiles:/] admin = rw starter = r
- Edit the Apache conf (Program Files → Apache HTTP Server → Configure Apache Server → Edit the Apache httpd.conf Configuration File) and add this to the bottom.
<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>
- Restart the apache Service.
- Checkout the patchfiles directory by doing this.
c: cd c:\ mkdir mygame cd c:\mygame svn co http://127.0.0.1/svn/patchfiles patchfiles
- Install Nettalk IRCD - C:\install\systemsoftware_server_apache_svn_irc\Setup-NettalkIRCD.exe
- Install Tortoise SVN - c:\install\tools\TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.msi
Packaging Environment Install
Edit
- Install Python Imaging Library - c:\install\systemsoftware_workstation_nsis\PIL-1.1.6.win32-py2.5.exe
- Install Py2Exe - c:\install\systemsoftware_workstation_nsis\py2exe-0.6.6.win32-py2.5.exe
- Install NSIS - c:\install\systemsoftware_workstation_nsis\nsis-2.24-setup.exe
LAN Setup
Edit
- main.cs - Change $Py::MasterIP to your local IP Address
- mud/gamesettings.py - Change MASTERIP to your local IP Address
- mud/gamesettings.py - Set DO_LAN_SERVER_FIX to 1
WAN Setup
Edit
* main.cs - Change $Py::MasterIP to your FQDN. * mud/gamesettings.py - Change MASTERIP to your FQDN. * mud/gamesettings.py - Set DO_LAN_SERVER_FIX to 0, DO_WAN_SERVER_FIX to 1, GL_ANNOUNCE_IP to your FQDN * Modify C:\windows\system32\drivers\etc\ - Add your local ip address to your FQDN for local resolution.
Email setup
Edit
- In mud/gamesettings.py changed the SERVER_EMAIL_xxxx to your SMTP settings.
Ports to forward
Edit
- TCP 80,2006,2007,6667,7001
- UDP 29000-29100 (each zone uses a port)
- If using World clusters modify Premium_MMORPG.py and change WORLDPORT to 2008 and open up TCP 2008-200x for each cluser you have.
Patching process
Edit
- Shutdown the servers.
- Run genesis.py to compile the database and then upgrade.bat to update the character/world servers.
- Run this command to start the patching process.
c: cd c:\tmmokit\ publishpatch.bat testgame
- To create a client go packaging/nsis and right click on mmogame_installer.msi and choose Compile NSIS Script to create a client to distribute.
- Start the servers by clicking on startup.bat