Skip to content

Conversation

@guilherme-gm
Copy link
Member

@guilherme-gm guilherme-gm commented Oct 4, 2019

Pull Request Prelude

Changes Proposed

This pull request aims at dehardcoding all db/* file paths, allowing users to change which folder to load the database files from. It applies to all files used by char and map servers.

For char-server, the db_path global variable in char.c got moved to the chr interface in char.h so it is possible to use it in other files.

Issues addressed:
None, as far as I know

Special thanks to @4144 for giving me some ideas

@HerculesWSAPI
Copy link
Contributor

This change is Reviewable

@guilherme-gm guilherme-gm force-pushed the 201910-dehardcode-db branch 4 times, most recently from 9b19cc5 to f4d3c2c Compare October 4, 2019 01:59
@4144
Copy link
Contributor

4144 commented Oct 4, 2019

look like in mapindex.h missing include

@guilherme-gm guilherme-gm force-pushed the 201910-dehardcode-db branch 2 times, most recently from 437b9ac to 04b72bd Compare October 5, 2019 03:28
@guilherme-gm
Copy link
Member Author

Yes, fixed. Thanks!

@MishimaHaruna MishimaHaruna added this to the Release v2019.10.20 milestone Oct 18, 2019
A new config file "conf/common/map-index.conf" is added to set the file path
@MishimaHaruna MishimaHaruna merged commit 275edef into HerculesWS:master Oct 20, 2019
@guilherme-gm guilherme-gm deleted the 201910-dehardcode-db branch February 24, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants