Welcome to the Builder Academy

Question Request for list of files I'd need to modify to exceed the 200 spell/skill limit

More
05 Jan 2018 17:55 #7299 by Nibiru
I know this has been done successfully a few times. If you've done it in your mud could you post of list of the files that had to be modified in order to increase this limit.

Nibiru

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

More
05 Jan 2018 23:23 #7300 by thomas
It depends a bit. The 200 reserved skills/spells are divided in 130 spells, and 70 skills.
Expanding the skills-list is as simple as upping the MAX_SKILLS number (as long as you use ascii pfiles, but most people do).
Expanding the spells-list is somewhat harder. The skill numbers match messages in lib/misc/messages. So of you wish to move the skills, remember to move change the message numbers as well. Also, changing MAX_SPELLS means doing something about the existing player and object files (scrolls/staves).

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

More
06 Jan 2018 00:28 #7301 by JTP
#define MAX_SKILLS 200
Is both in src/util/plrtoascii.c
And in structs.h

And Yea increasing max spells you need to change all the Numbers on the skills in messages, Or else your skills gets the wrong messages.

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

Time to create page: 0.221 seconds