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, Yandex

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Another Question
Forum Rules | Mark all | Recent Posts

Another Question
< Newer Topic :: Older Topic > Help :P

Pages:<< prev 1 next >>
Post is unread #1 Jul 31, 2004, 11:29 am
Go to the top of the page
Go to the bottom of the page

Chaya

GroupMembers
Posts2
JoinedJul 27, 2004

How would I add more realms?



Chaya
       
Post is unread #2 Jul 31, 2004, 3:38 pm
Go to the top of the page
Go to the bottom of the page

cynshard

GroupMembers
Posts95
JoinedNov 19, 2003

IIRC you will need to edit three files. build.c, finger.c, and mud.h

In finger.c find

char * const realm_string[] =
{

add whatever realms you want to that array.

Then in build.c

find the place in mset where "realm" is set and change

if( value 5 && IS_IMP( ch ) )

to

if( value [number of realms] && IS_IMP( ch ) )

where [number of realms] is a number equal to the number of realms

and in mud.h

find

/* Realm Globals */
/* --- Xorith -- */
#define REALM_NONE 0
#define REALM_BUILDER 1
#define REALM_CODER 2
#define REALM_HEAD_BUILDER 3
#define REALM_HEAD_CODER 4
#define REALM_IMP 5

add a

#define REALM_

That should help you out

Cynshard
       
Pages:<< prev 1 next >>