Author Topic: patch to cut the spam from binds :  (Read 8187 times)

rasz_pl

  • Guest
patch to cut the spam from binds :
« on: November 15, 2006, 11:50:07 pm »
If you are using binds like
bind MOUSE5 "itemact medkit;buy helmet;buy larmour;buy gren;buy ammo"
bind 3 "sell weapons;sell upgrades;buy helmet;buy shotgun;buy larmour;itemact shotgun;buy rifle"

then you must be familiar with this crap


9 lines of useless crap spam from the server about you not having a gren/shotgun/being too far from the reac/armo .. GRRR
Unfortunatelly its the server that is sending this to us as a /print command, so the only way to avoid it is to patch /src/client/cl_console.c
Code: [Select]

void CL_ConsolePrint( char *txt ) {
int y;
int c, l;
int color;
qboolean skipnotify = qfalse; // NERVE - SMF

// TTimo - prefix for text that shows up in console but not in notify
// backported from RTCW
if ( !Q_strncmp( txt, "[skipnotify]", 12 ) ) {
skipnotify = qtrue;
txt += 12;
}

if ( !Q_strncmp( txt, "You must be near a ", strlen("You must be near a ") ) ) {
return;
}
if ( !Q_strncmp( txt, "You don't have the ", strlen("You don't have the ") ) ) {
return;
}

// for some demos we don't want to ever show anything on the console
if ( cl_noprint && cl_noprint->integer ) {
return;
}


its rather highly unprobable that someone ever will sent you a message with "You must be near a " in it, so all it does is mute the stupid spamming server, enjoy :)

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: patch to cut the spam from binds :
« Reply #1 on: December 26, 2007, 11:06:05 pm »
I know Rasz_PL is essentially dead to us now, but can someone confirm that this works with the latest SVN? Also, can someone update it so that it works for all the new annoying spammy messages the server sends you I.e.: Must be alive to use this command, Must be Human to use this command, etc.

Oh, and ZOMG NECRO

rasz_pl

  • Posts: 1
  • Turrets: +1/-1
Re: patch to cut the spam from binds :
« Reply #2 on: December 30, 2007, 05:43:05 pm »
I know Rasz_PL is essentially dead to us now

why thank you! anyway i wasnt dead, i got banned for annoying Timbo (or something, no idea, he never made it clear). Apparently i was making so much commotion and noise that it interfered with the speed of development, and since i got banned there have need so many new versions, im sure trem is at 1.5 by now ... oh wait there wasnt, if you download trem from tremulous.net today you still get the same buggy version as 2 years ago (no options menu, sorting by ping broken and so on).

can someone confirm that this works with the latest SVN? Also, can someone update it so that it works for all the new annoying spammy messages the server sends you I.e.: Must be alive to use this command, Must be Human to use this command, etc.

I want to play some trem again so i will have to compile the client anyway (cos of the broken shit you get when you download default 1.1 version), that means i will propably update and post it.

Caveman

  • Guest
Re: patch to cut the spam from binds :
« Reply #3 on: December 30, 2007, 05:51:13 pm »
Well, it doesn't surprise anyone if you get the boot again.
Obviously you haven't learned that dissing is bad for you, no matter where you do it, be it here or on the bugtracker.

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: patch to cut the spam from binds :
« Reply #4 on: December 30, 2007, 10:06:42 pm »
On the current forum banlist there are only 3 people banned after the move to SMF. Consider it a saving grace and a second chance on the forums I guess.
I’m busy. I’ll ignore you later.

.f0rqu3

  • Guest
Re: patch to cut the spam from binds :
« Reply #5 on: December 31, 2007, 09:43:12 am »
you are right.

Shadowgandor

  • Posts: 826
  • Turrets: +61/-66
Re: patch to cut the spam from binds :
« Reply #6 on: December 31, 2007, 12:01:29 pm »
Welcome back .f0rqu3 and rasz_pl :laugh:

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: patch to cut the spam from binds :
« Reply #7 on: December 31, 2007, 12:06:58 pm »
only rasz_pl. vcxzet's ban is still active until further notice.
I’m busy. I’ll ignore you later.

Shadowgandor

  • Posts: 826
  • Turrets: +61/-66
Re: patch to cut the spam from binds :
« Reply #8 on: January 02, 2008, 11:12:19 am »
Huh, why was he banned?

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: patch to cut the spam from binds :
« Reply #9 on: January 02, 2008, 11:24:31 am »
The stated reason was being forque. The actual reason was he was causing a lot more trouble than he was contributing which resulted in a ban.
I’m busy. I’ll ignore you later.

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: patch to cut the spam from binds :
« Reply #10 on: January 03, 2008, 04:38:48 pm »
Though f0rqu3 has indeed caused trouble, he has also contributed a lot more than most of us to the Tremulous community. I'm sure many of us would not like to see him gone. Sure, making a lot of sub-accounts seems bitchy, but if he did it because Timbo was banning all of his previous ones, and he was just dedicated to helping the game / annoying Timbo I think some of us can sympathize.

On the other hand, if his annoying Timbo halted / stalled 1.2.0 development, I'm sure we all would want to kill him. (That's right Timbo, you can use this idea)

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: patch to cut the spam from binds :
« Reply #11 on: January 03, 2008, 04:50:56 pm »
Though f0rqu3 has indeed caused trouble, he has also contributed a lot more than most of us to the Tremulous community. I'm sure many of us would not like to see him gone. Sure, making a lot of sub-accounts seems bitchy, but if he did it because Timbo was banning all of his previous ones, and he was just dedicated to helping the game / annoying Timbo I think some of us can sympathize.

On the other hand, if his annoying Timbo halted / stalled 1.2.0 development, I'm sure we all would want to kill him. (That's right Timbo, you can use this idea)

He has had a lot of slack already for all that he has done. But there are certain things which are unacceptable no matter how much you've done. And there's a reason you get banned. Evading that ban means you don't understand or care about why you got banned in the first place, and as such, will not better yourself, resulting in a permanent ban.
I’m busy. I’ll ignore you later.

Yarou

  • Posts: 218
  • Turrets: +43/-109
Re: patch to cut the spam from binds :
« Reply #12 on: January 04, 2008, 09:23:29 pm »
A lot of familiar faces here...
I never knew rasz that well, but I knew vcxzet pretty well.
Retrospectively, I believe vcxzet/f0rqu3/#include clone's ban was unjust, because his contributions far exceeded the amount of "annoyances" he gave to certain people.
However, I do not believe that this is the right place to be discussing past bans and/or future bans.


Currently:
{&}Yarou