News:

Come Chat with us live! Learn how HERE!

Main Menu

Guide To Setting Up A Server On A MAC

Started by HotSoup, April 01, 2007, 12:20:44 AM

HotSoup

Ok, so I realized that there are a lot of you guys that have MACs and there's really no guide that tells how to make a server on a MAC. Thus, I have decided to make one. I'm not some Pro-Gamer/Pro-Coder, but I eventually figured this shit out, so here we go.


Go to "Applications", then "Utilities", and then finally, "Terminal"

Once it's opened, copy and paste the follow commands, and press enter after each command...

mkdir -p ~/Library/Application\ Support/Tremulous/base/vm
cd ~/Library/Application\ Support/Tremulous/base/vm
curl -O http://tjw.org/tremulous/game.qvm
curl -O http://tjw.org/tremulous/mac/tremded.ub
chmod a+x tremded.ub

The next step, 6, can be tricky if you don't exactly know where tremulous is installed. If you don't know where, go to spotlight, type in Tremulous, and when the little Tyrant w/ sunglasses icon comes up, right-click on it, and then click "Get Info". Under the tab "General Info" it says "where" followed by a /list/of/things/with/slashes/ect. This is where tremulous is installed

For step six you need to type the following...

cp tremded.ub /the/place/where/tremulous/is/installed

the "/the/place/where/tremulous/is/installed" is what it says under "where" in the "get info" for Tremulous.

For example, on my computer, I installed Tremulous to the Applications folder, so I would type

cp tremded.ub /Applications/Tremulous

and then I would press enter.

The next time 7 is similar, the command you enter is

cd /the/place/where/tremulous/is/installed

Once, again, its the same place you typed in the last command.

cp Tremulous.app/Contents/MacOS/libSDL-1.2.0.dylib .
./tremded.ub +set dedicated 2 +exec server.cfg

Ok, there you go, then your server should be up and running! That's how to get it started.

Now close the terminal and quit the process.

Next, in the "Base" folder where tremulous is installed, there is file called "server.cfg"

Right click the file, and select "Open With..." and choose the program "text edit"

This is where you are able to set how many players, the name of your server, /rcon password, ect.

For example, to have a server named "Mac OS X Server" that displays the link for Apple.com when it loads, starts on the map ATCS, has a 16 player max limit, SD is at 35 and game time limit is 55 WITH an /rcon password "butter" the text would look like this...

Observe where it says everything, you change most of the stuff by entering different positive integers.

set sv_pure 0

//passwords
set g_needpass 0
//set g_password password   //server password
set rconPassword butter

//loading screen
set sv_hostname "Mac OS X Server"
set g_motd "www.apple.com"

//disallow downloads from the server
set sv_allowdownload 0

//maximum number of clients
//greater than 24 is not recommended from a gameplay point of view
set sv_maxclients 16

//after 35 minutes, all build points are removed
set g_suddenDeathTime 35
//after 55 minutes, the game will end as a draw
set timelimit 55

//forces each team to have a similar number of players
set g_teamForceBalance 1

//following the first map, start this rotation
set g_initialMapRotation rotation1

//misc settings
set pmove_fixed     0
set sv_minRate      5000
set sv_maxRate      15000
set sv_minSnaps     10

//start this map first
map atcs


To change these, all you do is replace the values or name within the quotations.

I'll do one more just so people can see where to change things exactly

This next server is named "L33T Server". It has a 24 max player with a time limit of 25 minutes, with SD at 15 minutes. The /rcon password is 1337. As the game loads, it says "I'm going to eat your children..." The server starts on the map Niveus

set sv_pure 0

//passwords
set g_needpass 0
//set g_password password   //server password
set rconPassword 1337

//loading screen
set sv_hostname "L33T Server"
set g_motd "I'm going to eat your children..."

//disallow downloads from the server
set sv_allowdownload 0

//maximum number of clients
//greater than 24 is not recommended from a gameplay point of view
set sv_maxclients 24

//after 15 minutes, all build points are removed
set g_suddenDeathTime 15
//after 25 minutes, the game will end as a draw
set timelimit 25

