Raised This Month: $51 Target: $400
 12% 

Client Preferences API


Post New Thread Reply   
 
Thread Tools Display Modes
spelworm
Senior Member
Join Date: Mar 2007
Old 08-14-2007 , 03:12   Re: Client Preferences Ext
Reply With Quote #11

got a question about this
do plugin creators have to make there plugin work with this ?
if yes are there already plugins wich uses this ?
spelworm is offline
^BuGs^
Senior Member
Join Date: May 2007
Old 08-14-2007 , 08:56   Re: Client Preferences Ext
Reply With Quote #12

Right now this is optional for plugins to require installing this, however the goal is to make this good enough for it to go into the Sourcemod core so you don't have to worry about downloading something separate.

If this is already being used by plugin authors, they have to indicate that.
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.
^BuGs^ is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 08-14-2007 , 17:07   Re: Client Preferences Ext
Reply With Quote #13

You call it "Client Preferences Ext", but it's not an extension. I think you should call it "Client Preferences API" or something else like that.
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
dalto
Veteran Member
Join Date: Jul 2007
Old 08-14-2007 , 17:35   Re: Client Preferences Ext
Reply With Quote #14

Just wanted to say thanks for listening to my feedback.
dalto is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 08-14-2007 , 17:38   Re: Client Preferences Ext
Reply With Quote #15

Maybe you can add an account system to this and solve all our problems. Here is my idea:

A player sets a user name and a password using "setinfo" before joining.
When a player joins this plugin reads user name and password:
If there is no account with that name, a new account is created for player.
If there is an account with this name and password is true client ets authed.
If player didn't specify a username and a password or account password is wrong, a temporary account is created for player.
After these, other plugins uses "GetClientAccountName(client, buffer...)" to get the account name and saves/reads all info using that account name.

With this method:
1- Users can use their account anywhere. (Friend's computer, cyber cafe, dynamic ip problems = solved.)
2- If a client disconnects it will not be a problem, because there is only one account with the same name.
3- Accounts and saved infos will be constant.
4- By using this system other developers can easily store kill/death ratios, levels, experience points, etc.
5- Players will be able to manage their accounts from internet. (If someone codes a PHP page for it.)
6- Admins can make their server for only registered users.
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
^BuGs^
Senior Member
Join Date: May 2007
Old 08-14-2007 , 18:12   Re: Client Preferences Ext
Reply With Quote #16

Quote:
Originally Posted by Shaman View Post
Maybe you can add an account system to this and solve all our problems. Here is my idea:

A player sets a user name and a password using "setinfo" before joining.
When a player joins this plugin reads user name and password:
If there is no account with that name, a new account is created for player.
If there is an account with this name and password is true client ets authed.
If player didn't specify a username and a password or account password is wrong, a temporary account is created for player.
After these, other plugins uses "GetClientAccountName(client, buffer...)" to get the account name and saves/reads all info using that account name.

With this method:
1- Users can use their account anywhere. (Friend's computer, cyber cafe, dynamic ip problems = solved.)
2- If a client disconnects it will not be a problem, because there is only one account with the same name.
3- Accounts and saved infos will be constant.
4- By using this system other developers can easily store kill/death ratios, levels, experience points, etc.
5- Players will be able to manage their accounts from internet. (If someone codes a PHP page for it.)
6- Admins can make their server for only registered users.
That's like version 13.0.0.0
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.
^BuGs^ is offline
^BuGs^
Senior Member
Join Date: May 2007
Old 08-14-2007 , 18:14   Re: Client Preferences Ext
Reply With Quote #17

Quote:
Originally Posted by Shaman View Post
You call it "Client Preferences Ext", but it's not an extension. I think you should call it "Client Preferences API" or something else like that.
Changed to reflect this.
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.
^BuGs^ is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 08-15-2007 , 08:28   Re: Client Preferences Ext
Reply With Quote #18

Quote:
Originally Posted by ^BuGs^ View Post
That's like version 13.0.0.0
Are you going to do it or shall I code that?
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
^BuGs^
Senior Member
Join Date: May 2007
Old 08-15-2007 , 10:24   Re: Client Preferences API
Reply With Quote #19

Let say some of us have started it... but not client prefs.
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.
^BuGs^ is offline
^BuGs^
Senior Member
Join Date: May 2007
Old 08-19-2007 , 12:37   Re: Client Preferences API
Reply With Quote #20

Just an update, I worked on all the ideas so far. I am still working on the prune check, which would be auto-checked on "Query" for a value, but there also be a force native also.
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.
^BuGs^ 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 02:53.


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