Giter Site home page Giter Site logo

cs2-server-picker-linux's Introduction

cs2-server-picker-linux

ChatGPT Pasted CS2 server picker for Linux

Fetches data from the Steam API and blocks IP addresses using iptables.

Usage

Blocking servers

Run ./blocker.sh and enter countries to block.

OR

Run ./blocker.sh and provide the countries to block as args, like so:

./blocker.sh lhr ams par fra sto2 vie mad sto waw hel

Then say "yes" and enter your password :^)

DO NOT DELETE blocked-ips.txt

Unblocking servers

Run ./unblocker.sh.

This will read blocked-ips.txt and unblock those addresses.

Finding what you should block

If you don't know what you should block, just run CS2, open console, start the queue and wait for it to output something like:

Obtained direct RTT measurements to relays in 40 POPs.  Closest 15 are:
  jfk: 79ms
  atl: 101ms
  ord: 104ms
  iad: 115ms
  bom2: 141ms
  lax: 141ms
  bom: 146ms
  dfw: 147ms
  sea: 155ms
  maa2: 161ms
  maa: 168ms
  hkg: 183ms
  jnb: 187ms
  sgp: 190ms
  lim: 191ms
Confirmed best official datacenter ping: 101 ms

Notes

For whatever reason, https://github.com/Jyben/csgo-mm-server-picker no longer works for me and I am not bothered to fix it. These scripts achieve the same result anyway.

cs2-server-picker-linux's People

Contributors

chopper1337 avatar

Stargazers

disconsolated avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.