News:

Come Chat with us live! Learn how HERE!

Main Menu

Server Game.qvm/SVN Mixup

Started by Death On Ice, February 04, 2007, 02:57:07 AM

Death On Ice

My server is supposed to be running risujin/avenger 3 on it but it will not start up and has this error:

------------------------------------------------------------
InitGame: \g_markDeconstruct\1\g_unlagged\1\sv_privateClients\2\g_suddenDeathTime\40\
g_maxGameClients\12\sv_maxPing\200\sv_minPing\0\sv_maxRate\15000\
sv_minRate\5000\sv_maxclients\12\sv_hostname\^1Tremulous^3For^1All\timelimit\60\
version\tremulous 1.1.0 macosx-x86 Aug 14 2006\protocol\69\mapname\atcs\sv_allowDownload\0\gamename\base\g_needpass\0
!readconfig: loaded 7 levels, 24 admins, 1 bans, 0 commands
using layout "*BUILTIN*" from list ( *BUILTIN* )
********************
ERROR: G_ParseSpawnVars: found $ when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found $ when expecting {) -----
Resolving master.tremulous.net
master.tremulous.net resolved to 72.36.226.187:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
---------------------------
Hunk_Clear: reset the hunk ok
Hitch warning: 609 msec frame time


Risujin told me:
QuoteYour tremded and game QVM are mismatched. You are using either an old or a backported tremded and will need to get an SVN tremded (something around SVN 848...).

Please shed light on my case!

Death On Ice

Come on people! Almost 20 views...no reply!

n00b pl0x

well a lot of people look at all posts, even if they dont know how to fix a problem because they want to get rid of the ugly orange little unread flag next to the topic...but i know i got an error somewhat like that when i was using the wrong game.qvm
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

Caveman

I guess you did use the search-function and I guess further that Risujin was unable to help you, so how can you expect anyone to come up with a brand new solution in less then 6 hours??

next_ghost

If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

DASPRiD

Sounds like either you don't use tjw-executable, or you put the qvm into the wrong directory.

benmachine

Quote from: DASPRiDSounds like either you don't use tjw-executable, or you put the qvm into the wrong directory.

I'm guessing since you used to have a a server that it isn't the latter, because you've already done this once. So I can only suggest getting http://tjw.org/tremulous/mac/ again and making sure that it's not that. IF you really want to compile your own server, then you'll need to:

1) get subversion for mac HERE: http://metissian.com/projects/macosx/subversion/ (or google a GUI client, but everyone knows GUIs are for pansies)
2) get Xcode Tools from your Mac OS X install disk (it's not installed by default iirc)
3) open a Terminal and, as subversion tells you to, edit the PATH:
PATH=$PATH:/usr/local/bin; export PATH
then get the svn 848 source:
svn co -r 848 svn://svn.icculus.org/tremulous/trunk tremulous-svn848
and compile it:
cd tremulous-svn848
make

