hi, guys.
i'm running ubuntut 10.04 and successfully compile server version 4.8.8 but i cannot get 4.8.8a working. i get the following error:
server/xtra2.c: In function ‘player_death’:
server/xtra2.c:5977: error: ‘WPOS_IRONDEEPDIVE_X’ undeclared (first use in this function)
server/xtra2.c:5977: error: (Each undeclared identifier is reported only once
server/xtra2.c:5977: error: for each function it appears in.)
server/xtra2.c:5978: error: ‘WPOS_IRONDEEPDIVE_Y’ undeclared (first use in this function)
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [server/xtra2.o] Error 1
i've tried poking around in xtra2.c but couldn't figure anything out. can someone point me in the right direction to get this new version running, please?
thanks,
rich
compilation error
Re: compilation error
You need to edit src/common/defines-local.h.
It should say something like this:
It should say something like this:
These are the hard-coded coordinates for the ironman deep dive challenge. You can just put any values there. For example, 0 will do fine for both:/* Permanent event "Ironman Deep Dive Challenge": */
//#define WPOS_IRONDEEPDIVE_X ??
//#define WPOS_IRONDEEPDIVE_Y ??
Sorry for the late reply. I've been meaning to get around to writing this reply but then never had the time nor the motivation./* Permanent event "Ironman Deep Dive Challenge": */
#define WPOS_IRONDEEPDIVE_X 0
#define WPOS_IRONDEEPDIVE_Y 0