Urban Terror Forums: Few Old Binds/Scripts not working - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Few Old Binds/Scripts not working Rate Topic: -----

#1 User is offline   Deprecated Icon

  • Account: deprecated
  • Main tag: -nS|
  • Country:
  • Joined: 07-August 12
  • Posts: 11

Posted 06 April 2013 - 05:37 PM

So upon launching my new 4.2.010 server, I noticed that two scripts I had been using, no longer work. They still work fine in 4.1, and they are not being restricted by flood protect.

set Name1 "name `Mike`; bind z vstr Name2"
set Name2 "name -nS|RainbowDash; bind z vstr Name3"
set Name3 "name `RainbowDash`<3; bind z vstr Name4"
set Name4 "name [TRY]Mike'.'; bind z vstr Name5"
set Name5 "name (-o-)Squirtle; bind z vstr Name1"
bind z vstr Name1


No longer works, nor does..


set Color1 "cg_rgb 248,248,255 ; bind k vstr Color2"
set Color2 "cg_rgb 3,3,3 ; bind k vstr Color3"
set Color3 "cg_rgb 176,23,31 ; bind k vstr Color4"
set Color4 "cg_rgb 220,20,60 ; bind k vstr Color5"
set Color5 "cg_rgb 255,182,193 ; bind k vstr Color6"
set Color6 "cg_rgb 238,162,173 ; bind k vstr Color7"
set Color7 "cg_rgb 255,192,203 ; bind k vstr Color8"
set Color8 "cg_rgb 238,169,184 ; bind k vstr Color9"
set Color9 "cg_rgb 219,112,147 ; bind k vstr Color10"
set Color10 "cg_rgb 255,130,171 ; bind k vstr Color11"
set Color11 "cg_rgb 238,121,159 ; bind k vstr Color12"
set Color12 "cg_rgb 238,220,130 ; bind k vstr Color13"
set Color13 "cg_rgb 255,240,245 ; bind k vstr Color14"
set Color14 "cg_rgb 255,62,150 ; bind k vstr Color15"
set Color15 "cg_rgb 255,20,147 ; bind k vstr Color16"
set Color16 "cg_rgb 255,52,179 ; bind k vstr Color17"
set Color17 "cg_rgb 255,131,250 ; bind k vstr Color18"
set Color18 "cg_rgb 255,0,255 ; bind k vstr Color19"
set Color19 "cg_rgb 205,0,205 ; bind k vstr Color20"
set Color20 "cg_rgb 191,62,255 ; bind k vstr Color21"
set Color21 "cg_rgb 138,43,226 ; bind k vstr Color22"
set Color22 "cg_rgb 145,44,238 ; bind k vstr Color23"
set Color23 "cg_rgb 132,112,255 ; bind k vstr Color24"
set Color24 "cg_rgb 0,0,255 ; bind k vstr Color25"
set Color25 "cg_rgb 0,0,205 ; bind k vstr Color26"
set Color26 "cg_rgb 61,89,171 ; bind k vstr Color27"
set Color27 "cg_rgb 72,118,255 ; bind k vstr Color28"
set Color28 "cg_rgb 202,225,255 ; bind k vstr Color29"
set Color29 "cg_rgb 99,184,255 ; bind k vstr Color30"
set Color30 "cg_rgb 176,226,255 ; bind k vstr Color31"
set Color31 "cg_rgb 0,191,255 ; bind k vstr Color32"
set Color32 "cg_rgb 51,161,201 ; bind k vstr Color33"
set Color33 "cg_rgb 191,239,255 ; bind k vstr Color34"
set Color34 "cg_rgb 152,245,255 ; bind k vstr Color35"
set Color35 "cg_rgb 0,245,255 ; bind k vstr Color36"
set Color36 "cg_rgb 0,229,238 ; bind k vstr Color37"
set Color37 "cg_rgb 0,197,205 ; bind k vstr Color38"
set Color38 "cg_rgb 0,255,255 ; bind k vstr Color39"
set Color39 "cg_rgb 0,128,128 ; bind k vstr Color40"
set Color40 "cg_rgb 3,168,158 ; bind k vstr Color41"
set Color41 "cg_rgb 0,199,140 ; bind k vstr Color42"
set Color42 "cg_rgb 102,205,170 ; bind k vstr Color43"
set Color43 "cg_rgb 0,250,154 ; bind k vstr Color44"
set Color44 "cg_rgb 0,255,127 ; bind k vstr Color45"
set Color45 "cg_rgb 46,139,87 ; bind k vstr Color46"
set Color46 "cg_rgb 189,252,201 ; bind k vstr Color47"
set Color47 "cg_rgb 152,251,152 ; bind k vstr Color48"
set Color48 "cg_rgb 50,205,50 ; bind k vstr Color49"
set Color49 "cg_rgb 124,252,0 ; bind k vstr Color50"
set Color50 "cg_rgb 173,255,47 ; bind k vstr Color51"
set Color51 "cg_rgb 107,142,35 ; bind k vstr Color52"
set Color52 "cg_rgb 255,255,224 ; bind k vstr Color53"
set Color53 "cg_rgb 255,255,0 ; bind k vstr Color54"
set Color54 "cg_rgb 238,238,0 ; bind k vstr Color55"
set Color55 "cg_rgb 205,205,0 ; bind k vstr Color56"
set Color56 "cg_rgb 255,246,0 ; bind k vstr Color57"
set Color57 "cg_rgb 205,198,115 ; bind k vstr Color58"
set Color58 "cg_rgb 238,220,130 ; bind k vstr Color59"
set Color59 "cg_rgb 255,215,0 ; bind k vstr Color60"
set Color60 "cg_rgb 227,207,87 ; bind k vstr Color61"
set Color61 "cg_rgb 205,155,29 ; bind k vstr Color62"
set Color62 "cg_rgb 238,154,0 ; bind k vstr Color63"
set Color63 "cg_rgb 255,153,18 ; bind k vstr Color64"
set Color64 "cg_rgb 255,140,0 ; bind k vstr Color65"
set Color65 "cg_rgb 238,118,0 ; bind k vstr Color66"
set Color66 "cg_rgb 237,145,33 ; bind k vstr Color67"
set Color67 "cg_rgb 244,164,96 ; bind k vstr Color68"
set Color68 "cg_rgb 210,105,30 ; bind k vstr Color69"
set Color69 "cg_rgb 139,69,19 ; bind k vstr Color70"
set Color70 "cg_rgb 160,82,45 ; bind k vstr Color71"
set Color71 "cg_rgb 205,104,57 ; bind k vstr Color72"
set Color72 "cg_rgb 205,129,98 ; bind k vstr Color73"
set Color73 "cg_rgb 255,69,0 ; bind k vstr Color74"
set Color74 "cg_rgb 205,55,0 ; bind k vstr Color75"
set Color75 "cg_rgb 255,140,105 ; bind k vstr Color76"
set Color76 "cg_rgb 205,91,69 ; bind k vstr Color77"
set Color77 "cg_rgb 138,51,36 ; bind k vstr Color78"
set Color78 "cg_rgb 255,0,0 ; bind k vstr Color1"
bind k vstr Color1



