Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Couple bugs
Yesterday, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Google, DotBot

Members: 0
Guests: 11
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
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 >>