Welcome to the Builder Academy

Question Seeking help! Can not locate functions in CircleMUD src files.

More
12 Oct 2022 07:09 #10199 by Bodhi
Greetings,
I have two quick questions.

1) In the source code for CircleMUD 3.1, there's a function that produces this MENU.

Welcome to CircleMUD!
0) Exit from CircleMUD.
1) Enter the game.
2) Enter description.
3) Read the background story.
4) Change password.
5) Delete this character.

   Make your choice:


I'm having difficulty locating it! Anyone know what file it's in?


2) In the source code for CircleMUD 3.1, there's a function that produces this message.

Welcome to the land of CircleMUD!  May your visit here be... Interesting.

When you login as a player, the message is displayed after the motd and before the room title. I suspect it's associated with either the WELC_MESSG variable or the START_MESSG variable. Regardless, I'm having difficulty locating it, as well! Anyone know what file it's in?

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

More
12 Oct 2022 15:01 #10200 by prool
File config.c

With best regards,

Prool

With best regards, Prool
The following user(s) said Thank You: Bodhi

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

More
12 Oct 2022 15:59 #10201 by Bodhi
Thank you. The assistance is much appreciated! Wouldn't ya know, I found them while waiting for the post to be approved by a mod and while working on another issue.

Turns out the text bits for MENU, WELC_MESSG, and START_MESSG are all there. WELC_MESSG and START_MESSG are constants, not varriables. The function calls to them are made from the file "interpreter.c" in the section for "newcomers and other non-playing sockets" starting at line 1280.

Thanks again! :)

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

Time to create page: 0.249 seconds