Any idea what changed? Or what I did wrong?

#2 User is online   JRandomNoob Icon

  •   moderator   
    Community Moderator

Posted 06 April 2013 - 07:44 PM

At first I suspected stricter parsing (requiring quotes around “vstr <alias>”), but when testing, both these scripts worked fine, no changes needed. Tried on local server (dedicated and not) and on a random Internet server.

Try debugging it:

bind z "vstr Name1; ut_echo ^1shouldn't names work?"
bind k "vstr Color1; ut_echo ^1shouldn't colors work?"


Will the echoes show up? Also, type /bind z and /bind k in the console to see what’s actually bound to these keys — maybe something else is interfering?

Or, I don’t know, is the file with these scripts actually being executed? You might have forgotten to add a line in your autoexec for all I know.
dswp.de
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)

#3 User is online   JRandomNoob Icon

  •   moderator   
    Community Moderator

Posted 07 April 2013 - 12:45 AM

Update: I forgot to remove your config from my autoexec, and after running .011 for the first time, I found error messages in the console:

^3Can't use keys or values with a ';': color2 = cg_rgb 3,3,3 ; bind k vstr Color3
^3Can't use keys or values with a ';': color1 = cg_rgb 248,248,255 ; bind k vstr Color2


Both the color and the name script still work just fine though.
dswp.de
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)

#4 User is offline   Deprecated Icon

  • Account: deprecated
  • Main tag: -nS|
  • Country:
  • Joined: 07-August 12
  • Posts: 11

Posted 08 April 2013 - 01:31 PM

Yep, got it working now - Thanks.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942