//forces each team to have a similar number of players
set g_teamForceBalance 1

//following the first map, start this rotation
set g_initialMapRotation rotation1

//misc settings
set pmove_fixed     0
set sv_minRate      5000
set sv_maxRate      15000
set sv_minSnaps     10

//start this map first
map niveus


Just so you don't get confused, look at the two, to see what exactly was changed and what didn't.

After you finish customizing your server, click "Save" and then quit.

Next is the admin.dat files to make administrators on your server.

Click on the following series of files

Finder--->Users--->YourComputerName--->Library--->Application Support--->Tremulous--->Base

Once you are here, keep this open, and then open the "text edit" in "Applications" folder. Save a blank file into the "base" folder you just found. Name the files "admin"

Once it is saved in that file, right click on it, and then click "Get Info"

Under the name and extension category highlight and erase it, and retype "admin.dat", when the message comes up to whether want to use .dat or .rtf, click the one with .dat.

Now all you have to do is open Terminal back up and type the following commands and press enter after each one.

cd /the/place/tremulous/is/installed

./tremded.ub +set dedicated 2 +exec server.cfg

You're server, fully customized is fully operational and up and running. Whenever you want to run your server, open Terminal and type the last two following commands.

The final step is going into your server, which should appear in the master list. Once you enter the game open console (that happens by pressing the "~" button next to the "1" and by typing the following, you can !setlevel yourself as the operator of the server, and you can be an administrator with !commands.

/rcon password !setlevel partofyourname 5

and then you should be admin!

And you can now have a fully operational server.

Notes
To close the server, simply close terminal, and quit the process.

Feel free to copy and paste my sample server.cfgs but I suggest that you change the /rcon password first, this way people can't !setlevel themself.

Some problems...

If your server does not appear in the master list, but instead the LAN list, this means you either

A. Have to change your firewall settings

or

B. You are on a network and need to set up port forwarding with your main router

How to fix this is all situational towards what type of router and system you have. If this is the case, I suggest Google-ing it!

I hope this works, any MAC-heads out there, please tell me if something needs to be changed!
^1Hot^7Soup~


benmachine

Quote from: HotSoupIf your server does not appear in the master list, but instead the LAN list, this means you either

A. Have to change your firewall settings

or

B. You are on a network and need to set up port forwarding with your main router

How to fix this is all situational towards what type of router and system you have. If this is the case, I suggest Google-ing it!
I dispute this. My server shows up on my LAN list (I connect to it through port 30720 locally) but it shows up on other people's Internet lists (they connect through some other crazy port that I can't really work out). This is down to a router setting called universal Plug and Play, which sorts out port forwarding perfectly for everyone, as if by magic. I appreciate though that for most setups, you're probably right.
(I seriously don't understand it, but your server appearing in the local list doesn't necessarily mean it's not working. Ask someone far far away to connect for confirmation).
benmachine

HotSoup

yea I've had a number of people try to connect to the server when it comes up as LAN, didn't work for them though, oh well.
^1Hot^7Soup~

n00b pl0x

holy crap. that guide makes me really really glad i have windows.
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

TinMan

Windows isn't much different, except that your trem server will suck.
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

n00b pl0x

actually, no.

windows you install tremded.exe to where trem is, the game.qvm into base/vm, and a sample server.cfg. edit the server.cfg the way you want it, then type cmd into run and type cd c:\program files\tremulous then tremded.exe +set dedicated 2 +exec server.cfg

and you have a server...
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

HotSoup

...which is exactly what my guide does. It just goes into detail.
^1Hot^7Soup~

GrooveMachine

A few nights ago, my server was up and on running on the INTERNET list.  The next day, after I had to quit Terminal overnight, my server wouldn't show up on the INTERNET list, only the LAN list.  The only changes I had made were adding some commands to admin.dat, and trying to figure out a maprotation file.  I tried deleting ever server file I had (except autogen.cfg and server.cfg).  Then I followed the instructions from tjw.org/tremulous/SETUP.txt (which are also on the first post of this thread).  It still won't show up on the INTERNET list.  HELP!
Computers are like air conditioners...they work until you open Windows!

next_ghost

Quote from: GrooveMachineA few nights ago, my server was up and on running on the INTERNET list.  The next day, after I had to quit Terminal overnight, my server wouldn't show up on the INTERNET list, only the LAN list.  The only changes I had made were adding some commands to admin.dat, and trying to figure out a maprotation file.  I tried deleting ever server file I had (except autogen.cfg and server.cfg).  Then I followed the instructions from tjw.org/tremulous/SETUP.txt (which are also on the first post of this thread).  It still won't show up on the INTERNET list.  HELP!

Sorry dude, my crystal ball is broken.
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.

benmachine

Quote from: GrooveMachineA few nights ago, my server was up and on running on the INTERNET list.  The next day, after I had to quit Terminal overnight, my server wouldn't show up on the INTERNET list, only the LAN list.  The only changes I had made were adding some commands to admin.dat, and trying to figure out a maprotation file.  I tried deleting ever server file I had (except autogen.cfg and server.cfg).  Then I followed the instructions from tjw.org/tremulous/SETUP.txt (which are also on the first post of this thread).  It still won't show up on the INTERNET list.  HELP!
My guess is, something other than the things you mentioned changed overnight. For example, if you had port forwarding set up to that computer before, it's possible that the local IP of your machine changed and so the ports are no longer being forwarded to the server.
benmachine

GrooveMachine

Yeah, I hink you're probably right.  How could I fix those?
Computers are like air conditioners...they work until you open Windows!

David

We don't know what the problem is, so cant help you.
Like next_ghost said, we don't have a crystal ball.

If you post logs and the server IP and all the other needed info, then people might be able to help.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

stalefries

Thanks for the guide, worked fine as soon as I realized I had to put the files in my home folder's Aplication Support folder, not the system-wide one.
color=green]:[/color]nac:stalefries
My boring website that you hate | GRAAAAGHH!

