Author Topic: [SOLVED] - Making a tremded server  (Read 5627 times)

zaybertamer

  • Posts: 8
  • Turrets: +0/-0
[SOLVED] - Making a tremded server
« on: September 05, 2007, 01:13:18 am »
(copied from my post down a bit)

Yeah, i had tried that, but i think that the game.qvm and the win32 tremded were no longer matched because I got that G_parseSpawnVars error. So i followed  this compile guide. I managed to get it to run with the game.qvm from tjw, but when i tried to connect to it, it gave me some error, I think it said something about server uses protocol 70. I can't seem to even connect to it now..

Is there an easy way to connect to a server using IP? I'm sure there is, and that I'm very dumb for not knowing/guessing it.

Basically, I only want to find the tremded.exe that works with Risujin/Avenger's game.qvm. And can be connected to using the tremulous.exe that comes with 1.1.0 win32. I've got all the SVN and MSYS set up...I just need to find the repo or the revision that will work with it, and also the client that will connect with it.

Thanks for all the help.



Original post, solved that question:
Quote
I've looked around, but can't seem to find the answer.

My pals and I can't get /share to work. It just tells us its an unknown command. g_allowshare is 1. I am using Trem 1.1.0 for windows, with no extra mods or anything. I'm doing a normal, not dedicated server.

So can anyone give me some info here? thanks =)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
[SOLVED] - Making a tremded server
« Reply #1 on: September 05, 2007, 01:36:00 am »
Kill people and they share credits with you.

Oblivion

  • Posts: 410
  • Turrets: +27/-22
    • Gamez-Host.com
Re: Problems with /share
« Reply #2 on: September 05, 2007, 03:06:44 am »
Quote from: "zaybertamer"
I've looked around, but can't seem to find the answer.

My pals and I can't get /share to work. It just tells us its an unknown command. g_allowshare is 1. I am using Trem 1.1.0 for windows, with no extra mods or anything. I'm doing a normal, not dedicated server.

So can anyone give me some info here? thanks =)


xD, thats not how it works, you need to download a modded game.qvm or code your own, cause the default TJW or even the game itself does not have share.
World Wide Server Host

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Problems with /share
« Reply #3 on: September 05, 2007, 03:07:57 am »
Quote from: "zaybertamer"
I've looked around, but can't seem to find the answer.

My pals and I can't get /share to work. It just tells us its an unknown command. g_allowshare is 1. I am using Trem 1.1.0 for windows, with no extra mods or anything. I'm doing a normal, not dedicated server.

So can anyone give me some info here? thanks =)
share was never included in tremulous, nor will it ever be judging by the responses from a couple of the devs.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

zaybertamer

  • Posts: 8
  • Turrets: +0/-0
Re: Problems with /share
« Reply #4 on: September 05, 2007, 06:18:19 am »
Quote from: "Oblivion"
Quote from: "zaybertamer"
I've looked around, but can't seem to find the answer.

My pals and I can't get /share to work. It just tells us its an unknown command. g_allowshare is 1. I am using Trem 1.1.0 for windows, with no extra mods or anything. I'm doing a normal, not dedicated server.

So can anyone give me some info here? thanks =)


xD, thats not how it works, you need to download a modded game.qvm or code your own, cause the default TJW or even the game itself does not have share.


Ok, so i followed  this guide and it did not work. I still got the
Code: [Select]
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----

Error.

I followed the guide to the pixel. So, is the tremded and game.qvm no longer match? Can anyone try or tell me what i've done wrong? Thanks. (First I am just getting this qvm to work, then i'll work on one with share.)

Oblivion

  • Posts: 410
  • Turrets: +27/-22
    • Gamez-Host.com
[SOLVED] - Making a tremded server
« Reply #5 on: September 05, 2007, 01:22:17 pm »
Are you on windows if so I will give you a tutorial.

Let me give you a short and pretty tutorial on the way I do my servers xD. If this works for you I will setup as a tutorial on guides.
Now remember I am showing you the windows way

