Raised This Month: $ Target: $400
 0% 

CFG Anywhere - Retrieve your personal CFG from any comp.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
kurian
Member
Join Date: Aug 2005
Old 06-07-2007 , 02:38   CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #1

CFG Anywhere v1.2
by Torch

This plugin lets you store your CFG file on the server
so that you can retrieve your personal settings regardless of which
computer you're playing on.

Just type amx_getcfg and your CFG file will be executed on your computer.
Each user can also store multiple CFG files for various occasions.

Just typing amx_getcfg will execute your default CFG file.
To execute your 'cpl' settings for example, just type amx_getcfg cpl.

The plugin can identify users based on their Steam ID, IP Address or Nickname and
execute their respective CFG files.

Installation:
Create a folder called 'cfgstore' in your amxmodx\configs folder.
Create 3 subdirectories called 'steam', 'ip' and 'name'.

Your folder tree should look like this:
amxmodx
......|
......|____configs
..................|
..................|____cfgstore
..............................|
..............................|____steam
..............................|____ip
..............................|____name

When a user types amx_getcfg, it first searches for their CFG file based on their
Steam ID. If not found, it looks for CFG files with their IP address, and lastly CFG
files with their name. Which ever is found fist is executed.

To set a CFG file for a particular Steam ID, name the file <Steam ID>.cfg (ignore the colons in the Steam ID) and place
it in the 'cfgstore\steam' folder.
Example:
For the Steam ID STEAM_0:0:123456 the filename would be
STEAM_00123456.cfg

Similarly for IP addresses, name it <IP Address>.cfg and place it in the 'cfgstore\ip'
folder.
Example:
192.168.1.5.cfg

And for name based identification place it in the 'cfgstore\name' folder.
Example:
Torch.cfg

To store multple CFG files for a single user, first name the file as usual, and then
at the end of the filename append some text to identify it by.
Example:
STEAM_0:0:123456.cfgcpl
Torch.cfgcpl

Now if you type 'amx_getcfg cpl' it will execute the cpl config instead of the
default one.

Update June 07 2007:
The overflow error has been fixed by adding a timer.
You should now be able to execute any length CFG files.

Update July 23 2009:
The colons are removed from the filename for Steam ID.
Attached Files
File Type: sma Get Plugin or Get Source (cfganywhere.sma - 830 views - 3.4 KB)
__________________
[IMG]http://img267.**************/img267/8526/userbarjg9.gif[/IMG]

Last edited by kurian; 07-23-2009 at 06:48. Reason: Updated to v1.2
kurian is offline
knoppers
Veteran Member
Join Date: Jun 2006
Location: Germany/Braunschweig
Old 06-07-2007 , 04:56   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #2

very nice!!!

i will try it!

+karma
__________________


Upload Service gesucht? www.monster-upload.net
Free TSē Server gesucht? www.chiller-oase.de
Desktop Pics gesucht? www.pic-point.com
knoppers is offline
Send a message via ICQ to knoppers
kurian
Member
Join Date: Aug 2005
Old 06-07-2007 , 05:01   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #3

Reliable Channel Overflow error has been fixed by using a timer when sending the console commands. Found the solution somewhere in the forums..
__________________
[IMG]http://img267.**************/img267/8526/userbarjg9.gif[/IMG]
kurian is offline
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 06-07-2007 , 05:46   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #4

And it's meant to any player to save their cfg on the server?
Nice work! Now i can hace me(steamid).cfg warft3 or me.cfg shero or me.cfg cal etc.. thanks!!! Already asked for a change so it will save it on a hosting on mysql instead so it retrieves cfg from any server.
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
Psyfire
Senior Member
Join Date: Jan 2006
Old 06-07-2007 , 20:15   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #5

Any chance that every user can save his own cfg to the server? Cause I wont add 13428934 cfgs to my server. Are you planning to add this for multiple servers? Cause I got "a couple more" servers and nobody wants to add to every server his 2-3 cfgs...
Psyfire is offline
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 06-07-2007 , 21:32   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #6

that doesn't take any real space in disk so why not? But it's better to have it at mysql and retrieve it from a hosting for any lag inconvenients or any other sort of problem and because it can be retrieved from any server with the some plugin has well.
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
kurian
Member
Join Date: Aug 2005
Old 06-08-2007 , 04:57   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #7

Quote:
Originally Posted by Juba_PornBorn View Post
And it's meant to any player to save their cfg on the server?
Nice work! Now i can hace me(steamid).cfg warft3 or me.cfg shero or me.cfg cal etc.. thanks!!!
Its not "(steamid).cfg warft3", there is no space after cfg. It should be
"(steamid).cfgwarft3" to work correctly.

Quote:
Originally Posted by Juba_PornBorn View Post
Already asked for a change so it will save it on a hosting on mysql instead so it retrieves cfg from any server.
Already asked who ???
__________________
[IMG]http://img267.**************/img267/8526/userbarjg9.gif[/IMG]
kurian is offline
kurian
Member
Join Date: Aug 2005
Old 06-08-2007 , 05:01   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #8

Quote:
Originally Posted by Juba_PornBorn View Post
that doesn't take any real space in disk so why not? But it's better to have it at mysql and retrieve it from a hosting for any lag inconvenients or any other sort of problem and because it can be retrieved from any server with the some plugin has well.
I'm not experienced at this so I will have to figure out how to get MySQL support.

I've also got no idea how to upload a file from the clients comp.
__________________
[IMG]http://img267.**************/img267/8526/userbarjg9.gif[/IMG]
kurian is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 06-23-2007 , 11:50   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #9

I'm really not seeing the point in this, sorry. Unapproved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kurian
Member
Join Date: Aug 2005
Old 06-24-2007 , 04:53   Re: CFG Anywhere - Retrieve your personal CFG from any comp.
Reply With Quote #10

Quote:
Originally Posted by Hawk552 View Post
I'm really not seeing the point in this, sorry. Unapproved.
y? its really useful when you use different computers to play from. Like i have my CFG on the server at a gaming cafe I frequent so that I can play from any comp that is free.
__________________
[IMG]http://img267.**************/img267/8526/userbarjg9.gif[/IMG]
kurian is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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