Share vaultdata between servers
I want a plugin to use the same vault datafile for multiple servers, possible?
|
Re: Share vaultdata between servers
Use sockets and transfer the file between servers.
|
Re: Share vaultdata between servers
Quote:
|
Re: Share vaultdata between servers
Take at look at this.
http://forums.alliedmods.net/showthread.php?t=80616 |
Re: Share vaultdata between servers
As this is for a ps, would it be inefficent/use a lot of cpu to transfer the files every time a user disconnects?
|
Re: Share vaultdata between servers
This is an interesting idea for a new plugin; Remote nvault access. I will try to put something together for you today while I'm bored at work and only have notepad to play with.
|
Re: Share vaultdata between servers
Quote:
|
Re: Share vaultdata between servers
Quote:
Another issue that may make this impossible is 2 plugins simultaneously having the same nvault file open. I believe transactions are saved to the journal when the transactions are called in the script, they then get written to the actual vault file on nvault_close. I will have to look into the nvault module source to see if this will be a problem. |
Re: Share vaultdata between servers
Bump.
|
Re: Share vaultdata between servers
1 Attachment(s)
Here, try this plugin.
It requires the Server Comm API I made. To set servers that share NVault data, add IP's (1 per line) in a file at: addons/amxmodx/configs/remote_nvault_servers.ini That file and code from plugin attached must be in all servers that will share the data. Basically use the code from the attached plugin, and call the function nvault_remote_set() to send data. If you understand it enough, you would be able to write any other nvault functions you might want to use like get/remove/etc. |
| All times are GMT -4. The time now is 01:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.