1. Download the latest tremulous backport at trem.tjw.org/backport
2. When done replace with old tremulous.exe.
3. Now go to http://tjw.org/tremulous/win32/tremded.exe for windows, here for linux http://tjw.org/tremulous/linux/ and here for mac, http://tjw.org/tremulous/mac/.
4. Ok now I am going to use the windows version cause thats the one I am most familiar with, ok so when that tremded is download put it in same folder as tremulous.exe is in which default is C:\Program Files\Tremulous.
5. Create a shortcut of the tremded, right click send to desktop that does it also.
6. Now open up, and type in command line "C:\Program Files\Tremulous\tremded.exe" +set dedicated 2 +set net_port 30201 +exec server.cfg
7. Thats the default command to run a normal server, but like relic that I run I added +set fs_game relic which allows everyone to download the correct client patch and create multiple servers.
8. After thats done you need to make sure that admin.dat is in C:\Documents and Settings\Username\Local Settings\Application Data\Tremulous\base
9. And then you need to make sure in C:\Program Files\Tremulous\base server.cfg and maprotation.cfg are set the way you like.
10. There now start up server and it should run.. Also if you have router open ports or it will not show up on server list.

For linux admin.dat is in ~/.tremulous/base server.cfg is in ~/tremulous/base depending on where you extracted or moved the folder to. As for starting the server, I recommend starting it with screen.
World Wide Server Host

zaybertamer

  • Posts: 8
  • Turrets: +0/-0
[SOLVED] - Making a tremded server
« Reply #6 on: September 06, 2007, 12:27:02 am »
Yeah, i had tried that, but i think that the game.qvm and the win32 tremded were no longer matched because I got that G_parseSpawnVars error. So i followed this compile guide. I managed to get it to run with the game.qvm from tjw, but when i tried to connect to it, it gave me some error, I think it said something about server uses protocol 70. I can't seem to even connect to it now..

Is there an easy way to connect to a server using IP? I'm sure there is, and that I'm very dumb for not knowing/guessing it.

Basically, I only want to find the tremded.exe that works with Risujin/Avenger's game.qvm. And can be connected to using the tremulous.exe that comes with 1.1.0 win32. I've got all the SVN and MSYS set up...I just need to find the repo or the revision that will work with it, and also the client that will connect with it.

Thanks for all the help.

Plague

  • Posts: 238
  • Turrets: +13/-13
[SOLVED] - Making a tremded server
« Reply #7 on: September 06, 2007, 12:37:13 am »
I'm fairly positive that Protocol 70 is imcompatible with 1.1.0 clients, and that you need an svn client to connect. You can connect directly using IP by doing /connect <IP>, but that won't be useful in this case.  I'm not sure, but Risujin's/Avenger's QVM should come with it's own compiled tremded if it uses a different one other than tjw's.  If not, you could always compile your own. It should also be compatible with 1.1.0 clients, as it uses the backport patch.

Edit: This is for Linux, but since you're using Msys, the procedure is exactly the same. This demonstrates how to apply patches and build a game.qvm/tremded binary.

Oblivion2

  • Guest
[SOLVED] - Making a tremded server
« Reply #8 on: September 06, 2007, 12:42:20 am »
Well that works for me with all kinds of mods xD

zaybertamer

  • Posts: 8
  • Turrets: +0/-0
[SOLVED] - Making a tremded server
« Reply #9 on: September 06, 2007, 05:21:38 am »
Ok, so I found your post very useful, it taught me how to do patches =D
However, I STILL can't manage to get it to work =( My computer must hate me or something.

So I DL'd rev 966 to use with Lakitu7's, since the tremded on http://tjw.org/tremulous/win32/ Isn't working with that game.qvm

I get 966, and patch it, and make it. Then it tells me I need sdl.dll. Help with this?


I think i recall getting the 2nd one from the tutorial working, but there still wasn't /share, or some other problem.


Then I tried to get r848, for Risujin/Avenger. I couldn't make that one, it gave me the error... hmmm I can't remember, but i just tried to make 976, and I think its the same error:

Code: [Select]
make[2]: bison: Command not found


So, help appreciated on: how do I fix this bison error, where do I get this sdl.dll that is needed, and of course, it would be extremely appreciated if someone were to go ahead and try what i'm doing(patch 966 with Lakitu's), and post directions on exactly what they did, that way i can see where i have been going wrong. I have both windows and linux(feisty) And I believe I have Msys and such all set up right, so I am open to doing this on either.

Thanks for all the help you guys have been giving me. I know you must be thinking how totally noobish I am...can't even patch and compile trem...well you are right. I don't know enough to figure this out. I have searched and spent probably 8 hours trying to do this. I just need the right stuff to learn from.

Oh, and Is it just me, or is the repo causing anyone else's SVN to freeze up after a bunch of files? I tested downloading from the SWGEmuRevZ repo (I miss the old SWG) and it worked fine...so just another quick question. I have been using Tortoise SVN to download.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
[SOLVED] - Making a tremded server
« Reply #10 on: September 06, 2007, 04:09:58 pm »
My SVN download often appears to hang at src/libs/macosx, but it's just really slow, because the next file is much larger than the usual C file.

