Tremulous Forum

Community => Servers => Topic started by: twilight on April 12, 2007, 02:07:17 am

Title: Trying to Apply Mod
Post by: twilight on April 12, 2007, 02:07:17 am
OK I'm trying to apply the balance mod found here:

http://v1.risujin.org/tremulous/#balance

to my sever but I don't seem to be able to get it working. I've followed teh instructions to the best of my ability and I get this error every time I try to start up:

********************
ERROR: G_ParseSpawnVars: found : when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found : when expecting {) -----

Any Ideas?
Title: Trying to Apply Mod
Post by: Undeference on April 12, 2007, 02:55:39 am
your qvm mismatches your tremded
On the same page: http://v1.risujin.org/tremulous/#g1
Title: Trying to Apply Mod
Post by: twilight on April 12, 2007, 03:22:00 am
I downloaded the treded.ub from that very spot and replaced the one I had (luckily I made a backup) but when I try to start teh server from the new one it doesn't recognize it's existence. It says Permission Denied, and when I run it with sudo it says ./tremded.ub is not a known command
Title: Trying to Apply Mod
Post by: Undeference on April 12, 2007, 03:31:10 am
From http://tjw.org/tremulous/SETUP.txt
Quote
3) copy mac/tremded.ub to where Tremulous is installed.
   (next to Tremulous.app)

   'curl -O http://tjw.org/tremulous/mac/tremded.ub'
   'chmod a+x tremded.ub'
   'cp tremded.ub /the/place/where/tremulous/is/installed'
(emphasis added)
Title: Trying to Apply Mod
Post by: twilight on April 12, 2007, 05:41:38 am
ok so I downloaded the tremded.ub but still getting the:

********************
ERROR: G_ParseSpawnVars: found : when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found : when expecting {) -----

I don't know what to do. I'm sure i've got all the right files...

So what I have is a balance folder in the tremulous installation directory with the balance.pk3 and the vm folder containing the tremded.ub and game.qvm...a duplicate folder is located at ~/Library/Application Support/Tremulous/Balance

To start the server I am executing ./tremded.ub +set dedicated 2 +set fs_game balance +exec server.cfg +set net_port 33123 from the installation directory.

