-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add server-specific .roo file loading.
There are now 3 OpenMeridian servers open and due to differing update schedules and content, the same .roo file may be different on each server. Currently this is the case for Raza, where the version of the city (7 rooms anyway) is different on 103/112 and 105. To allow the single Ogre client to work on all 3 servers, I have changed .roo loading to first check a server-specific folder (currently this is the server name/number) for any .roo files before checking the parent rooms directory. 103 would have its changed rooms in \rooms\103\, 105 in \rooms\105\ etc. Specifically preloading rooms on client startup has been removed (default .roos are still loaded in Init) and when a user tries to connect to a server, the additional .roos are loaded and if preloading rooms is enabled, this occurs in the same thread. The server's name/number is saved as RoomsSubFolder for future use on room loads, and for removing the extra rooms from the Rooms dictionary if the user switches between servers.
- Loading branch information
Showing
3 changed files
with
95 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters