Welcome to the Builder Academy

Question Races

More
05 Nov 2024 04:59 #10432 by wlessard1
Replied by wlessard1 on topic Re: Races
While this is great, I got it working and tweaked some small things that don't matter.

Now the big question I have, is there a patch/snippet that allows for adding races that actually affect stats?

Like Human would be Str Con Dex Int Wis Cha
0 0 0 0 0 0
And Elf would be -1 -1 1 1 0 0

For example

I am a duffer to coding,. while I have done a lot, I really haven't done it like you folks.

Also this doesn't matter all that much as I am just messing around locally. I already did the mud development thing years ago and I am not going to be doing it again. Enjoying playing MUDs. Good enough for me.

Please Log in or Create an account to join the conversation.

More
07 Mar 2025 15:09 #10577 by zi
Replied by zi on topic Re: Races
future devs could see these errors upon compiling this snippet like I did...
Code:
undefined reference to `race_menu'

but do not dismay... you have to update the makefile ! Thomas provided the answer in another thread but I'm going to post it here and save the forum search time. He writes:

To fix this, open Makefile in your favorite text editor, find the lines with SRCFILES and OBJFILES and add race.c / race.o to them (you'll recognize the pattern). Then do the same with Makefile.in (so it won't go away after you reconfigure).
Now run
Code:
make clean && make depend && make

this first removes any old .o files, recreates the dependency info for the linker and finally builds the binary.


Thank you Thomas and Liko for this!

Please Log in or Create an account to join the conversation.

Time to create page: 0.298 seconds