Author Topic: Fix for no-doublescore script for R/S (S, RSCS) modes  (Read 908 times)

0 Members and 3 Guests are viewing this topic.

Offline demaveh

  • Major(1)
  • Posts: 7
Fix for no-doublescore script for R/S (S, RSCS) modes
« on: November 26, 2013, 08:48:19 am »
Hey,

Could someone be able to fix a no-doublescore script to be used in #Realistic gather servers.
No double-score actually works, but theres a bug this script causes:

Gamemode: R/S
When the other team caps without killing the entire other - the game keeps going without either of teams to die&respawn.

The script is right here http://www.sendspace.com/file/h2rmv8.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: Fix for no-doublescore script for R/S (S, RSCS) modes
« Reply #1 on: November 26, 2013, 09:23:36 am »
Been looking into it for quite a while and only thing that comes into my mind is that this ternary operator isn't working in the latest scriptcore. Though I'm probably talking some bullshit. Haven't written single script in 2 years...
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Fix for no-doublescore script for R/S (S, RSCS) modes
« Reply #2 on: November 26, 2013, 10:10:47 am »
there's no such thing in pascal. iif() is a function, not operator.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: Fix for no-doublescore script for R/S (S, RSCS) modes
« Reply #3 on: November 26, 2013, 10:34:15 am »
Yeah, my bad for using wrong words. Anyway, we tested it few times and it seems that it just need to trigger manually the round end. I don't know how to do it.
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline demaveh

  • Major(1)
  • Posts: 7
Re: Fix for no-doublescore script for R/S (S, RSCS) modes
« Reply #4 on: November 27, 2013, 12:08:26 pm »
Anyone wanna take a look?