I'm wondering if we can't sovle this problem much more simple:
Quote
So I DL'd rev 966 to use with Lakitu7's, since the tremded on http://tjw.org/tremulous/win32/ Isn't working with that game.qvm

Lakitu7's QVM *does* work with tjw's tremded, and if you can't make the two co-operate it's because somethign is wrong with your setup (common issues include: putting the QVM in the wrong place, stray PK3s overriding the VM, etc. etc.)
benmachine

zaybertamer

  • Posts: 8
  • Turrets: +0/-0
[SOLVED] - Making a tremded server
« Reply #11 on: September 07, 2007, 03:12:59 am »
Ok, so if I have the pk3 that I made from compiling stuff, vms-1.1.1.pk3, then lak's will work with TJW. But For some reason, my normal 1.1.0 tremulous.exe won't work now, says it needs ui\menu.txt...and when i use the tjw's treded as the client, nothing builds. or appears so. all the human structures were the blue field, and the alien ones were tiny seeds. And also share still didn't work..

The only time i managed to get share available, nothing could spawn, because it wasn't a level surface =|

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
[SOLVED] - Making a tremded server
« Reply #12 on: September 07, 2007, 11:31:13 am »
no more improvisation for you. go back to foobar's guide linked in your second post in this thread and repeat the steps there. if all directions are clear to you and you follow them, still getting the same results, you didn't adhere to them strictly enough.

the G_ParseSpawnVars error you had happens when you have your game.qvm in the wrong place and the 1.1 one is used instead. compiling a new trem{ulous|ded} will not help; having the game.qvm in the right place will. once you manage to get that to work right, then worry about having the right features and playing with settings.

and don't use "risujin/avenger game qvm"/lite/whatever else it may have been called. it's buggy and entirely unsupported
Need help? Ask intelligently. Please share solutions you find.

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

Plague

  • Posts: 238
  • Turrets: +13/-13
[SOLVED] - Making a tremded server
« Reply #13 on: September 07, 2007, 12:39:24 pm »
Additionally, if you're now planning to use Lakitu's QVM (which you should), it's already available as a qvm file and uses tjw's tremded. You shouldn't have to do any compiling (and hopefully by-passing some problems) if you don't intend on making modifications to it. All you have to do is place the files in the correct place, as Undeference underscored above.

zaybertamer

  • Posts: 8
  • Turrets: +0/-0
[SOLVED] - Making a tremded server
« Reply #14 on: September 08, 2007, 12:48:19 am »
Quote
Exactly what I am doing right at this moment:

Uninstalled Tremulous.
Deleted D:\Program Files\Tremulous
Deleted C:\Documents and Settings\Eric\Application Data\tremulous    (and the other folders i had there for other qvms.)

So: I have no tremulous. No trace of it (well, as far as I can see in explorer.)
 except for the installer.

Run:
Install: D:\Program Files\Tremulous  ;  No source code

Download: http://www.tjw.org/tremulous/win32/tremded.exe
Download: http://www.tjw.org/tremulous/game.qvm
Download: http://avalanche.admin.googlepages.com/TremServerFiles.zip

 -> denotes copied to

Tremded.exe -> D:\Program Files\Tremulous\
Create Directory: C:\Documents and Settings\Eric\Application Data\tremulous
Create Directory: C:\Documents and Settings\Eric\Application Data\tremulous\base
game.qvm -> C:\Documents and Settings\Eric\Application Data\tremulous\base
server.cfg -> D:\Program Files\Tremulous\base
maprotation.cfg -> D:\Program Files\Tremulous\base
tremserver.bat -> D:\Program Files\Tremulous\


Run: tremserver.bat

result:

G_SpawnErrors.


Then at this point i copied the C:\documents from the site and realized that %appdata% != C:\Documents and Settings\eric\Local Settings\Application Data\

I am an idiot. Thank you for bearing with me, as now it works. Now i will try to put Lakitu7's there as well...and it works also.

THANK YOU for forcing me to document my every command. If you hadn't Then i would be forever lost.

Case closed, and from this, I learn to check for \Local Settins\ in a path before i go and hit %appdata%...

Edit Add: Is there an easier guide for using Lakitu7's admin stuff and all? Like all the differences from base trem? Because I'm trying to decon the default structures, and even though i designated myself, i can't..