Tremulous Forum
General => Troubleshooting => Topic started by: Oblivion on November 24, 2007, 06:19:11 am
-
I am trying to run a server under Centos and when I get a custom compiled game.qvm it gives me this error.
----------------------
4160 files in pk3 files
Loading vm file vm/game.qvm...
----- Server Shutdown (Server fatal crashed: vm/game.qvm does not have a recognisable magic number in its header) -----
Resolving master.tremulous.net
master.tremulous.net resolved to 208.116.49.110:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
---------------------------
Sys_Error: vm/game.qvm does not have a recognisable magic number in its header
Shutdown tty console
[root@gamez-host.com]#
But with a the TJW QVM
http://tjw.org/tremulous/game.qvm
works great,
Can someone help me with this problem?
-
Sounds like your qvm file is corrupted (magic numbers (http://en.wikipedia.org/wiki/File_format#Magic_number) are usually sampled at the beginning of a file, so it's not as likely that the file is truncated but just overall bad).
-
Known and long fixed bug from ioQ3. Download newer SVN and recompile your QVM.
-
Ok, I have my custom QVM compiled from 966 and it will not allow it to work, but when I have to download SVN 825 it works perfectly?
I don't think a newer SVN version will change a difference unless TJW compiled the patch into SVN 825 or somewhere in my QVM where I patched something it screwed the configuration up to the server. eh I will figure something out.
Thanks for the help.
-
The QVM has to be backported properly to work with 1.1 clients. Since TJW's tremded is also designed to work with 1.1 clients, mismatching the two can cause other problems as well. You've said you're compiling a QVM, but nothing about what patches you've applied as well.
See this link (http://www.mercenariesguild.net/patches/?do=details&task_id=2) for some backport patches against various SVN versions, which may help get you started. But if you're having this much trouble, I'd suggest either using a pre-compiled QVM, or someone's patchset and adjusting the things you need (either adding other features or whatever) instead of trying to backport your own.