Ok... I've finally moved all my server functions to a new datacenter on my own server. I have my own VLAN so I'm not worried about leaving UDP open and can test recompiling "runes" with my custom map selections included.
If you've been following this thread, the only thing I'm really after is automatic map rotation with frag/time limits. The Rune Quake mod, using WQPro on the server is the only way, I've learned, that I'm able to do this without knowing how to program Quake C
Again, I followed the instructions noted at the top of this thread and compiled a "map-auto.qc" using ActivePerl. When I move the map-auto.qc into the POQ directory and recompile my progs.dat using QCCX, there are no compile errors and a progs.dat is generated. When I launch WQPro in dedicated mode using the following command line:
Code:
WQPro.exe -dedicated 8 -game runes -ip 162.42.196.222 -udpport 26001
I generate the following error
Code:
PackFile: E:\Gaming\Quake/id1/pak0.pak : maps/b_nail0.bsp
PackFile: E:\Gaming\Quake/id1/pak0.pak : maps/b_bh100.bsp
Sending console bindings
FindFile: can't find ban.txt
couldn't exec ban.txt
ADDRESS 3141(array)entity 0 3143(i) 0.0 3161(?]
strman.qc : allocate_string_size
team.qc : change_teamplay
world.qc : StartFrame
<NO FUNCTION>
assignment to world entity
Host_Error: Program error
***********************************
ERROR: Host_Error: Program error
Press Enter to exit
***********************************
Wanting to be sure it wasn't some kind of incompatibility with QCCX, I also used FRIKQCC. Frik wasn't able to generate a progs.dat, I'm assuming, due to the errors below.
Code:
D:\QuakeSrc\src\poq>frikqcc
--------------- frikqcc v2.6 ----------------
defs.qc
settings.qc
func.qc
internal.qc
internal.qc(29): error: Wrong immediate type for SV_LASTCHECKTIME, Expected float found int
internal.qc(30): error: Wrong immediate type for SV_NAME, Expected float found int
internal.qc(31): error: Wrong immediate type for SV_MODELNAME, Expected float found int
internal.qc(32): error: Wrong immediate type for SV_WORLDMODEL, Expected float found int
internal.qc(33): error: Wrong immediate type for SV_MODEL_PRECACHE, Expected float found int
internal.qc(34): error: Wrong immediate type for SV_MODELS, Expected float found int
internal.qc(35): error: Wrong immediate type for SV_SOUND_PRECACHE, Expected float found int
internal.qc(36): error: Wrong immediate type for SV_LIGHTSTYLES, Expected float found int
internal.qc(37): error: Wrong immediate type for SV_NUM_EDICTS, Expected float found int
internal.qc(38): error: Wrong immediate type for SV_MAX_EDICTS, Expected float found int
internal.qc(39): error: Wrong immediate type for SV_EDICTS, Expected float found int
../progs.dat - 11 error(s), 0 warning(s)
press a key
I'm not really sure if this is something I'm doing wrong, or if there's a problem with my modification of the "map" file in the \src\ directory. Here is the modification I've made to that file. (
I'm using only one map in order to test functionality. My intention is to add/remove maps then recompile as time goes by based on player feedback. I could add another map reference, but somehow I don't think that's the problem.)
Code:
my @custom_lev = (
[], # unused
[ # small
'alk08dm',
],
[ # medium
],
[ # large
],
);
If you have any insight, I would be grateful if you'd share it.