use file somewhere in the computer
Is it possible to use .txt .cfg or .ini file that is not in the server folder (cstrike dir)?
I want to make my 3 servers use one file that is somewhere in the HDD so that the 3 servers use the data in the file? MySQL is not solution. |
Re: use file somewhere in the computer
If it's windows (2008, vista or newer) then you can use mklink command to create link somewhere in cstrike dir to a file located elsewhere.
|
Re: use file somewhere in the computer
Can you give an example?
|
Re: use file somewhere in the computer
example plugin using file cstrike\test.txt (writes hostname every 10 sec and displays contents with log_amx):
Spoiler
2 servers running this plugin: Code:
H:\HLDS\hlds.exeCode:
H:\hlds_data\data.txtCode:
mklink H:\HLDS\cstrike\test.txt H:\hlds_data\data.txt |
Re: use file somewhere in the computer
For Linux, you would use symlink.
|
| All times are GMT -4. The time now is 01:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.