fredfredburger


AKAnotu

i'm having some problems, my server's not showing up. heres a copy+paste of my terminal
Last login: Wed May  9 20:05:00 on ttyp1
Welcome to Darwin!
[172:~] graham% mkdir -p ~/Library/Application\ Support/Tremulous/base/vm
[172:~] graham% cd ~/Library/Application\ Support/Tremulous/base/vm
[172:Tremulous/base/vm] graham% curl -O http://tjw.org/tremulous/game.qvm
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  503k  100  503k    0     0  73252      0  0:00:07  0:00:07 --:--:-- 83864
[172:Tremulous/base/vm] graham% curl -O http://tjw.org/tremulous/mac/tremded.ub
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
 3 7559k    3  228k    0     0  61371      0  0:02:06  0:00:03  0:02:03 67695ch  4 7559k    4  314k    0     0  66873      0  0:01:55  0:00:04  0:01:51 72226
100 7559k  100 7559k    0     0  79282      0  0:01:37  0:01:37 --:--:-- 83218
[172:Tremulous/base/vm] graham% chmod a+x tremded.ub
[172:Tremulous/base/vm] graham% cp tremded.ub /Users/graham/Desktop/games/Tremulous 20060704
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
      cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
[172:Tremulous/base/vm] graham% cd /Users/graham/Desktop/games/Tremulous 20060704
tcsh: cd: Too many arguments.
[172:Tremulous/base/vm] graham% cp Tremulous.app/Contents/MacOS/libSDL-1.2.0.dylib .
cp: Tremulous.app/Contents/MacOS/libSDL-1.2.0.dylib: No such file or directory
[172:Tremulous/base/vm] graham% ./tremded.ub +set dedicated 2 +exec server.cfg
dyld: Library not loaded: @executable_path/libSDL-1.2.0.dylib
 Referenced from: /Users/graham/Library/Application Support/Tremulous/base/vm/./tremded.ub
 Reason: image not found
Trace/BPT trap
[172:Tremulous/base/vm] graham% cd /the/place/tremulous/is/installed
tcsh: /the/place/tremulous/is/installed: No such file or directory.
[172:Tremulous/base/vm] graham% cd /Users/graham/Desktop/games/Tremulous 20060704
tcsh: cd: Too many arguments.
[172:Tremulous/base/vm] graham% ./tremded.ub +set dedicated 2 +exec server.cfg
dyld: Library not loaded: @executable_path/libSDL-1.2.0.dylib
 Referenced from: /Users/graham/Library/Application Support/Tremulous/base/vm/./tremded.ub
 Reason: image not found
Trace/BPT trap
[172:Tremulous/base/vm] graham%


my server.cfg:
set sv_pure 0

//passwords
set g_needpass 0
//set g_password password   //server password
set rconPassword nice try :)

//loading screen
set sv_hostname "Test-do not join"
set g_motd "don't join"

//disallow downloads from the server
set sv_allowdownload 0

//maximum number of clients
//greater than 24 is not recommended from a gameplay point of view
set sv_maxclients 16

//after 35 minutes, all build points are removed
set g_suddenDeathTime 35
//after 55 minutes, the game will end as a draw
set timelimit 55

//forces each team to have a similar number of players
set g_teamForceBalance 1

//following the first map, start this rotation
set g_initialMapRotation rotation1

//misc settings
set pmove_fixed     0
set sv_minRate      5000
set sv_maxRate      15000
set sv_minSnaps     10

//start this map first
map atcs
[/code]

next_ghost

Quote from: AKAnotu... lots of commands with wrong arguments ...

Can you read or do I have to mark you the error messages so you can find them? :roll:
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.

benmachine

In order to cd to a path containing a space you need to either enclose the path in "these" or escape the space with a\ backslash.
So
cd /Users/graham/Desktop/games/Tremulous 20060704
becomes
cd /Users/graham/Desktop/games/Tremulous\ 20060704
cd "/Users/graham/Desktop/games/Tremulous 20060704"

either will do.

next_ghost: this post did not give me cancer. Being nice isn't so hard, really. Being quiet is even easier. Try one.
benmachine

AKAnotu

thanks. i use a mac. i normally don't have to crawl through code. just because i have no idea why theres an argument with tremded not being a picture or whatever, doesn't mean you have to flame. :advmarauder:

next_ghost

Quote from: AKAnotuthanks. i use a mac. i normally don't have to crawl through code. just because i have no idea why theres an argument with tremded not being a picture or whatever, doesn't mean you have to flame. :advmarauder:

3 hints for you:
1) Tab is a very useful key, try using it in command line
2) UNIX programs ussually say something only when they have a problem, if they do, then read it! It's not code but simple error message.
3) New Macs are UNIX-based
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.

Samurai.mac

I'm fairly certain you could use Apple script to do all this for you, not quite sure how though, I've never actually used it to write something before.

GrooveMachine

Hey, if you guys want to set up your server without typing a bit of code, check out my Mac Tremulous Server Setup  shell script, the aptly named "MacTremServ".  It comes with an install script, uninstall script, server start script, and server file cleanup script (for server file errors).  Check it out here:

http://www.divshare.com/download/1573978-90c

It's a 5.3MB download, and you'll want to run it from your Desktop (meaning if if download to your desktop, don't move any files/folders).  Give it a try--it should be perfectly stable (it's in its seventh version).  Also, I have a Tremulous.net board discussing it here:

http://tremulous.net/phpBB2/viewtopic.php?t=5751

Let me know what you would want added to it, and I'll try to include it in the next version.

-GrooveMachine
Computers are like air conditioners...they work until you open Windows!

GrooveMachine

Hey, for those of you who are having trouble with MacTremServ, here's the fixed up version that shouldn't say permission denied (but if it DOES, READ THE README FILE).  Enjoy!

http://www.divshare.com/download/2990592-71b

-Groove
Computers are like air conditioners...they work until you open Windows!

rankok

my server dosnt show up in lan internet or favourites and tremulous wont turn on the screen goes black then it quits

rankok

how do u set it up so it appears in the lan list

GrooveMachine

Hey guys, after days of testing and fixing, MacTremServ is fully functional.  It truly works now.  I've used it on all of my computers with no problem.  It's the easiest way to get your server up and running.  Download here:

http://www.divshare.com/download/3161522-61d

Coming soon, MacTremServ will include options for modded servers and alternate QVMs.  It may be a while though, because that will require extensive testing and long hours of working.  Thanks for your patience!

-GrooveMachine
Computers are like air conditioners...they work until you open Windows!

Death On Ice

Quote from: GrooveMachine
...advertising...
::)

GrooveMachine

Well, it is advertising in a sense, but I figured I might as well help them out by informing them of it :)
Computers are like air conditioners...they work until you open Windows!

hov

??? I followed the code and all in the guide but sometimes when i put the code into the terminal
the terminal says "error:there is no such file"(this usualy happens when there is a code that has "cd" in it).
And then when I try to find my server on the master list it doesnt show up.

can somebody please help me with this??
HOV!!!

Shturts

#29
Kay, like rankok said, tremulous doesn't wanna open anymore, the screen goes black like it's loading, but then the black fades and it's back to desktop, help pl0x? =/

JSPA711

yo i tried to do this and the server is up but it wont let me become the admin... i type /rconpassword (mypassword) !setlevel (myname) 5 and it doesnt let... PLEASE HELP!!

Death On Ice

In the Terminal window in which your server is running, type '!setlevel [yourname] 5'.

doomagent13

Its just "/rcon <your_rcon_password> !setlevel <your_name> <max_level>", not "/rconpassword".

Bullseye

?FH:Bullseye mothaa fuckaaa

Bissig

Quote from: Bullseye on July 07, 2008, 04:46:39 AM
help me soup mine didnt work

This is not a helpful description of your problem at all.

mooseberry

Quote from: Bissig on July 07, 2008, 06:42:19 AM
Quote from: Bullseye on July 07, 2008, 04:46:39 AM
help me soup mine didnt work

This is not a helpful description of your problem at all.

If you want to post a detailed description of why your server doesn't work, please post here, if you do not, must modern computers have a mind reader built into the back of the box, labeled I/O.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

professor

i just setup mine, and everything went great except that when i go into tremulous the server shows up under local and not under internet where all the other servers r...
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

Bissig

./tremded.ub +set dedicated 2 +exec server.cfg

professor

http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!


professor

yea i did all that including the thing u put, and i even got the admin thingy done it just doesnt show up in the right list...
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

Bissig

#41
Quote from: professor on August 06, 2008, 11:05:11 PM
yea i did all that including the thing u put, and i even got the admin thingy done it just doesnt show up in the right list...

Then you are still doing it wrong. The only way it happens like you say is when you either start a server WITHIN your tremulous client or when you did not note the BIG BLACK TEXT in my first answer here and indeed set it as "+set dedicated 1" instead of "+set dedicated 2"

Post here from your config file/terminal window what exactly you put in.

professor

 ./tremded.ub +set dedicated 2 exec server.cfg
tremulous 1.1.0 macosx-x86 Aug 14 2006
and thats copy pasted
after i put that in it just goes right up, and then when i go in its in local not interenet


http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

David

Or, you just have a shit nat, and it will never appear on the internet list for you.
Try pinging it from elsewhere and see if it is really on the web or not.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

professor

ok well im not at home right now so im gonna close it, and when i get home ill try agaiun

http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

professor

http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

Rocinante

If you have a crappy NAT, as suggested, you will never see the server in anything but "local" because of how the router mangles the packets.  You may or may not have other people able to see the server and/or connect to it, depending on how things work (sometimes changing the client to use a different net_port (I think that's the option) helps here).

If you're running the server on the same machine as the client, same rules apply.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

professor

ok  well its called the server of the truth(my friend came up wit it) if someone will tell me if it comes up in local or internet
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

David

Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

professor

#49
ok well anyone got an idea of something i could do to make it work??
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

professor

ok i got mine to work and show up now... but i have one problem, the admin.dat file stays blank and does not fill itself out, should i type in the stuff myself???
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

Bomb

You've already asked that question in this thread. There's no need to ask it again.

HotSoup

Mmmmm hi, I don't normally come on this thread a whole lot. Professor, judging by your other posts, you shouldn't be anywhere near a computer more or less trying to make a server. Nonetheless, thanks everyone for keeping the MAC server thread alive.
^1Hot^7Soup~

professor

hmm wow ur a bit late.. yea by now my server pwns and it turns out i was looking in the wrong folder for the admin.dat, and the server just didnt show up in the lan area for a while it fixed it self..
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!

Bissig

Quote from: professor on November 09, 2008, 11:12:54 PM
hmm wow ur a bit late.. yea by now my server pwns and it turns out i was looking in the wrong folder for the admin.dat, and the server just didnt show up in the lan area for a while it fixed it self..

You are TWO month late, so wtf is the point of your post?

Bulletsjohn

uuuuuuuuh....... I'VE GOT A BIT OF A PROBLEM!!!! when i type in cd /the/place/where/tremulous/is/installed/ (/applications/tremulous 20060704/tremulous in my computer) it says no such file or directory...... WTF? I'M LOOKING DIRECTLY AT IT!!!! what is my problem? i'm doing it exactly how it says.... and IT WON'T WORK! CAN SOMEONE PLEASE TELL ME WHAT MY PROBLEM IS? i cannot find out what my problem is... is it possible that the command was written wrong (i'm talking about the command in the post... cd.... i do not know what it does since i do not know unix code... but maybe it was the wrong command? because this isn't working and if my clan doesn't get a server up ASAP we could crash.

David

A) Write in English.  Having to decipher your post isn't incentive to spend any time helping you.
B) No one gives a crap about your clan.
C) The file path has a space in it.  Spaces in file names are evil.  Either remove the space, or wrap the path in quotes, eg: cd "/applications/tremulous 20060704/"
D) cd stands for "change directory"
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bulletsjohn

#57
i'm sorry, i'm just a little bit annoyed... i'll try that. and i am speaking clear english... if you really want me to capitalize every sentence, i can do that. but i'm just annoyed that it won't do what i tell it to.

i'm going to be picking up a UNIX code book very soon, but in the mean time, cut me a bit of slack. i'm anything but used to jerking around with the terminal on my mac. i'm scared to death i might screw up something in Tremulous. i tried what you told me to do, and it says (entire line)

-bash: /cd: no such file or directory

is it possible that i need to put a space after the slash? (example: / applications/ tremulous20060704/ tremulous) i know this might sound completely illogical but again, i'm a retard in this kind of thing.

Archangel

QuoteEither remove the space, or wrap the path in quotes, eg: cd "/applications/tremulous 20060704/"

Quote
-bash: /cd: no such file or directory

so who here can't read?

Bulletsjohn

i don't see where you're getting with that post...

Archangel

QuoteEither remove the space, or wrap the path in quotes, eg: cd "/applications/tremulous 20060704/"

Quote-bash: /cd: no such file or directory

Quotecd "/applications/tremulous 20060704/"
even though it's actually /Applications, iirc. it is case sensitive, and space sensitive.

Bulletsjohn

i'll try...... although that post still seems ambiguous to me, due to lack of detail. i'll see what i can do.

Bulletsjohn

ok, that worked... thank you, but now i have another thing to work out. i got to the point to type in ./tremded.ub +set dedicated 2 +exec server.cfg....

i get this out of my terminal:

dyld: Library not loaded :@executable_path/libSDL-1.2.0.dylb
   Referenced from: /applications/tremulous 20060704/./tremded.ub
   Reason: image not found
Trace/BPT trap

do i need to retrace a step, or what? because obviously either i missed a step, or the person writing the article missed a step.

if you think you can help me, my MSN is john@relw3.net. i would greatly appreciate the help. i can see that you all are not liking that i cloud this thread up with questions (who does?). thank you for the help so far, but with future help, i'd rather not do it here.

here's something you/we should do... make a guide that has as little to do with the terminal as possible. the reason why, is everything that can be done with the terminal, can also be done with dragging, dropping, clicking, and searching. sure, this is an excellent guide for mac users who know UNIX code, but i am not familliar with it, and i'm sure you all will see some more like me who are not familiar with it, and do not know what to do if this doesn't work.

