Welcome to the Builder Academy

Question Adding racial start rooms

More
18 Nov 2019 00:53 #8441 by Nibiru
Hello, this has got me stumped.

I've updated the relevant sections of db.c, cedit.c, oasis.h, db.h,, structs.h, config.h, genwld.c and fight.c.
Recompiling did not generate any errors, there are no new warnings.
The rooms appear on the menu in cedit and I can update them and they appear to save.
On reboot the rooms revert to the original start room for 3 out of my 6 races,
When I create a new character to test, that character goes to the original mortal start room instead of the start room for their race.

What did I miss?

Nibiru

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

More
18 Nov 2019 02:59 #8442 by Fizban
Replied by Fizban on topic Adding racial start rooms
Is it supposed to be the room they login in every time they login, or only upon the initial creation of their character?

Depending on how exactly you're trying to make it work it might be trivial to do via trigedit rather than even needing to hard-code it.

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

More
18 Nov 2019 12:58 #8443 by Nibiru
Replied by Nibiru on topic Adding racial start rooms
These will be the rooms that they go to at creation, and when I dig further into the code I will be sending them to the racial start room, when they die, instead of the login menu so they can grab some food, water and a simple weapon to aid in corpse retrieval.

Nibiru

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

More
14 Dec 2019 12:26 #8447 by thomas
Replied by thomas on topic Adding racial start rooms
Have a look in github.com/tbamud/tbamud/blob/3ac459074e.../interpreter.c#L1230 - how does this look in your version?

Are you loading your new cedit preferences correctly?

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

Time to create page: 0.186 seconds