You now have the binaries, there's just a few more things left:
cd build/release-darwin-x86/ #or release-darwin-ppc depending on your processor
cp ../../src/libs/macosx/libSDL-1.2.0.dylib .
cp /Applications/Tremulous\ 20060704/base/* base/
./tremded.x86 +set dedicated 2 +exec server.cfg #or tremded.ppc indeed
benmachine

Death On Ice

I have an intel mac though....would that change anything?

Death On Ice

When I try to
Quotecp /Applications/Tremulous\ 20060704/base/* base/
I get The-New-Computer:~/tremulous-svn848/build/release-darwin-x86 milescrabill$ cp /Applications/Tremulous\ 20060704/base/* base/
cp: /Applications/Tremulous 20060704/base/*: No such file or directory


Also: Checked out revision 848.
The-New-Computer:~ milescrabill$ cd tremulous-svn848
The-New-Computer:~/tremulous-svn848 milescrabill$ make
make -C src/tools/lcc install
install -s -m 0755 build-darwin-x86/q3lcc ../
install -s -m 0755 build-darwin-x86/q3cpp ../
install -s -m 0755 build-darwin-x86/q3rcc ../
make -C src/tools/asm install
install -s -m 0755 q3asm ../
make targets B=build/release-darwin-x86 CFLAGS="  -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DNDEBUG  -msse2 -O3 -ffast-math -falign-loops=16 -MMD"
gcc -mdynamic-no-pic -DDEDICATED -Wall -Wimplicit -Wstrict-prototypes -mstackrealign -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Isrc/SDL12/include -DUSE_LOCAL_HEADERS=1 -DNDEBUG  -msse2 -O3 -ffast-math -falign-loops=16 -MMD -o build/release-darwin-x86/ded/sv_client.o -c src/server/sv_client.c
cc1: error: invalid option 'stackrealign'
make[1]: *** [build/release-darwin-x86/ded/sv_client.o] Error 1
make: *** [build_release] Error 2


Im kinda lost... :P

Vector_Matt

Quote from: Death On Ice
Quotecp /Applications/Tremulous\ 20060704/base/* base/
/Applications/Tremulous 20060704/base/*:
See the bold "\"? Notice how it's missing in the output? That is the problem; change it to a /. It should work fine then.

Death On Ice

I dont have a file in my Base folder called * base/... it think.

Undeference

Spaces are used to separate command line parameters and * is the wildcard character.
cp /Applications/Tremulous\ 20060704/base/* base/
would copy the files from "/Applications/Tremulous 20060704/base" to "base" (in the current working directory).
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

benmachine

Quote from: Vector_MattSee the bold "\"? Notice how it's missing in the output? That is the problem; change it to a /. It should work fine then.
that's not the problem, if you read his command line input he did include it (it's a \ btw to ignore the space after it). The problem is I assumed he'd installed Tremulous in the applications folder. Death On Ice, replace that line with cp /wherever/tremulous/folder/is/base/* base/
cp <-- copy
/wherever/tremulous/folder/is/base/* <-- everything in your usual base folder
base/ <--- to your compiled base folder
The other error, the compiling one, I can't explain - it doesn't even make the first file :/
You'll have to ask somewhere else about that, or find some way of testing both your compiler (gcc a c file somewhere) and your source code (no idea how you'd do this, other than compiling it)
benmachine

Death On Ice

My tremulous folder isnt called Tremulous 20060704... would that matter?

Death On Ice

Benmachine...could you make me one? I cant seem to get it... :D

benmachine

Quote from: Death On IceMy tremulous folder isnt called Tremulous 20060704... would that matter?
Yep, it would. Doesn't explain why you're getting a compiler error though.

Are you sure you can't make tjw's tremded work? That'd certainly be the easiest option, try redownloading it. Make sure you don't have a vms pk3 in your ~/Library/Application Support/Tremulous/base folder which could take precedence over the vm folder.

Failing that, I'm gonna try to get the binaries I compiled for Risujin's client available for download by zipping them up. I believe they include an svn895 tremded for intel macs, although I can't be certain it'll work any better.
benmachine

Death On Ice

That worked....but now whenever I go into a server it asks me to download the vms thing and i cant play without it. Also, my server won't show up on the internet....

Harwe

Something is truely wrong..... tremded.exe for me should work..... everything used to work wtf happened???? for me i used the same stuff from my old server and tried it but it didnt work..... and i cant find any posts that teaches me how to compile a new tremded.exe
WHY THE HELL DOES TJW's TREMDED.exe WONT WORK ANYMORE?!?!??!

next_ghost

Maybe because it's built from SVN823?
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Death On Ice

Please Benmachine can you compile a ub tremded =D Please!

benmachine

I compiled a tremded.x86 straight from svn848 but when I tested it it refused to read pk3s - reporting a Could not read default.cfg error (default.cfg is in the data pk3) despite the relevant file appearing in the search path.

So I'm stuck for now. I'll work on it more later.

edit: please change your first post, put line breaks in so it doesn't stretch the page
benmachine

next_ghost

"Could not read default.cfg" means "I'm not next to your global base directory".
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.