View Single Post
Old 01-13-2013, 10:41 AM   #1
gomixy
 
Join Date: Aug 2010
Reputation: 1345
Posts: 8,373
Question How to Block Pinion Ads/Skip Motd Waiting Time

I was under the impression that the majority of players knew about the Tf2adblock, but based on the few times I post it, I seem to be wrong.

Edit:
Well since Pinion has basically gotten around this there is only 1 real way of blocking Pinion, and thats directly with your hosts file.

In Windows, edit C:\Windows\System32\drivers\etc\hosts (it’s just a text file so you can use Notepad but make sure you run Notepad as Administrator otherwise you won’t be able to save the file)

127.0.0.1 motd.pinion.gg

On a Mac you can edit /etc/hosts adding the same entry above.

This is completely harmless as all it says is that if your PC tries to connect to motd.pinion.gg that the IP is 127.0.0.1 which is your PC’s local address. So instead of loading ad HTML the connection will just fail.


















Video Tutorial/Example

Anyways, if youd like to go to any server without the fear of "Pinion ads" or "You may close the motd in x seconds", then get the file below

TF2Adblock

Its just a .cfg file that protects against server side exploits, fairly simple actually.


If anyone has any questions, feel free to post/pm me but make sure you follow the Readme file which is basically:

1: Paste the Protect.cfg file into your Steam/steamapps/username/teamfortress/tf/cfg folder.
2:In that same folder, there should be a file called "autoexec.cfg". Open it with notepad and type "exec protect.cfg" into it and save it.

Here are the contents of protect.cfg
Code:
//------------------------------------------------
// TF2 Anti-Virus by Casual v1.0
//------------------------------------------------

// Protection against server_can_execute bypass
// Make your cfg/config.cfg read-only for extra protection
cl_allowupload 0
alias cl_allowupload "echo Blocked cl_allowupload!"
alias clear "echo Blocked clear!"
alias unbindall "echo Blocked unbindall!"

// Adblock for motd, extra protection:
// > Create an empty file in your tf directory named textwindow_temp.html and make it read-only (this prevents the motd from being saved & loaded)
// > Add '127.0.0.1 motd.pinion.gg' to your hosts file. This prevents a well known motd advertising network to load
cl_disablehtmlmotd 1
alias closed_htmlpage "echo Blocked pinion!"

// Gets rid of servers playing annoying sound files
alias play "echo Blocked play!"
alias sndplaydelay "echo Blocked sndplaydelay!"
alias playgamesound "echo Blocked playgamesound!"
alias soundfade "echo Blocked soundfade!"

// Servers don't need this
alias cl_spec_mode
alias rpt_connect
alias r_screenoverlay





It would be nice if you guys 5starred/bumped this thread so that it will stay alive for a bit and more people will find out...

Last edited by gomixy: 04-04-2013 at 08:49 AM.
gomixy is offline  
Reply With Quote