Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, DotBot, Bing, Yandex

Members: 0
Guests: 15
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
622
ignatius
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » addrace.txt fails
Forum Rules | Mark all | Recent Posts

addrace.txt fails
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 27, 2008, 1:00 pm
Go to the top of the page
Go to the bottom of the page

inga
Fledgling
GroupMembers
Posts35
JoinedJul 24, 2008

Hi I was able to add a race easily on DIKU mud, but cant on afkmud.

First question:

Q: In mud.h, find MAX_RACE and increase by one. If you're changing a
race into a new one, this isn't necessary.

um the only instances of MAX_RACE are:
short race_level[MAX_RACE]; /* Racial abilities: level */
short race_adept[MAX_RACE]; /* Racial abilities: adept */

How do I add by one?

When thats answerd I will go to second.

       
Post is unread #2 Jul 27, 2008, 1:10 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

You should search for MAX_RACE and find all occurrences; you've missed a few (namely the most important one in the .h files -- did you make sure to search in all files? try grep MAX_RACE *). Anyhow, once you find the important occurrence, things should become more apparent.
       
Post is unread #3 Jul 27, 2008, 3:07 pm
Go to the top of the page
Go to the bottom of the page

inga
Fledgling
GroupMembers
Posts35
JoinedJul 24, 2008

Hi,

first attempt following addrace.text was a disaster.. had to recompile from new.. lucky i saved my modifications.

i will try again.. but still not finding a value in MAX_RACE to increment by 1
       
Post is unread #4 Jul 27, 2008, 3:15 pm
Go to the top of the page
Go to the bottom of the page

inga
Fledgling
GroupMembers
Posts35
JoinedJul 24, 2008

found something in mdcfg.h

const int MAX_RACE = 20;

hehe

im making a how to do manual as i go
       
Post is unread #5 Jul 27, 2008, 4:02 pm
Go to the top of the page
Go to the bottom of the page

Conner
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005

That'd be the one that was being referred to.
       
Post is unread #6 Jul 28, 2008, 9:18 am
Go to the top of the page
Go to the bottom of the page

inga
Fledgling
GroupMembers
Posts35
JoinedJul 24, 2008

complete disaster.. exception errors/stack dump. I'll try following the addrace instructions again.
       
Pages:<< prev 1 next >>