Include MySQL
#12
(01-07-2014, 04:32 AM)daniel0916 Wrote: Is it possible to reload the groups.ini without restart the server? Is it hard to add a reload function?

Currently it is impossible to reload without a restart. A reload function will be moderately difficult to write. The main difficulty is that each cPlayer holds a pointer to all the groups they are currently in. So a reload will have to:
1, Load the new group.ini into a new structure (but keep the old structures)
2, For each world, for each player walk their (old) groups and assign new groups based on the name
3, For each world, for each player re-resolve their permissions
Reply
Thanks given by:


Messages In This Thread
Include MySQL - by daniel0916 - 01-07-2014, 01:53 AM
RE: Include MySQL - by xoft - 01-07-2014, 02:27 AM
RE: Include MySQL - by daniel0916 - 01-07-2014, 02:48 AM
RE: Include MySQL - by bearbin - 01-07-2014, 02:37 AM
RE: Include MySQL - by xoft - 01-07-2014, 02:46 AM
RE: Include MySQL - by FakeTruth - 01-07-2014, 02:47 AM
RE: Include MySQL - by xoft - 01-07-2014, 02:49 AM
RE: Include MySQL - by daniel0916 - 01-07-2014, 03:31 AM
RE: Include MySQL - by xoft - 01-07-2014, 04:22 AM
RE: Include MySQL - by daniel0916 - 01-07-2014, 04:32 AM
RE: Include MySQL - by xoft - 01-07-2014, 05:12 AM
RE: Include MySQL - by daniel0916 - 01-07-2014, 05:48 AM
RE: Include MySQL - by NiLSPACE - 01-07-2014, 04:34 AM
RE: Include MySQL - by xoft - 01-07-2014, 06:25 AM
RE: Include MySQL - by daniel0916 - 01-08-2014, 02:25 AM
RE: Include MySQL - by xoft - 01-08-2014, 02:52 AM
RE: Include MySQL - by daniel0916 - 01-08-2014, 04:20 AM
RE: Include MySQL - by daniel0916 - 01-09-2014, 02:50 AM
RE: Include MySQL - by xoft - 01-09-2014, 05:31 AM
RE: Include MySQL - by daniel0916 - 01-09-2014, 05:39 AM
RE: Include MySQL - by xoft - 01-09-2014, 05:46 AM
RE: Include MySQL - by daniel0916 - 01-09-2014, 05:49 AM
RE: Include MySQL - by xoft - 01-09-2014, 04:51 PM
RE: Include MySQL - by daniel0916 - 01-10-2014, 03:07 AM
RE: Include MySQL - by xoft - 01-10-2014, 06:59 AM
RE: Include MySQL - by daniel0916 - 01-12-2014, 01:49 AM
RE: Include MySQL - by xoft - 01-12-2014, 02:33 AM
RE: Include MySQL - by daniel0916 - 01-12-2014, 05:40 AM
RE: Include MySQL - by xoft - 01-12-2014, 06:01 AM



Users browsing this thread: 1 Guest(s)