Setting up Respawn on a Mac
Setting up Respawn on a Mac
I have a server, which I would love to add a hold the flag/minefield settings DF style respawn. I have a mac, my server is on a mac, but I can use Microsoft, if necessary.
The closest I got was the pigsty patch. Directions on how to setup/ where to put the patch after download would be greatly appreciated. I also do not know if this patch is mac compatible.
Would I need to shut down my server and restart it for the patch to take effect?
Thanks,
plotzki
The closest I got was the pigsty patch. Directions on how to setup/ where to put the patch after download would be greatly appreciated. I also do not know if this patch is mac compatible.
Would I need to shut down my server and restart it for the patch to take effect?
Thanks,
plotzki
I think it should work if you follow the Unix instructions. I haven't used the Unix way to compile a server on my Mac yet, so take this as my typical "OSX is Unix with a fancy UI on top" suggestion.
And yes, you certainly need to restart your server, and before that, you need to unpack the source, apply the patch, compile, and optionally install.
And yes, you certainly need to restart your server, and before that, you need to unpack the source, apply the patch, compile, and optionally install.
Yeah, the pig sty patch is the one that allows you to activate CTF and other cool stuff. The wiki page (found by searching our wiki for 'patch') on it describes the installation, you should follow the BSD instruction bits: http://wiki.armagetronad.net/index.php?title=Sty
I downloaded/installed subversion and then started setting up the patch and got:
Welcome to Darwin!
arbogast-jenkins-computer:~ arbogastjenkins$ mkdir armagetronad+sty
mkdir: armagetronad+sty: File exists
arbogast-jenkins-computer:~ arbogastjenkins$ cd !^
cd armagetronad+sty
arbogast-jenkins-computer:~/armagetronad+sty arbogastjenkins$ patch -p0 </Users/arbogastjenkins/Desktop/pigsty-061021\ Folder/pigsty-061021.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: config/settings_dedicated.cfg
|===================================================================
|--- config/settings_dedicated.cfg (revision 6248)
|+++ config/settings_dedicated.cfg (working copy)
--------------------------
File to patch:
Should I have the dedicated server already open on the terminal? or is this the "file to patch?" when I try to access the dedicated server in "file to patch" it says:
File to patch: /Users/arbogastjenkins/Desktop/armegetron/armagetronad-dedicated
patching file /Users/arbogastjenkins/Desktop/armegetron/armagetronad-dedicated
Hunk #1 FAILED at 295.
1 out of 1 hunk FAILED -- saving rejects to file /Users/arbogastjenkins/Desktop/armegetron/armagetronad-dedicated.rej
(Stripping trailing CRs from patch.)
can't find file to patch at input line 102
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: language/english_base.txt
|===================================================================
|--- language/english_base.txt (revision 6248)
|+++ language/english_base.txt (working copy)
--------------------------
File to patch:
so I remain without a clue. I also tried opening up the dedicated server in terminal first, but when I tried to access the pigsty patch it said "command CD unknown and "command patch unknown." thats all the info I have at he moment. thanks for all the help.
Welcome to Darwin!
arbogast-jenkins-computer:~ arbogastjenkins$ mkdir armagetronad+sty
mkdir: armagetronad+sty: File exists
arbogast-jenkins-computer:~ arbogastjenkins$ cd !^
cd armagetronad+sty
arbogast-jenkins-computer:~/armagetronad+sty arbogastjenkins$ patch -p0 </Users/arbogastjenkins/Desktop/pigsty-061021\ Folder/pigsty-061021.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: config/settings_dedicated.cfg
|===================================================================
|--- config/settings_dedicated.cfg (revision 6248)
|+++ config/settings_dedicated.cfg (working copy)
--------------------------
File to patch:
Should I have the dedicated server already open on the terminal? or is this the "file to patch?" when I try to access the dedicated server in "file to patch" it says:
File to patch: /Users/arbogastjenkins/Desktop/armegetron/armagetronad-dedicated
patching file /Users/arbogastjenkins/Desktop/armegetron/armagetronad-dedicated
Hunk #1 FAILED at 295.
1 out of 1 hunk FAILED -- saving rejects to file /Users/arbogastjenkins/Desktop/armegetron/armagetronad-dedicated.rej
(Stripping trailing CRs from patch.)
can't find file to patch at input line 102
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: language/english_base.txt
|===================================================================
|--- language/english_base.txt (revision 6248)
|+++ language/english_base.txt (working copy)
--------------------------
File to patch:
so I remain without a clue. I also tried opening up the dedicated server in terminal first, but when I tried to access the pigsty patch it said "command CD unknown and "command patch unknown." thats all the info I have at he moment. thanks for all the help.
the "svn co" link has a lot of choices. I go into :
src/
macosx/
then i get these choices:
# Armagetron Advanced_Prefix.pch
# English.lproj/
# Info.plist
# SDLMain.h
# SDLMain.mm
# client/
# config_common.h
# dedicated/
all of these choices lead to code, which I have no clue what to do with.
hmmmm. I guess I'd blame the baseless attempt on desperation, plus I was trying as many methods as possible in an attempt to waste less of your time
. looks like that worked impeccably.
a bit noobish at all of this, but generally well intentioned,
PLOTZ
src/
macosx/
then i get these choices:
# Armagetron Advanced_Prefix.pch
# English.lproj/
# Info.plist
# SDLMain.h
# SDLMain.mm
# client/
# config_common.h
# dedicated/
all of these choices lead to code, which I have no clue what to do with.
hmmmm. I guess I'd blame the baseless attempt on desperation, plus I was trying as many methods as possible in an attempt to waste less of your time
a bit noobish at all of this, but generally well intentioned,
PLOTZ
Ah, the patch is a code patch, it is applied to the source code. Then you have to build the source code into a working binary. That's the basic process, at least. How it works on Mac OS X is similar but different to linux. It's similar because you use the patch program to apply the patch to the source code. It's different because the Mac OS X build system is a bit different, so building it is different.
I can't give any specific details, because I'm not a mac guy. But there you go.
I can't give any specific details, because I'm not a mac guy. But there you go.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
Well, I fixed a small error in the instructions on the wiki (all sources were checked out into src/, but the patch was applied to ./), but they still don't run through. Could someone who is familiar with the patch please update the instructions so they work? Checking out a source version that works with the patch would do the trick.
-
Luke-Jr
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org