Also there was a .patch file provided with the mod. Anything I can do with that?
Title: Trying to Apply Mod
Post by: benmachine on April 12, 2007, 04:02:43 pm
The .patch file is only for coders, not server owners. Ignore it.
I'm not quite clear on the rest of what you said, so here's a full rundown:
In order to run a balance server, you need only these things:
~/Library/Application\ Support/Tremulous/balance/balance-879-16.pk3 (http://risujin.org/pub/tremulous/balance/balance-879-16.pk3)
~/Library/Application\ Support/Tremulous/balance/vm/game.qvm (http://risujin.org/pub/tremulous/balance/balance-879-16-vm.tar.gz)
/somepath/tremded.ub (http://tjw.org/tremulous/mac/tremded.ub)
/somepath/libSDL-1.2.0.dylib
/somepath/base/data-1.1.0.pk3
then run /somepath/tremded.ub +set fs_game balance +set dedicated 2 +exec server.cfg
Quote
It says Permission Denied, and when I run it with sudo it says ./tremded.ub is not a known command

sudo chmod a+rwx /somepath/tremded.ub will give all users permission to execute tremded.ub, so do that and then launch the server without sudo.

edit: FUCK YOU INCONSISTENT BBCODE >:(
Title: Trying to Apply Mod
Post by: twilight on April 12, 2007, 05:34:58 pm
/somepath is my installation directory, correct? I have the data-1.1.0.pk3 but it was the original that came with the game. Do I need an updated version? There doesn't seem to be a copy of it at http://www.mercenariesguild.net/base/

Other than that I have all those things. My normal server runs fine but I keep getting the ParseSpawnVars error when I try to run balance.
Title: Trying to Apply Mod
Post by: twilight on April 12, 2007, 09:21:37 pm
ok I got the domination mod working....but balance still gets that error. What cold be wrong with balance?
Title: Trying to Apply Mod
Post by: benmachine on April 13, 2007, 11:29:39 am
Quote from: "twilight"
/somepath is my installation directory, correct? I have the data-1.1.0.pk3 but it was the original that came with the game. Do I need an updated version? There doesn't seem to be a copy of it at http://www.mercenariesguild.net/base/

Other than that I have all those things. My normal server runs fine but I keep getting the ParseSpawnVars error when I try to run balance.

/somepath/ is just that - any path. So long as your tremded is next to ./libSDL-1.2.0.dylib and ./base/data-1.1.0.pk3 it will run wherever it is. But that's not really important.
If you do have all those files, my guess is that some other game.qvm is overriding the one you should be using. It's a long shot, but you could try deleting your old balance pk3s if you have earlier copies of the mod.
Title: Trying to Apply Mod
Post by: twilight on April 13, 2007, 05:35:29 pm
what would I do to fix w/e is overwriting the game.qvm then? I just don't get why domination turned out fine and balance doesn't work...
Title: Trying to Apply Mod
Post by: blckleprd on April 14, 2007, 11:24:11 pm
I'm having the exact same problem, following all the directions to a T (or so  I think). It would be great to know why this isn't working.
Title: Trying to Apply Mod
Post by: benmachine on April 15, 2007, 02:30:39 pm
Quote from: "blckleprd"
I'm having the exact same problem, following all the directions to a T (or so  I think). It would be great to know why this isn't working.

There's been a fair few problems listed in this thread so it'd probably be easiest on my crumbly old brain if you restate exactly which problem this is and what your setup is.

twilight: look for any pk3s in your balance folder ( ~/Library/Application\ Support/Tremulous/balance/ or /installation/directory/balance/ ) other than balance-879-16.pk3 and delete them. Tell me if you still have problems.
Title: Trying to Apply Mod
Post by: blckleprd on April 15, 2007, 03:36:34 pm
When I try to start of a Tremulous Balance Server, I get this error:

Code: [Select]
------------------------------------------------------------
fs_game: balance
!readconfig: loaded 6 levels, 0 admins, 0 bans, 0 commands
********************
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:
------------------------------------------------------------


I've done what benmachine said:

Quote
In order to run a balance server, you need only these things:
~/Library/Application\ Support/Tremulous/balance/balance-879-16.pk3
~/Library/Application\ Support/Tremulous/balance/vm/game.qvm
/somepath/tremded.ub
/somepath/libSDL-1.2.0.dylib
/somepath/base/data-1.1.0.pk3
then run /somepath/tremded.ub +set fs_game balance +set dedicated 2 +exec server.cfg


But it hasn't changed anything for me. I have never installed a version of balance before. Any thoughts?
Title: Trying to Apply Mod
Post by: twilight on April 15, 2007, 06:27:18 pm
Quote from: "benmachine"
There's been a fair few problems listed in this thread so it'd probably be easiest on my crumbly old brain if you restate exactly which problem this is and what your setup is.


Ok well I have my balance folder in ~/Library/Application Support/Preferences which contains the balance.pk3 and the game.qvm in the vm folder. I've set this up exactly the same way for my domination mod and it worked fine. This:

********************
ERROR: G_ParseSpawnVars: found " when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found " when expecting {) -----


only happens with balance.
Title: Trying to Apply Mod
Post by: next_ghost on April 15, 2007, 06:40:08 pm
God dammit twilight! Could you please do a search for what that message means?! It's been answered gazillion times before!
Title: Trying to Apply Mod
Post by: twilight on April 15, 2007, 06:44:49 pm
First of all the search engine sucks and if you use it like 1% of the things you find actually relate, and I have searched for it and what I've found out is that your tremded.uba nd you game.qvm are mismatching, and I've triple-checked that and I am not. I'm sorry if my troubles are a bother to you, but if you know the solution why don't you post it instead of putting up pointless flame...
Title: Trying to Apply Mod
Post by: blckleprd on April 16, 2007, 12:03:28 am
Quote from: "next_ghost"
God dammit twilight! Could you please do a search for what that message means?! It's been answered gazillion times before!


I've tried the search feature too, and haven't come up with anything that I can understand (stuff about compiling a new copy of tremded from the svn, which I understand how to do, but doesn't seem to apply to my problem). Maybe I suck at the internets, but I've tried very hard to find the answer. I'm sure twilight has too. It would be a lot better if you could just explain to us what the solution is. We're not trolling, we're not just trying to get the answer spoon-fed to us. We have actually tried to solve it on our own, and now we're asking for someone to help us since we can't figure out the solution ourselves. So it would be great if you could help us instead of flaming us.
Title: Trying to Apply Mod
Post by: benmachine on April 16, 2007, 11:40:42 am
Ignore next_ghost, he's just unnecessarily angry. The trouble is, all we can say at this point is that your error always means that the server and game.qvm are mismatched, your tremded is not appropriate for that qvm. You can argue all you like but that's what that error means. At this stage, there's not much more help we can offer. Try deleting the server files and redownloading them.
Title: Trying to Apply Mod
Post by: f0rqu3 on April 16, 2007, 12:44:23 pm
yeah he either flames or drops a link to forum search
Title: Trying to Apply Mod
Post by: blckleprd on April 16, 2007, 02:50:00 pm
Quote from: "benmachine"
Ignore next_ghost, he's just unnecessarily angry. The trouble is, all we can say at this point is that your error always means that the server and game.qvm are mismatched, your tremded is not appropriate for that qvm. You can argue all you like but that's what that error means. At this stage, there's not much more help we can offer. Try deleting the server files and redownloading them.


I'm using TJW's tremded. If I redownload it and redo the install, along with reinstalling the balance mod, will I have to do anything else to the tremded.ub file or the game.qvm file?
Title: Trying to Apply Mod
Post by: benmachine on April 16, 2007, 03:37:51 pm
OK, OK, wait.
Just to verify all of this, I tried the same thing to see what might be going wrong.
My conclusion? The balance mod doesn't run on tjw's tremded :\
twilight: try going to your installation folder and doing:
Code: [Select]
cp Tremulous.app/Contents/MacOS/Tremulous .
Note the final period, it's important
If it tells you no such file... try Tremulous.ub instead.
Then:
Code: [Select]
./Tremulous +set fs_game balance +set dedicated 2 +exec server.cfg
See if that works.

blckleprd, you haven't said what OS you are on, implied Mac but just in case it is something else, run your normal executable with +set fs_game balance +set dedicated 2 +exec server.cfg
Title: Trying to Apply Mod
Post by: twilight on April 16, 2007, 11:30:10 pm
ok if the balance mod doesn't work on tjw's tremded which one should I download?
Title: Trying to Apply Mod
Post by: blckleprd on April 17, 2007, 02:21:55 am
Benmachine: It worked! Just to make the directions a bit more clear, I typed this in my terminal:

Code: [Select]
cd /path/to/tremulous/folder/
cp Tremulous.app/Contents/MacOS/Tremulous.ub .
./Tremulous.ub +set fs_game balance +set dedicated 2 +exec server.cfg


maybe this'll help twilight too.
Title: Trying to Apply Mod
Post by: twilight on April 17, 2007, 02:41:56 am
Thank you benmachine!! It worked! : ) : ) : )
Title: Trying to Apply Mod
Post by: twilight on April 17, 2007, 03:27:02 am
oh great...

well it started up and everything...levels loaded fine...even could play as aliens with no problems...but when you try to spawn as a human on balance with a contruction kit...it quits and says cant find weapon 31....and with a rifle you spawn but the screen is HELLA glitchy and you can't see anything....

Any one have any ideas of why this is happening?
Title: Trying to Apply Mod
Post by: Caveman on April 17, 2007, 01:51:58 pm
Just don't mix up mods.
Use either, but not both at the same time.
Title: Trying to Apply Mod
Post by: twilight on April 17, 2007, 11:10:07 pm
how can you use two mods at the same time? =P
Title: Trying to Apply Mod
Post by: Caveman on April 18, 2007, 12:23:02 am
By getting the source and combining them?... Oh yeah... You need a brain if you want to do it .)
Title: Trying to Apply Mod
Post by: twilight on April 18, 2007, 01:29:10 am
exactly =P
Title: Trying to Apply Mod
Post by: blckleprd on April 18, 2007, 03:42:46 am
Quote from: "Caveman"
By getting the source and combining them?... Oh yeah... You need a brain if you want to do it .)


