Tanzverbot
03-23-2009, 07:07 PM
Not sure if this should go here or in the Tech Help forum, but anyhow:
I recently tried to get some class selection binds to work. Since i don't know the first thing about config stuff, i simply went to the promod wiki and copied some stuff from there. The script works fine, but when loading my autoexec i get the following errors:
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
This wouldn't bother me at all if it didn't prevent me from joining on custom maps servers. When i try to join on some server with a custom map, the game restarts (as it should), and after the restart i only see the console with those error messages and pretty much cannot do anything besides typing "exit".
This is a part of the script i use, cannot put the whole thing here because that would make the forum explode:
//*GDF Only Binds
// Soldier
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "soldier"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "medic"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "engineer"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "covertops"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "fieldops"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "gdfvehicle"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "soldier"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "medic"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "engineer"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "covertops"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "fieldops"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "gdfvehicle"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "soldier"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "medic"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "engineer"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "covertops"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "fieldops"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "gdfvehicle"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "soldier"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "medic"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "engineer"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "covertops"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "fieldops"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "gdfvehicle"
I recently tried to get some class selection binds to work. Since i don't know the first thing about config stuff, i simply went to the promod wiki and copied some stuff from there. The script works fine, but when loading my autoexec i get the following errors:
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
"GDF" isn't a valid key
Unknown command 'clientClass'
This wouldn't bother me at all if it didn't prevent me from joining on custom maps servers. When i try to join on some server with a custom map, the game restarts (as it should), and after the restart i only see the console with those error messages and pretty much cannot do anything besides typing "exit".
This is a part of the script i use, cannot put the whole thing here because that would make the forum explode:
//*GDF Only Binds
// Soldier
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "soldier"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "medic"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "engineer"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "covertops"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "fieldops"
bind "UPARROW" "clientTeam GDF; clientClass Soldier 1;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dRocket Launcher^7'" "" "gdfvehicle"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "soldier"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "medic"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "engineer"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "covertops"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "fieldops"
bind "DOWNARROW" "clientTeam GDF; clientClass Soldier 2;wait; addChatLine '^7Respawning as a ^m[Soldier]^7 with a ^dGPMG^7'" "" "gdfvehicle"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "soldier"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "medic"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "engineer"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "covertops"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "fieldops"
bind "LEFTARROW" "clientTeam GDF; clientClass Soldier 0;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with an ^dAssault Rifle^7'" "" "gdfvehicle"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "soldier"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "medic"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "engineer"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "covertops"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "fieldops"
bind "RIGHTARROW" "clientTeam GDF; clientClass Soldier 3;wait; addChatLine '^7Respawning as a ^m[Soldier]^7with a ^dShotgun^7'" "" "gdfvehicle"