07 Aug, 2010, Xrakisis wrote in the 1st comment:
Votes: 0
Hi im trying to install Kavirs wilderness and im gettting…

wild.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'map_changed'
wild.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'check_world_saving'
wild.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wild.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wild.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'
wild.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'args'


/******************************************************************************
Required macros
******************************************************************************/

/* Checks if the room is within the wilderness */
#define IN_WILDERNESS(v) ((v) >= WILDERNESS_LOW_VNUM && \
(v) <= WILDERNESS_HIGH_VNUM)

/******************************************************************************
Required operation prototypes for wild_data.c
******************************************************************************/

char map_data args( ( int x, int y ) );
void set_map_data args( ( int x, int y, char room_type ) );
bool map_changed args( ( int x, int y ) );
void set_map_changed args( ( int x, int y, bool changed ) );
MAP_T map_big args( ( int x, int y ) );
void set_world_saving args( ( bool save_world ) );
bool check_world_saving args( ( void ) );

/******************************************************************************
Required operation prototypes for wild_io.c
******************************************************************************/

void wild_write args( ( int x, int y ) );
void wild_read args( ( int x, int y ) );
void world_read args( ( void ) );

/******************************************************************************
Required operation prototypes for wild_move.c
******************************************************************************/

void put_area_vnum args( ( int vnum ) );
int next_home args( ( CHAR_DATA *ch, int door ) );
RID_T * next_room args( ( int x, int y, int room ) );
void char_from_wilderness args( ( CHAR_DATA *ch ) );
RID_T * wilderness_room args( ( CHAR_DATA *ch, RID_T *room ) );

/******************************************************************************
Required operation prototypes for wild_info.c
******************************************************************************/

void draw_map args( ( CHAR_DATA *ch ) );

/******************************************************************************
Required operation prototypes for wild_spec.c
******************************************************************************/

DECLARE_SPEC_FUN( spec_wildmob );
DECLARE_SPEC_FUN( spec_lumberjack );

/******************************************************************************
Required operation prototypes for wild_update.c
******************************************************************************/

void wilderness_update args( ( void ) );


not familiar with fixing this error.. any help would be appreciated.
07 Aug, 2010, Chris Bailey wrote in the 2nd comment:
Votes: 0
Sounds like some missing definitions? Maybe forgetting to include a header file? I dunno, but if you include a header in a header watch out for redefinition problems! :P
07 Aug, 2010, Xrakisis wrote in the 3rd comment:
Votes: 0
Could i have been getting these errors because wild.h was included in merc.h as well as the seven wild.c files? I took the include for wild.h out of merc.h and all the files compiled, the 7 wilderness files also compiled, and they have the wild.h include.
07 Aug, 2010, Chris Bailey wrote in the 4th comment:
Votes: 0
Seems like a reasonable explanation. I have a very limited knowledge of C, hopefully somebody else will be able to shine more light on the situation soon. =)
07 Aug, 2010, bbailey wrote in the 5th comment:
Votes: 0
Xrakisis said:
Could i have been getting these errors because wild.h was included in merc.h as well as the seven wild.c files? I took the include for wild.h out of merc.h and all the files compiled, the 7 wilderness files also compiled, and they have the wild.h include.


It sounds like when wild.h was included in merc.h, it was included at the top of the file before the definition of the args() macro (and before the declaration of whatever type RID_T is, etc), and the compiler choked on it.
07 Aug, 2010, KaVir wrote in the 6th comment:
Votes: 0
Xrakisis said:
Could i have been getting these errors because wild.h was included in merc.h as well as the seven wild.c files? I took the include for wild.h out of merc.h and all the files compiled, the 7 wilderness files also compiled, and they have the wild.h include.

The snippet comes with a "wild.txt" diff file, showing you which changes you need to make to which files. The only addition you need to make to merc.h is to add a #define, there's no need to add a #include "wild.h".

However the snippet was released 12 years ago, and even then it was pretty raw - thus the disclaimer about it requiring some work to get running.
07 Aug, 2010, Xrakisis wrote in the 7th comment:
Votes: 0
your right kavir.. my bad.. it doesnt say anywhere in the txt file to include it in merc.h
and for every file u edit it says to include it in each edited file..
Thanks, -Xrak
08 Aug, 2010, Xrakisis wrote in the 8th comment:
Votes: 0
Hi.. i got wilderness installed.. but have a few questions..

in wilderness it looks like this for me..
You are standing in the middle of nowhere.





<oo>





/—-MAP—-\ [60000]
< * > Rocky, steep terrain leads up into these mountain peaks. You
< | > dont see any blood sprayed on the surroundings. The sun rises
< *-*-* > in the east. It is raining. There is lightning.
< | | | >
< *-*-X-*-* >
< | | | >
< *-*-* >
< | >
< * >
\___________/


is the map of the wilderness suposed to be differant?

Also.. the wilderness seems unpopulated with geographic features.. seems every 'room' is the same..

is there a way to have wilderness lay out a random landscape?

-Xrakisis
08 Aug, 2010, Xrakisis wrote in the 9th comment:
Votes: 0
I found the landscape command, but it seems that i stay in the same room and just loop.
08 Aug, 2010, KaVir wrote in the 10th comment:
Votes: 0
Xrakisis said:
I found the landscape command, but it seems that i stay in the same room and just loop.

It uses a virtual room system, so the literal room vnum won't always change. But is your coordinate position changing as you move around?
08 Aug, 2010, Xrakisis wrote in the 11th comment:
Votes: 0
i left read_world out when i put it in, so it would save then i was gonna put read back in..
tijer pointed out i forgot to do so..
only problem now is x and y coordinates arnt changing..
-Xrakisis
09 Aug, 2010, Tijer wrote in the 12th comment:
Votes: 0
Well i just added the snippet to a GodWars 1995 based mud and i got it working with no problems apart from not remembering HOW to link areas to it… but other than that all is fine.. so im thinking perhaps you missed an important part of the patching!!
18 Aug, 2010, Xrakisis wrote in the 13th comment:
Votes: 0
its working now, the x's and y's are changing but i dont know how to populate my wilderness…
-Xrakisis
19 Aug, 2010, Tijer wrote in the 14th comment:
Votes: 0
Landscape, (water, mountain, forest)
evolve (water, mountain forest) to get it started…
19 Aug, 2010, JohnnyStarr wrote in the 15th comment:
Votes: 0
Tijer's avatar = hilarious
0.0/15