AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Config/userconfig Downloader (https://forums.alliedmods.net/showthread.php?t=116818)

Puppeteer 01-26-2010 21:00

Config/userconfig Downloader
 
I just got this idea after reviewing an old post/question of mine on steambans. Is there anyway to make an AMXX plugin that will download a clients config and userconfig to the server? Not automatically, but as you choose?

YamiKaitou 01-26-2010 21:21

Re: Config/userconfig Downloader
 
To get the exact config, not possible. To get specific cvars, possible

Puppeteer 01-28-2010 16:03

Re: Config/userconfig Downloader
 
Well how would we go about doing that?

YamiKaitou 01-28-2010 16:51

Re: Config/userconfig Downloader
 
Doing what? Getting specific cvars? You need to provide a list of the cvars you want to get.

Exolent[jNr] 01-28-2010 17:42

Re: Config/userconfig Downloader
 
1 Attachment(s)
say /savecvars
- Saves player cvars

say /viewcvars
- Prints player's saved cvars to console


Cvars are taken from this file:
addons/amxmodx/configs/save_cvars.ini

Example file:
Code:

cl_minmodels
cl_righthand
rate
cl_rate
cl_updaterate
cl_cmdrate
net_graph
cl_showfps
sensitivity


Puppeteer 01-28-2010 18:25

Re: Config/userconfig Downloader
 
So this is all from console? I take it that it saves EVERYONES cvars to the ini?

fysiks 01-28-2010 18:28

Re: Config/userconfig Downloader
 
Quote:

Originally Posted by Puppeteer (Post 1071088)
So this is all from console? I take it that it saves EVERYONES cvars to the ini?

No. The cvars listed in the .ini file are the ones that are checked. You can specify as few or as many cvars as you like to check/save.

Saves each unique client's config in a file in /amxmodx/data/player_configs/

Puppeteer 01-28-2010 23:51

Re: Config/userconfig Downloader
 
friggen sweet thanks, but I cant quite get it to load. I see unknown plugin from the amxmodmenu side, error log says this:

Info (map "de_dust2_cz") (file "addons/amxmodx/logs/error_20100128.log")
L 01/28/2010 - 21:16:08: [AMXX] Failed to allocate memory (plugin "cvar_saver.amxx")

fysiks 01-29-2010 00:25

Re: Config/userconfig Downloader
 
Maybe you need more memory on the server's computer?

Puppeteer 01-31-2010 16:28

Re: Config/userconfig Downloader
 
I can't imagine that this witty bitty plugin could make or break that servers memory heh.


All times are GMT -4. The time now is 10:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.