Author Topic: [SOLVED] Problems with running a compiled QVM (or maybe "Which SVN?")  (Read 4066 times)

Mad_Joe

  • Posts: 67
  • Turrets: +4/-0
Hello

I'm kind of new to coding anything outside of programs I write and maintain myself, so be easy on me haha.

I'm having a problem getting a compiled qvm to run. I'm working on Ubuntu Hardy (64bit AMD) and checked out the latest SVN via svn co svn://svn.icculus.org/tremulous/trunk Tremulous. I make it, and it builds fine (I had an error, but after searching the forums I figured it out). However, when I run a server using the compiled game.qvm and tremded.x86_64, the server doesn't show up, and when I run it using the compiled game.qvm and TJW's tremded.x86 the server shows up, but when I connect it gives me a "default_model (sarge) failed to register" error. In both cases, the server console outputs a bunch of errors about how buildable file configs don't exists and aren't found, ending with the line "voice list is empty," before the normal "Resolving master.tremulous.net" etc.

I can get a server to run fine using TJW's tremded and a game.qvm I get from the modding forum. Anyone know what the problem is?

Couple of things:
1. Should I be using the latest SVN? If not, what SVN should I use? I tried to compile an earlier one, but it failed... is there any command I need to do before "make"? (about getting compile information or tools or something?)
2. Is using x86_64 going to cause a problem? Is it bad that my tremded is .x86_64?

Thanks in advance
« Last Edit: May 20, 2008, 04:43:08 pm by Mad_Joe »

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Problems with running a compiled QVM (or maybe "Which SVN?")
« Reply #1 on: May 20, 2008, 01:31:45 am »
Latest SVN is no longer compatible with 1.1 clients. Running svn tremded + game.qvm should have your server showing up on the server list as a protocol 70 server, which only protocol 70 (svn) clients will see. You don't want that, as only a few developers ever use protocol 70 clients.

What you are looking for is (at least, around here) called a backport patch. You want to apply one to your game.qvm and tremded (unless you just go ahead and use someone else's tremded). These take the new code and undo the changes in SVN that specifically break compatibility with 1.1 clients.

Backports patches are available here:
http://www.mercenariesguild.net/patches/index.php?do=details&task_id=2

Mad_Joe

  • Posts: 67
  • Turrets: +4/-0
Re: Problems with running a compiled QVM (or maybe "Which SVN?")
« Reply #2 on: May 20, 2008, 04:42:47 pm »
Yeah, it did show up as a protocol 70 server when I did /connect to the ip. The one thing I forgot to mention, haha.

Thanks a lot for your help... what I ended up doing was downloading the source for your QVM (as it already contained the basic stuff I wanted), and working from there.

Thanks again!

EDIT: Source for his QVM can be found here: svn://source.mercenariesguild.net/lakitu7-qvm/
« Last Edit: May 20, 2008, 05:46:54 pm by Mad_Joe »

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
That seems to be a pretty popular starting point nowadays :)

No prob.