Applying pig-sty patch
-
- On Lightcycle Grid
- Posts: 25
- Joined: Mon Oct 30, 2006 3:07 am
Applying pig-sty patch
Hey,
I have a mac and wish to make a shooting server. I have successfully compiled a dedicated server before, so I just need help with applying the patch. Thanks.
I have a mac and wish to make a shooting server. I have successfully compiled a dedicated server before, so I just need help with applying the patch. Thanks.
Patriots Rule!
Common Sense.
Common Sense.
- HEXadecimal
- Core Dumper
- Posts: 166
- Joined: Wed Jan 10, 2007 3:21 am
- Contact:
- HEXadecimal
- Core Dumper
- Posts: 166
- Joined: Wed Jan 10, 2007 3:21 am
- Contact:
-
- On Lightcycle Grid
- Posts: 25
- Joined: Mon Oct 30, 2006 3:07 am
got as far as this, while doing "make"
Code: Select all
./tron/gCycle.h:171: error: ISO C++ forbids declaration of 'gFlagZoneHack' with no type
engine/../tron/gCycle.h:171: error: expected %<;%> before '*' token
engine/../tron/gCycle.h:179: error: ISO C++ forbids declaration of 'gFlagZoneHack' with no type
engine/../tron/gCycle.h:179: error: expected %<;%> before '*' token
engine/../tron/gCycle.h:181: error: declaration of 'REAL gCycle::lastShotTime'
engine/../tron/gCycle.h:173: error: conflicts with previous declaration 'REAL gCycle::lastShotTime'
engine/../tron/gCycle.h:182: error: declaration of 'REAL gCycle::shotStarted'
engine/../tron/gCycle.h:174: error: conflicts with previous declaration 'REAL gCycle::shotStarted'
engine/../tron/gCycle.h:183: error: declaration of 'REAL gCycle::shotReservoir'
engine/../tron/gCycle.h:175: error: conflicts with previous declaration 'REAL gCycle::shotReservoir'
engine/../tron/gCycle.h:184: error: `void gCycle::ProcessShoot(bool)' and `void gCycle::ProcessShoot(bool)' cannot be overloaded
engine/../tron/gCycle.h:185: error: `void gCycle::Killed(gCycle*, int)' and `void gCycle::Killed(gCycle*, int)' cannot be overloaded
engine/ePlayer.cpp: In member function `void ePlayerNetID::DropFlag()':
engine/ePlayer.cpp:2329: error: 'class gCycle' has no member named 'flag_'
engine/ePlayer.cpp:2331: error: 'class gCycle' has no member named 'flag_'
make[3]: *** [libengine_a-ePlayer.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Patriots Rule!
Common Sense.
Common Sense.
- HEXadecimal
- Core Dumper
- Posts: 166
- Joined: Wed Jan 10, 2007 3:21 am
- Contact:
Scroll up to the part that says "Failed to find file 'whatever.h' included from 'whatever.h' "
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
- HEXadecimal
- Core Dumper
- Posts: 166
- Joined: Wed Jan 10, 2007 3:21 am
- Contact:
This error is the giveaway:
The reason there's no type is because the compiler doesn't know about it, it should be defined in a header file somewhere. The reasons the compiler didn't find the error file could be that it doesn't exist, the directory it's located in isn't in the search path, etc.
Anyway, the "no type" error is the giveaway.
I don't know what to do when I see which file it's not finding, but maybe someone else will.
Code: Select all
./tron/gCycle.h:171: error: ISO C++ forbids declaration of 'gFlagZoneHack' with no type
Anyway, the "no type" error is the giveaway.
I don't know what to do when I see which file it's not finding, but maybe someone else will.

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
- wrtlprnft
- Reverse Outside Corner Grinder
- Posts: 1679
- Joined: Wed Jan 04, 2006 4:42 am
- Location: 0x08048000
- Contact:
The patch doesn't even work with the latest 0.2.8 branch, it conflicts a bit with z-man's new serverside silencing.
Either try older revisions using svn up -r <rev nr here>, or fix the conflict, it isn't too hard to resolve.
EDIT: I think it doesn't work with 0.2.8.2, either, you need a SVN checkout.
Either try older revisions using svn up -r <rev nr here>, or fix the conflict, it isn't too hard to resolve.
EDIT: I think it doesn't work with 0.2.8.2, either, you need a SVN checkout.
There's no place like ::1
-
- On Lightcycle Grid
- Posts: 25
- Joined: Mon Oct 30, 2006 3:07 am
- .:Avl:.C10ud
- Average Program
- Posts: 50
- Joined: Tue Nov 07, 2006 10:20 pm
- Location: In the heart of the ENCOM 511 computer system
- Contact:
you might try using the code I uploaded here. That code was checked out april 12th and is patched with Luke Jr's latest patch the he posted on March 21st.