annihilation weapon help

User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

annihilation weapon help

Post 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);
   }
}
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: annihilation weapon help

Post 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.
Image
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: annihilation weapon help

Post by S_hift »

so what just rename all the "remotecp" into remotebp?
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: annihilation weapon help

Post 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.
Image
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: annihilation weapon help

Post 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.
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: annihilation weapon help

Post by DaJ4ck3L »

ahhh so that's why you trying to do this. very slick.
Image
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: annihilation weapon help

Post by S_hift »

yeah i know you have some tricks up your sleeves :P
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: annihilation weapon help

Post 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.
Image
User avatar
Ninetails
Posts: 342
Joined: Sat Dec 10, 2011 4:34 am
Location: Frankfurt, Germany
Contact:

Re: annihilation weapon help

Post by Ninetails »

I knew you guys did that to each other for the shits and giggles.
Image
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: annihilation weapon help

Post 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.
Image
Post Reply