Author Topic: Trying to Apply Mod  (Read 15933 times)

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Trying to Apply Mod
« Reply #1 on: April 12, 2007, 02:55:39 am »
your qvm mismatches your tremded
On the same page: http://v1.risujin.org/tremulous/#g1
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #2 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
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Trying to Apply Mod
« Reply #3 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)
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #4 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Trying to Apply Mod
« Reply #5 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
~/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
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 >:(
benmachine

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #6 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.
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #7 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Trying to Apply Mod
« Reply #8 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.
benmachine

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #9 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...
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

blckleprd

  • Posts: 8
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #10 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.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Trying to Apply Mod
« Reply #11 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.
benmachine

blckleprd

  • Posts: 8
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #12 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?

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #13 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.
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Trying to Apply Mod
« Reply #14 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!
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.

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #15 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...
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

blckleprd

  • Posts: 8
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #16 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.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Trying to Apply Mod
« Reply #17 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.
benmachine

f0rqu3

  • Guest
Trying to Apply Mod
« Reply #18 on: April 16, 2007, 12:44:23 pm »
yeah he either flames or drops a link to forum search

blckleprd

  • Posts: 8
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #19 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?

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Trying to Apply Mod
« Reply #20 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
benmachine

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #21 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

blckleprd

  • Posts: 8
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #22 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.

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #23 on: April 17, 2007, 02:41:56 am »
Thank you benmachine!! It worked! : ) : ) : )
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #24 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?
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

Caveman

  • Guest
Trying to Apply Mod
« Reply #25 on: April 17, 2007, 01:51:58 pm »
Just don't mix up mods.
Use either, but not both at the same time.

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #26 on: April 17, 2007, 11:10:07 pm »
how can you use two mods at the same time? =P
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

Caveman

  • Guest
Trying to Apply Mod
« Reply #27 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 .)

twilight

  • Posts: 107
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #28 on: April 18, 2007, 01:29:10 am »
exactly =P
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

blckleprd

  • Posts: 8
  • Turrets: +0/-0
Trying to Apply Mod
« Reply #29 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.