infestor1

Quote from: Bulletsjohn on July 23, 2009, 08:41:31 PM
ok, that worked... thank you, but now i have another thing to work out. i got to the point to type in ./tremded.ub +set dedicated 2 +exec server.cfg....

i get this out of my terminal:

dyld: Library not loaded :@executable_path/libSDL-1.2.0.dylb
   Referenced from: /applications/tremulous 20060704/./tremded.ub
   Reason: image not found
Trace/BPT trap

do i need to retrace a step, or what? because obviously either i missed a step, or the person writing the article missed a step.

if you think you can help me, my MSN is john@relw3.net. i would greatly appreciate the help. i can see that you all are not liking that i cloud this thread up with questions (who does?). thank you for the help so far, but with future help, i'd rather not do it here.

here's something you/we should do... make a guide that has as little to do with the terminal as possible. the reason why, is everything that can be done with the terminal, can also be done with dragging, dropping, clicking, and searching. sure, this is an excellent guide for mac users who know UNIX code, but i am not familliar with it, and i'm sure you all will see some more like me who are not familiar with it, and do not know what to do if this doesn't work.

Well the author didn't miss a step, because this all works fine for me. What was your COMPLETE startup command? Everything you type into Terminal. Because i see that you typed ... so that might indicate that there is more after that...

@ your suggestion about an easier guide: I actually wrote a program with applescript to automatically start up the server. Do you want it? And not ALL of this can be done with JUST dragging and dropping. :D

Bulletsjohn

aww sweet that program sounds excellent... can i try it out? please and thank you so much.

infestor1

sure but your trem folder needs to be in /Applications/Tremulous

it will only work then. is it?

David

Quote from: Bulletsjohn on July 23, 2009, 08:41:31 PM
dyld: Library not loaded :@executable_path/libSDL-1.2.0.dylb
   Referenced from: /applications/tremulous 20060704/./tremded.ub
   Reason: image not found
Trace/BPT trap

You need to install SDL.  If it didn't come with trem then I have no idea how such stuff would be done on a mac.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bulletsjohn

Quote from: infestor1 on July 23, 2009, 09:54:35 PM
sure but your trem folder needs to be in /Applications/Tremulous

it will only work then. is it?

i'll tell you what i have. in applications, i scroll all the way down to find a folder called Tremulous 20060704 (no idea what the number is for) and in that folder is the base folder, some PDF documents (like the readme) and a folder called src. then at the bottom it has the tremulous alias in there.

so if the /applications/tremulous is a folder with the alias in it, yes i have that.

Archangel

the tremulous server shouldn't require sdl...

Laencii

I'm new.... my problem is this:


http://img191.imageshack.us/i/imagen1yzzbdp.png/

Why says "Permission denied"?

Sorry for my english, but i'm spanish ^^

Archangel


Laencii

#71
I have been following a guide and put it when he told me

EDIT:

Terminal


http://img188.imageshack.us/i/imagen1ije.png/

Help plz  :'(

Archangel

you need to put a . at the end of the cp line

Laencii

#73
TKS  ;) :D but see the Terminal


TERMINAL ELIMINATED BY LAENCII


EDIT: OK, y server is running, but in LAN

How can I put on the internet?
I have to configure?

EDIT 2:
Despite being admin, I do not have permission to commands.
Apart from that, I can not change the name or description of the server.
And when I put a command in the terminal tells me:
couldn't exec (commandname).cfg
only on: sdmode1/2, unlaggedon/off...

Archangel

!setlevel your_name 5
g_unlagged 1
g_suddendeathmode 2

you need to set server name and such in server.cfg

it'll show up as LAN from your computer, if you did it right.

Laencii

OK, some errors are already fixed, but when i run a command from the game, said
Permission Denied

In some others commands:

unlaggedon/off
ffon/off
clanmatch/unclanmatch
bffon/off
humanstage1/2/3
alienstage1/2/3
shareon/off
sdmode1/sdmode2
stage1/2/3
mm1on/nomm1

