Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ ROM
➜ Running the server
➜ Problems with new races
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Bob The Hydra
(19 posts) Bio
|
Date
| Tue 17 Apr 2001 11:42 PM (UTC) |
Message
| When I add a race it doesn't show up in the race selection but I can still select them and thier stats and things are completely screwed up. I add the information in const.c to both tables and adjust the max races. Am I missing something? | Top |
|
Posted by
| Pharas
USA (9 posts) Bio
|
Date
| Reply #1 on Wed 18 Apr 2001 01:27 AM (UTC) |
Message
| could be one of 2 things, first in the source code(not sure exactly what file, may be comm.c) there is a place where it says max race -1, you need to remove the -1 so it will show new races on the selection screen, second in mud.h i believe there is a define for max race that you have to raise. just remember it has been awhile since i had this problem :) | Top |
|
Posted by
| Bob The Hydra
(19 posts) Bio
|
Date
| Reply #2 on Wed 18 Apr 2001 02:20 AM (UTC) |
Message
| I have already altered the MAX_PC_RACE in merc.h. And i can't find the other thing your talking about. | Top |
|
Posted by
| Bob The Hydra
(19 posts) Bio
|
Date
| Reply #3 on Thu 19 Apr 2001 07:52 PM (UTC) |
Message
| I figured it out... I put the race stats at the end of the structure but I needed to put it right after the last pc race.
Now when I tried adding a class everything compiles, I sstart the server create a new character give password, select race but right after I select a sex the server crashes... =( I'm havin a bad week. | Top |
|
Posted by
| Bob The Hydra
(19 posts) Bio
|
Date
| Reply #4 on Thu 19 Apr 2001 07:53 PM (UTC) |
Message
| I forgot the server gives me this error:
Thu Apr 19 15:43:00 2001 :: ROM is ready to rock on port 4000.
Thu Apr 19 15:43:05 2001 :: Sock.sinaddr: 127.0.0.1
0 [main] rom 267633 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1643 [main] rom 267633 stackdump: Dumping stack trace to ROM.EXE.stackdump
Segmentation fault (core dumped)
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #5 on Thu 19 Apr 2001 11:14 PM (UTC) |
Message
| You could try using gdb (the GNU debugger) to debug it. Don't ask me how to use it as I never have, but it might help.
Try typing: man gdb
to find more about it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| DrCode
(3 posts) Bio
|
Date
| Reply #6 on Mon 30 Apr 2001 05:35 PM (UTC) |
Message
| On the races try changing the value of:
#define MAX_PC_RACE 5
to one more than the number of races you have
Once you do this it will show up in the race selection etc
Let me know if this works for you
DrCode
| Top |
|
Posted by
| DrCode
(3 posts) Bio
|
Date
| Reply #7 on Mon 30 Apr 2001 05:39 PM (UTC) |
Message
| On the sex crash issue:
it will crash when you choose sex because right after that it wants to check the classes table - make sure you have the right number of classes in the MAX_CLASS define:
#define MAX_CLASS 4
If this does not work let me know
DrCode
| Top |
|
Posted by
| DrCode
(3 posts) Bio
|
Date
| Reply #8 on Mon 30 Apr 2001 05:41 PM (UTC) |
Message
| One more thing these comments in my posts above assume
ROM2.4b6 if you do not have this version I highly recommend it
DrCode
| Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
24,696 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top