Tremulous Forum

General => Troubleshooting => Topic started by: Sayeru on August 27, 2008, 08:13:57 pm

Title: Packedup Script
Post by: Sayeru on August 27, 2008, 08:13:57 pm
Hello guys, anyone know whats wrong here?
Code: [Select]
//Packets Lost
bind + "vstr seis_packetslost+"
bind - "vstr seis_packetslost-"
set seis_packetslost- "vstr packetslost1;"
set seis_packetslost+ "vstr packetslost1;"
set seis_packetslost1 "set cl_packetdup 0; set seis_packetslost- vstr seis_packetslost1; set seis_packetslost+ vstr seis_packetslost2; echo ^7Lost ^10^7`"
set seis_packetslost2 "set cl_packetdup 1; set seis_packetslost- vstr seis_packetslost1; set seis_packetslost+ vstr seis_packetslost3; echo ^7Lost ^15%^7`"
set seis_packetslost3 "set cl_packetdup 2; set seis_packetslost- vstr seis_packetslost2; set seis_packetslost+ vstr seis_packetslost4; echo ^7Lost ^110%^7"
set seis_packetslost4 "set cl_packetdup 3; set seis_packetslost- vstr seis_packetslost3; set seis_packetslost+ vstr seis_packetslost5; echo ^7Lost ^115%^7"
set seis_packetslost5 "set cl_packetdup 4; set seis_packetslost- vstr seis_packetslost4; set seis_packetslost+ vstr seis_packetslost6; echo ^7Lost ^120%^7"
set seis_packetslost6 "set cl_packetdup 5; set seis_packetslost- vstr seis_packetslost5; set seis_packetslost+ vstr seis_packetslost6; echo ^7Lost ^125%^7"

Strange because + and - aren't even bonded (binded?).  ::)
Somebody can help? ???
Title: Re: Packedup Script
Post by: Bomb on August 27, 2008, 08:17:55 pm
What, exactly, is the problem?
Title: Re: Packedup Script
Post by: Sayeru on August 27, 2008, 10:15:20 pm
Those binds are not working in game , i need to fix it. Idk what i should changed/fixed here. Thats why im asking for help.  :)
Title: Re: Packedup Script
Post by: Bomb on August 27, 2008, 10:19:15 pm
1) The + and - signs in the cvar names might be causing problems.
2) Which + key is the first bind attached to? The one on the keyboard or the one on the keypad?
Title: Re: Packedup Script
Post by: kevlarman on August 27, 2008, 11:33:05 pm
1) The + and - signs in the cvar names might be causing problems.
2) Which + key is the first bind attached to? The one on the keyboard or the one on the keypad?
this is correct...
+ binds to keypad +, if you want to bind to the one on the keyboard you'll need to bind =
Title: Re: Packedup Script
Post by: Bissig on August 28, 2008, 02:32:02 am
KP_PLUS binds to the plus sign on the keypad
+ binds to the plus sign on the keyboard
Title: Re: Packedup Script
Post by: Bomb on August 28, 2008, 02:38:40 pm
Tremulous doesn't let you press the + sign on the keyboard. Sayeru, just bind it to = instead.
Title: Re: Packedup Script
Post by: Bissig on August 28, 2008, 08:47:17 pm
Tremulous doesn't let you press the + sign on the keyboard. Sayeru, just bind it to = instead.

Aha, on my keyboard "+" does "sizeup" and "-" does "sizedown".
Title: Re: Packedup Script
Post by: Bomb on August 28, 2008, 10:34:00 pm
Aha, on my keyboard "+" does "sizeup" and "-" does "sizedown".
You mean "=" does "sizeup"...
Title: Re: Packedup Script
Post by: Bissig on August 28, 2008, 10:53:52 pm
Aha, on my keyboard "+" does "sizeup" and "-" does "sizedown".
You mean "=" does "sizeup"...

Nope. Tis QWERTZ btw.
Title: Re: Packedup Script
Post by: Bomb on August 28, 2008, 11:03:22 pm
Um, I don't think Sayeru would be using QWERTZ.
Title: Re: Packedup Script
Post by: Bissig on August 28, 2008, 11:07:02 pm
He apparently is from Belgium. I don't know what layout they use there. Also, I don't think it makes any difference.
Title: Re: Packedup Script
Post by: Bomb on August 28, 2008, 11:19:09 pm
Also, I don't think it makes any difference.
Doubly so, now that we've scared him off. ;)
Title: Re: Packedup Script
Post by: Archangel on August 29, 2008, 01:35:13 am
Tremulous doesn't let you press the + sign on the keyboard. Sayeru, just bind it to = instead.

shift
Title: Re: Packedup Script
Post by: Bissig on August 29, 2008, 02:50:41 am
Hello guys, anyone know whats wrong here?

---
//Packets Lost
bind + "vstr seis_packetslost+"
bind - "vstr seis_packetslost-"
set seis_packetslost- "vstr packetslost1;"
set seis_packetslost+ "vstr packetslost1;"
set seis_packetslost1 "set cl_packetdup 0; set seis_packetslost- vstr seis_packetslost1; set seis_packetslost+ vstr seis_packetslost2; echo ^7Lost ^10^7`"
set seis_packetslost2 "set cl_packetdup 1; set seis_packetslost- vstr seis_packetslost1; set seis_packetslost+ vstr seis_packetslost3; echo ^7Lost ^15%^7`"
set seis_packetslost3 "set cl_packetdup 2; set seis_packetslost- vstr seis_packetslost2; set seis_packetslost+ vstr seis_packetslost4; echo ^7Lost ^110%^7"
set seis_packetslost4 "set cl_packetdup 3; set seis_packetslost- vstr seis_packetslost3; set seis_packetslost+ vstr seis_packetslost5; echo ^7Lost ^115%^7"
set seis_packetslost5 "set cl_packetdup 4; set seis_packetslost- vstr seis_packetslost4; set seis_packetslost+ vstr seis_packetslost6; echo ^7Lost ^120%^7"
set seis_packetslost6 "set cl_packetdup 5; set seis_packetslost- vstr seis_packetslost5; set seis_packetslost+ vstr seis_packetslost6; echo ^7Lost ^125%^7"

---

Strange because + and - aren't even bonded (binded?).  ::)
Somebody can help? ???

Red parts are wrong. Also, you are setting seis_packetslost+ AND seis_packetslost- to the same vstr. I don't think that works.
Title: Re: Packedup Script
Post by: UniqPhoeniX on August 29, 2008, 08:53:37 am
Also, you are setting seis_packetslost+ AND seis_packetslost- to the same vstr. I don't think that works.
It does work.
Title: Re: Packedup Script
Post by: Bomb on August 29, 2008, 12:29:37 pm
shift
Shift doesn't work.