News:

New Admins: Be sure to read through the Clan Resources forum for admin tips.

Main Menu

Having trouble with some scripts

Started by Headwind, March 20, 2019, 07:26:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Headwind

lately, I've been having some trouble on the server.  I was wondering if anyone else is having the same problems.

Sometimes when I die, I have trouble respawning.  If I want to respawn I have go spec and then rejoin a team or leave the server and come back.  This is super annoying.

Then today, two scripts that I setup for myself stopped working, my HW tracers went back to the default color when were purple before.

The first script is quick switching scripts between my two primary weapons.  I'll post an example below.  I use this same script for all classes to cycling through my primary weapons.

alias quick1 "tf_weapon_supershotgun;wait;alias quickweapon quick2"
alias quick2 "tf_weapon_ac;wait;alias quickweapon quick1"
alias quickweapon quick1
bind "q" "quickweapon" (q is bound to this script for all classes)

The second script that stopped working was script for my grenades.  I use two button press script.  Both stopped working for me. :(

bind "MOUSE2" "-gren1;primeone"
bind "SHIFT" "-gren2;primetwo"

Any help the community can provide would be appreciated.

The funny thing is that my auto reload script is still working and my two press duck script is working.  I haven't checked my engineer scripts yet, but that could be bad if they don't work anymore.



Gimpy

*woooooosh*

Sorry man... I've never used scripts.

pizzahut

#2
There was a Half-Life + TFC update today. It may be related to this:

https://www.google.com/search?q=counter-strike+zero+day&tbm=nws

What I noticed is that class and map specific configs don't load automatically any more. So perhaps your script still works, but just hasn't been executed. Type this in the game's console:

exec your-script.cfg

Nuggs

Interesting link pizzahut.

Seems silly that they exploited two zero days just to create a botnet to spam ads in cs 1.6 but here we are

Nuggs

#4
Also headwind as a temporary workaround I bound all my class configs to the keypad, so I just press the corresponding KP key to exec class.cfg. A bit of a pain in the ass but it works

Edit: dy posted clear concise instructions here : https://steamcommunity.com/app/20/discussions/0/1850323802569495812/

Master

If you can't respawn after dying you may have a movement key registered as pressed still, I know there exists 'clear' aliases that will send a depress for all movement related commands (reload, left, right, jump, duck,etc.)

It's most likely no -reload from the reload script.. But with the current state of things.. I don't think that's the primary concern.

Headwind

Thanks for the tips.  I'll work on this tonight.

xheon

I put this on my userconfig.cfg

bind F1 "exec scout.cfg; say_team scout"
bind F2 "exec sniper.cfg; say_team sniper"
bind F3 "exec soldier.cfg; say_team soldier"
bind F4 "exec demoman.cfg; say_team demoman"
bind F5 "exec medic.cfg; say_team medic"
bind F6 "exec hwguy.cfg; say_team hwguy"
bind F7 "exec pyro.cfg; say_team pyro"
bind F8 "exec spy.cfg; say_team spy"
bind F9 "exec engineer.cfg; say_team engineer"

Works for me  ::)

Headwind

Quote from: xheon on March 21, 2019, 10:12:42 PM
I put this on my userconfig.cfg

bind F1 "exec scout.cfg; say_team scout"
bind F2 "exec sniper.cfg; say_team sniper"
bind F3 "exec soldier.cfg; say_team soldier"
bind F4 "exec demoman.cfg; say_team demoman"
bind F5 "exec medic.cfg; say_team medic"
bind F6 "exec hwguy.cfg; say_team hwguy"
bind F7 "exec pyro.cfg; say_team pyro"
bind F8 "exec spy.cfg; say_team spy"
bind F9 "exec engineer.cfg; say_team engineer"

Works for me  ::)

That is exactly what I did.