[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
Tribes 1 Legendz • annihilation weapon help
Page 1 of 2

annihilation weapon help

Posted: Tue Dec 09, 2014 5:16 am
by S_hift
Anyway I can just disable this in any mod? I have a script that blocks all center print messages but I would like to block all print messages. here is the script

Code: Select all

function remoteCP(%manager, %msg, %timeout)
{
   if(%manager == 2048)
   {
      $centerPrintId++;
      if(%timeout)
         schedule("clearCenterPrint(" @ $centerPrintId @ ");", %timeout);
//      Client::centerPrint(%msg, 0);
      Client::centerPrint(%msg, 1);
      Event::Trigger(eventCenterPrint, %msg, %timeout);
   }
}
function remoteTP(%manager, %msg, %timeout)
{
   if(%manager == 2048)
   {
      $centerPrintId++;
      if(%timeout)
         schedule("clearCenterPrint(" @ $centerPrintId @ ");", %timeout);
      Client::centerPrint(%msg, 2);
      Event::Trigger(eventTopPrint, %msg, %timeout);
   }
}
function remoteBP(%manager, %msg, %timeout) {
   if (%manager == 2048) {
      $centerPrintId++;
      if (%timeout)
         schedule("clearCenterPrint(" @ $centerPrintId @ ");", %timeout);
      Client::centerPrint(%msg, 1);
      Event::Trigger(eventBottomPrint, %msg, %timeout);
   }
}

Re: annihilation weapon help

Posted: Tue Dec 09, 2014 11:02 am
by DaJ4ck3L
S_hift wrote:Anyway I can just disable this in any mod? I have a script that blocks all center print messages but I would like to block all print messages. here is the script

Code: Select all

function remoteCP(%manager, %msg, %timeout)
{
}
function remoteTP(%manager, %msg, %timeout)
{
}
function remoteBP(%manager, %msg, %timeout) 
{
}
yea that might work.

Re: annihilation weapon help

Posted: Tue Dec 09, 2014 2:00 pm
by S_hift
so what just rename all the "remotecp" into remotebp?

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 2:16 am
by DaJ4ck3L
no, remove everything in the function to get rid of them, or even better, add a $printoff = false; in autoexec, then add if(!$printoff) return; at the to of each function. to toggle them with that.

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 5:00 am
by S_hift
I'm trying to build a form of crash protection. There is an exploit that admins can use to crash clients via center printed and bottom printed images. I want to block ALL print messages.

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 6:55 am
by DaJ4ck3L
ahhh so that's why you trying to do this. very slick.

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 10:56 am
by S_hift
yeah i know you have some tricks up your sleeves :P

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 11:25 am
by DaJ4ck3L
last time i crashed you was months ago btw, and i told you after i did. i know your crashed recently, and thought it was me, but it wasn't.

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 4:29 pm
by Ninetails
I knew you guys did that to each other for the shits and giggles.

Re: annihilation weapon help

Posted: Wed Dec 10, 2014 6:19 pm
by DaJ4ck3L
one of my fav things to do, and omg i still die laughing when doing it to this day.

maybe once or twice a month ill sit in obs, and send a command to knight5 to pop up his objective screen, and everytime, he stops moving ofc, and says gg. the moment that happens i die laughing. it normally takes him about a minute or two to notice that he's only in the objective screen. ive done this to many people, but he is the only one who gets hit by it everytime.

it's like fishing, and knight5 always takes the bait. shift gets hit by it too sometimes.