ouch.
Title: Trying to Apply Mod
Post by: twilight on April 19, 2007, 01:51:41 am
so no one else has had this problem with balance?
Title: Trying to Apply Mod
Post by: Caveman on April 19, 2007, 02:25:10 am
Well no one else admits to be brickheaded enough to try and run 2 mods at the same time on the same server...
Title: Trying to Apply Mod
Post by: twilight on April 19, 2007, 04:16:19 am
I'm not trying to run both at the same time. I have both of them set up...but I either play with balance, or with domination...not with both at the same time. I even have to use different tremded.ub's for each since one of them isnt compatible with balance.
Title: Trying to Apply Mod
Post by: blckleprd on April 19, 2007, 11:48:50 am
Quote from: "Caveman"
Well no one else admits to be brickheaded enough to try and run 2 mods at the same time on the same server...


...except neither of us was running two mods at the same time.
Title: Trying to Apply Mod
Post by: benmachine on April 19, 2007, 06:57:12 pm
Quote from: "twilight"
oh great...

well it started up and everything...levels loaded fine...even could play as aliens with no problems...but when you try to spawn as a human on balance with a contruction kit...it quits and says cant find weapon 31....and with a rifle you spawn but the screen is HELLA glitchy and you can't see anything....

Any one have any ideas of why this is happening?

