Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More descriptive boot sequence #233

Open
sean-gilliam opened this issue Oct 24, 2023 · 2 comments
Open

More descriptive boot sequence #233

sean-gilliam opened this issue Oct 24, 2023 · 2 comments

Comments

@sean-gilliam
Copy link
Collaborator

sean-gilliam commented Oct 24, 2023

When booting the server, we get something like the following displayed on the console.

*** Beginning RIFTSHADOW MUD server ***
Creating persistent SQL connection...
Loading options and greeting screen...
Loading class and race data...
Initialize random number generator...
Setting time, weather, and berus/calabren pos...
Assigning gsns and psns to skills and spells...
Reading the race info...
Sorting area list..
Loading area files..
Tue Oct 24 02:14:07 2023 :: Loading area files now...
Starting player file parsing..
Loading object counts off players now...
Object Limits loaded
Cabal Limits loaded
Exits fixed
Adjacent areas found
Notes cleaned
Area update
Allocating gold
Cabal Items loaded
Priming weather
Tue Oct 24 02:14:07 2023 :: Riftshadow booted, binding on port 9999.

It would help a great deal for devs, as well as server maintainers, if each step could be a bit more descriptive about files being loaded, errors encountered, etc.

Something like

*** Beginning RIFTSHADOW MUD server ***
...
Loading area list from [area/area.lst] ...              
* Loading area [limbo] from [area/limbo.are]					[DONE]
* Loading area [testshrin] from [area/testshrin.are] 	[DONE]
...
Finished loading of area list ...
* 12 areas found. 12 areas loaded.

Loading players from [players/] ...
* Loading [Zzz] from [players/Zzz.plr]								[DONE]
...
Finished loading players ...
* 5 players found. 5 players loaded.

Cleaning outdated notes from [NOTES] table ...				[DONE]
* 0 notes found. 0 notes deleted.
...
@Psypher9
Copy link
Collaborator

Ah yes 🤌

@rezalas
Copy link
Owner

rezalas commented Oct 24, 2023

This would be excellent, and fits quite well with the goal of integrating a logging framework as well. I think this would be a great step along with something like Quill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants