Download.it search icon
Advertisement

Python-driven QuakeWorld dedicated server module with QuakeC translation, service support, and improved resource handling and portability

Python-driven QuakeWorld dedicated server module with QuakeC translation, service support, and improved resource handling and portability

Vote: (18 votes)

Created: 2002-06-04

MD5: eb9b6cecf1e5218b60cf864fe60ba6d3

Size: 312.1 KB

Vote

(18 votes)

Created

2002-06-04

MD5

eb9b6cecf1e5218b60cf864fe60ba6d3

Size

312.1 KB

QWPython is a Python-powered QuakeWorld dedicated server. The core engine has been wrapped up as a Python module and altered to call back to Python to execute Quake game logic. A QuakeC, Python translator is also included.

Changes:

QWPython CHANGELOG

2001-04-15 (v1.1)

* Added WinNT/Win2k service version of CTF.

Pretty straightforward, anybody should be able to

adapt it to other QWPython games besides CTF - nothing

in CTF itself changed, all the magic is in the

ctf_service.py file.

* Removed C code relating to PAK files, since Python

handles all that now. Looked for and removed

other dead code (probably plenty left though).

* Reworked download code, so it now functions with the

Python resource-loading code. Still a few file-io

related bits of C code it would be nice to move up to

Python.

* Tested against Debian 2.2, found and fixed problems

that prevented a clean compile and running under Debian

(and presumably other Linuxes)

* Changed Sys_Error() function so that it now does exit

the game loop and raise a Python exception. Wish I

could also have it include the file and linenumber of

where in C the Sys_Error() was called.

* Cleaned up Python "pakfile" module

* Went over translated CTF, cleaned up code by hand

since the machine translation was a little rough to

look at (weird spacing, unnecessary assignments at the tops of many functions)