give me this error:
couldn't exec (commandname).cfg

And finally, i can't configure the server.cfg file despite change, I get the same name

Sry for my English

PD: The server sets LAN and Internet
And i'm lvl 6 admin

Archangel

you need to create the files in base/ with those commands inside.

Laencii

#77
the error was in the QVM, but it is solved  :D

What I can't change the name and description of the server and always will change from file server.cfg.

The tutorial helped me a lot.

Congratulations!

EDIT:

rectified, i can't edit the file server.cfg, nothing

Eleazar

I just created a script to create a server on the mac it does not set up the server.cfg though (It's very primitive).  Hopefully by this december I should have a full program to install and configure a server.  It is only for the Mac.

http://www.box.net/shared/9u9sercxix

julespino

#79
ummm it wont let me save an empty admin file in text edit
why ??

Kiwi

You should be able too.  Most of the time I just open a used .cfg file (there all over the place in your tremulous base) and put what you want in it and save it somewhere else.  This method tends to get most of the extension stuff worked out.

frazzler

#81
Alright, I need a hand. I'd really like to start a server up, but God hates me. Here's the main problems:mv: tremded.ub: No such file or directory
mv: game.qvm: No such file or directory
cp: Tremulous.app/Contents/MacOS/libSDL-1.2.0.dylib: No such file or directory
mv: maprotation.cfg: No such file or directory
mv: Server Commands: No such file or directory
kl100707s-macbook-pro:~ user-kl707$ /game.qvm
-bash: /game.qvm: No such file or directory
kl100707s-macbook-pro:~ user-kl707$


Although they quite obviously exist, otherwise I would not be able to run Tremulous. They all are in the base folder except for Server Commands. This is from using that 'groove' fellows guide that I downloaded. When using the regular guide in the thread, I follow all the steps successfully until I reach that second CD command with all the +'s in it. In which case This: Last login: Wed Dec 30 02:07:13 on ttys000
kl100707s-macbook-pro:~ user-kl707$ ./tremded.ub +set dedicated 2 +exec server.cfg
-bash: ./tremded.ub: No such file or directory
occurs.

HotSoup

Been awhile since I've been on here or even looked at this post. Thanks to everyone to keeping it alive! I'm not even sure if I remember how to do any of this stuff anymore it's been so long!
^1Hot^7Soup~

LunaticJames

It won't let me save the server.cfg textedit file. Anyone know what I did wrong?  ???

Gregstein

Check permissions in the file–if not, make new and replace it.


BTW. I found I cannot start serv on mac. I did as tut says but i recieve this error:

InitGame: \g_suddenDeathTime\15\g_maxGameClients\0\sv_minPing\0\timelimit\25\sv_hostname\L33T Server\sv_maxclients\24\sv_minRate\5000\sv_maxRate\15000\sv_maxPing\0\version\tremulous 1.1.0 macosx-ppc Aug 14 2006\protocol\69\mapname\niveus\sv_privateClients\0\sv_allowDownload\0\g_needpass\0\gamename\base
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----
==== ShutdownGame ====
ShutdownGame:


What makes this error and how can iI fix it?
I'm not rude. This is heavy sarcasm.

David

You have a mismatched server a game.qvm.  The QVM you're using will probably recommend a server that works.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Gregstein

#86
Quote from: David on July 16, 2010, 09:35:16 PM
You have a mismatched server a game.qvm.  The QVM you're using will probably recommend a server that works.

Sorry, I'm alien and I don't understand humanisch. What do you mean mismatched–It's Trem v. GPP1 and I did nothing with .qvm–no bots, no download.

I tried to start server using older version of Trem(the one before GPP) and i recieved error same as earlier. Funny or not.



EDIT: Now I feel like one. Because I've got QVM, but I spend time looking at it and praying.

Edit no 2:Sorry for bothering you. Got Off…
I'm not rude. This is heavy sarcasm.

Gregstein

I tried combination of Lakitu's QVM 5.5 + MG's Tremded.ub.
IT DOES NOT WORK TOO.

I'm not rude. This is heavy sarcasm.