After testing it myself, I'm starting to think that perhaps the balance qvm hosted on risujin's site is broken or somehow incorrect. In a second I'll try compiling my own, seeing how that works out, and reporting back with details.
Title: Trying to Apply Mod
Post by: Caveman on April 19, 2007, 07:30:49 pm
Quote from: "twilight"
I'm not trying to run both at the same time. I have both of them set up...but I either play with balance, or with domination...not with both at the same time. I even have to use different tremded.ub's for each since one of them isnt compatible with balance.


Oh, ok. I got that impression. My bad... Sorry.
Title: Trying to Apply Mod
Post by: Risujin on April 20, 2007, 05:43:05 pm
Quote from: "blckleprd"
Benmachine: It worked! Just to make the directions a bit more clear, I typed this in my terminal:

Code: [Select]
cd /path/to/tremulous/folder/
cp Tremulous.app/Contents/MacOS/Tremulous.ub .
./Tremulous.ub +set fs_game balance +set dedicated 2 +exec server.cfg


maybe this'll help twilight too.

Sorry for the trouble. I don't check the servers section very often so I didn't see this thread until it was mentioned on IRC. I've added some clarifications to my website. Yes, Balance mod does not run on TJW's tremded. Domination and Relic do. blckleprd's method is how you should host it since I don't offer the backported tremded anymore.
Title: Trying to Apply Mod
Post by: blckleprd on April 20, 2007, 05:54:33 pm
Quote from: "Risujin"
Quote from: "blckleprd"
Benmachine: It worked! Just to make the directions a bit more clear, I typed this in my terminal:

Code: [Select]
cd /path/to/tremulous/folder/
cp Tremulous.app/Contents/MacOS/Tremulous.ub .
./Tremulous.ub +set fs_game balance +set dedicated 2 +exec server.cfg


maybe this'll help twilight too.

Sorry for the trouble. I don't check the servers section very often so I didn't see this thread until it was mentioned on IRC. I've added some clarifications to my website. Yes, Balance mod does not run on TJW's tremded. Domination and Relic do. blckleprd's method is how you should host it since I don't offer the backported tremded anymore.


This was mentioned on IRC? Now everyone knows I'm an idiot (._.)
Title: Trying to Apply Mod
Post by: benmachine on April 20, 2007, 07:40:09 pm
OK, I just compiled my own game.qvm, and it works with tjw's server after all. I'm sticking by my notion that the game.qvm on Risujin's website is not the right one, and as a consequence, providing the following:
http://www.bandstand.org.uk/~benm/trem/custom-builds/balance.qvm
Download, rename to game.qvm, put it in the right place and use tjw's tremded not tremulous.ub
That should work fine, and with any luck Risujin will either explain or replace the website's QVM and I can take that one down.

Edit: Risujin posted while I had this post tucked away somewhere (I wrote it, got the VM, then pressed "submit")
I maintain that the game.qvm on the server is demonstrably not built with the patch that is hosted on your website. So please, can you recompile the VM and check, because I'm sure something has gone very wrong here.
Title: Trying to Apply Mod
Post by: twilight on April 21, 2007, 12:35:42 am
Thx a lot!