Writing Custom Keys [message #373941] |
Sat, 28 February 2009 09:59 |
|
halo2pac
Messages: 659 Registered: December 2006 Location: Near Cleveland, Ohio
Karma: 0
|
Colonel |
|
|
In counter strike, the server owner can program the server to write a client's key configuration a specific way.
I was wondering would it be possible for the TT Team to add a server side function that allows us programmers to add keys and values to a client's keys.cfg... without them having to edit it themselves all the time.
Also you could have it reset every time they leave the server so that if the programmer screws up the main keys.. they wont be screwed up for the next server to join.
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
[Updated on: Sat, 28 February 2009 10:00] Report message to a moderator
|
|
|
Re: Writing Custom Keys [message #373944 is a reply to message #373941] |
Sat, 28 February 2009 10:21 |
a000clown
Messages: 363 Registered: May 2005 Location: Canada
Karma: 0
|
Commander |
|
|
That's a horrible idea. I wouldn't want any server designating what keys do what for me.
Server owners can already create Logical Keys for the players to assign to Physical Keys, that's more than enough.
|
|
|
|
Re: Writing Custom Keys [message #373973 is a reply to message #373941] |
Sat, 28 February 2009 13:14 |
a000clown
Messages: 363 Registered: May 2005 Location: Canada
Karma: 0
|
Commander |
|
|
Teach them or create an installer.
If they're not willing to take the time to learn they don't deserve to use it.
What would happen if I setup my keys.cfg to use that key for something else? Then two things would happen, or one would have to be overridden.
|
|
|
|
|
|
|
|
Re: Writing Custom Keys [message #374157 is a reply to message #374095] |
Sun, 01 March 2009 12:12 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
RoShamBo wrote on Sun, 01 March 2009 09:52 | It would be good if the server could request certain keys to be sent, if they aren't already mapped.
|
And the client can tell that I have X key mapped to TeamSpeak PTT, Y key mapped Ventrillo PTT, and Z key mapped to yet another program *how*?
|
|
|
|
|
|
Re: Writing Custom Keys [message #374204 is a reply to message #374192] |
Sun, 01 March 2009 14:40 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
RoShamBo wrote on Sun, 01 March 2009 16:19 |
Saberhawk wrote on Sun, 01 March 2009 19:12 |
RoShamBo wrote on Sun, 01 March 2009 09:52 | It would be good if the server could request certain keys to be sent, if they aren't already mapped.
|
And the client can tell that I have X key mapped to TeamSpeak PTT, Y key mapped Ventrillo PTT, and Z key mapped to yet another program *how*?
|
That's not the server's problem, if the client can't setup a virtual key for it then that's their problem.
|
Yeah, but the server has no business telling my client what my X button does. TT could add a few "pre-bound" virtual keys (which the clients can definitely change to whatever they please), but allowing the server to change client key configuration really should not be done.
|
|
|
Re: Writing Custom Keys [message #374213 is a reply to message #374203] |
Sun, 01 March 2009 15:35 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
halo2pac wrote on Sun, 01 March 2009 14:40 | maybe with the new release, you just have 2-4 keys set as like "custom_1", "custom_2", ect.
so we can hook em if we need so.
|
Rebind the commands and features that are already bound to those keys... :/
|
|
|
|
Re: Writing Custom Keys [message #374225 is a reply to message #374216] |
Sun, 01 March 2009 17:22 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
madrackz wrote on Sun, 01 March 2009 16:17 | What you can already do ServerSide is:
Example: NUM1 = page message bla bla
then if you press NUM1 2 times then it will display another message, not the same one, isnt that enough?
|
That's what I just said in my post above yours. :/
|
|
|
|
|
Re: Writing Custom Keys [message #374283 is a reply to message #374259] |
Sun, 01 March 2009 22:26 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
Jerad Gray wrote on Sun, 01 March 2009 20:12 | The server could just display a dialog on the client ASKING if the key could be changed, then it wouldn't have to check if it was being used...
It'd be really useful if the server could add entries for the client for special server specific hot keys.
|
Your first suggestion wouldn't be work imo.. If you have a prompt/dialog asking the user for permission to change this key (which I'm assuming it'd be like a PAMSG, amirite?), then make the default selected button "No" because most players would simply clear the dialog and continue playing not even bothering to read the prompt.
As for your second suggestion... That'd be neat, if you can come up with a unique way to "hash" (most likely not literally) the server's information into an INI format, e.g.
Example keys.cfg[code][General]
C4=End_Key
ChatHistory=F4_Key
{...}
[Server1]
C4=F4_Key
ChatHistory=End_Key
{...}
[Server2]
C4=F_Key
ChatHistory=T_Key
{...}[/pre] [/align]
You get what I mean..I hope.. lol
*Note: I only used C4 and ChatHistory as examples. The {...}, ofc, means etc etc!
[Updated on: Sun, 01 March 2009 22:27] Report message to a moderator
|
|
|