AlliedModders
XFactor Servers

[RELEASE] Admin & Group Config GUI | C# / .NET KV Parser


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 11-29-2008 , 02:20   [RELEASE] Admin & Group Config GUI | C# / .NET KV Parser
Reply With Quote #1

Version 2.5.7.1 License Update Released - 12/16/09

KVManager and KeyValueParser have been relicensed under the GNU GPL v3.


Version 2.5.7 Parser Update Released - 9/6/2009

The latest release includes the vastly improved KeyValueParser 2.0, which supports less strict KV formats.

The project tracker can be found here. Please report bugs there.


Since there are some SM users who aren't comfortable with editing the admins.cfg or admin_groups.cfg files, I decided to write a GUI to make things easier.

Screenshots

Click image for larger version

Name:	admineditor.JPG
Views:	6262
Size:	57.0 KB
ID:	34221

Click image for larger version

Name:	groupeditor.JPG
Views:	3454
Size:	58.0 KB
ID:	34223

In the process of creating the above application, I wrote a C# / .NET KV parser and writer class.

This program requires the Microsoft .NET Framework 3.5.

The binaries ---> KVManager.zip

You can download the source code (if you don't know what source code means, you are trying to download the wrong thing) from SVN. The SVN URL is https://svn.microbits.info:444/kvmanager/trunk. The public ro username and password is anonsvn.


Licensing

KVManager and KeyValueParser are licensed under the GNU GPL v3.

Thanks to

BAILOPAN - For reminding me that a KV section can have it's opening brace on the same line as it's name, that a group key with an empty string value will cause a SM warning and other stuff I probably don't remember
pRED - For pointing out the SDK link
|TCO| SeEkEr - Finding the bug where flags weren't saved
albokid2468 - Finding the bug where admins.cfg files with no admins caused an exception
Everyone @ the SM IRC - For putting up with my random questions
__________________

Last edited by recon0; 12-16-2009 at 04:29.
recon0 is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 11-29-2008 , 10:45   Re: [RELEASE] Admin Config GUI & C# / .NET KV Parser
Reply With Quote #2

nice 1
PStar is offline
BAILOPAN
Join Date: Jan 2004
Location: goban
Old 11-29-2008 , 14:32   Re: [RELEASE] Admin Config GUI & C# / .NET KV Parser
Reply With Quote #3

Nice idea!
__________________
See this cup ramen here? If I thought that this might be the last one, I'd get all emotional about it. What about you?
BAILOPAN is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 11-29-2008 , 17:38   Re: [RELEASE] Admin Config GUI & C# / .NET KV Parser
Reply With Quote #4

Quote:
Originally Posted by BAILOPAN View Post
Nice idea!
Quote:
Originally Posted by PStar View Post
nice 1
Thanks ;)
__________________
recon0 is offline
|TCO| SeEkEr
New Member
Join Date: Nov 2008
Old 11-29-2008 , 18:21   Re: [RELEASE] Admin Config GUI & C# / .NET KV Parser
Reply With Quote #5

This is exactly what I have been looking for. We have used Mani for several years and have different groups of admins. I am comfortable editing cfgs but just haven't figured out the groups for sm. Do I need to have anything else installed to use KVManager? Or can I extract the zip and use immediately?

Thanks
|TCO| SeEkEr is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 11-29-2008 , 19:37   Re: [RELEASE] Admin Config GUI & C# / .NET KV Parser
Reply With Quote #6

Quote:
Originally Posted by |TCO| SeEkEr View Post
This is exactly what I have been looking for. We have used Mani for several years and have different groups of admins. I am comfortable editing cfgs but just haven't figured out the groups for sm. Do I need to have anything else installed to use KVManager? Or can I extract the zip and use immediately?

Thanks
The next version will support editing group files.

You need to have the .NET Framework 3.5 installed to run the application.
__________________
recon0 is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 11-29-2008 , 21:58   Re: [RELEASE] Admin Config GUI & C# / .NET KV Parser
Reply With Quote #7

*** Bump

Version 2.5 Released!
__________________

Last edited by recon0; 11-29-2008 at 22:12.
recon0 is offline
|TCO| SeEkEr
New Member
Join Date: Nov 2008
Old 11-30-2008 , 12:52   Re: [RELEASE] Admin & Group Config GUI | C# / .NET KV Parser
Reply With Quote #8

Thanks recon0, this will be a large asset to new users of sm. I have it installed and working, but the only problem I am having is when it creates the config file it is not saving the flags for admins or groups. Is there something I am doing wrong?
|TCO| SeEkEr is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 11-30-2008 , 18:08   Re: [RELEASE] Admin & Group Config GUI | C# / .NET KV Parser
Reply With Quote #9

Quote:
Originally Posted by |TCO| SeEkEr View Post
Thanks recon0, this will be a large asset to new users of sm. I have it installed and working, but the only problem I am having is when it creates the config file it is not saving the flags for admins or groups. Is there something I am doing wrong?
Nope. I forgot two lines of code that cause the flag string to update when you check and uncheck the checkboxes.

I fixed that bug and a few other things. See the Changelog for more details.

Version 2.5.3 Released!
__________________
recon0 is offline
82694
SourceMod Donor
Join Date: Apr 2007
Old 11-30-2008 , 18:34   Re: [RELEASE] Admin & Group Config GUI | C# / .NET KV Parser
Reply With Quote #10

This might sound dumb to some of but, is the .net 3.5 have to be on the server or just your home machine?
__________________
82694 is offline
Send a message via Yahoo to 82694 Send a message via Skype™ to 82694
Reply


Thread Tools
Display Modes

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 13:22.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies