CMD function to appear offline

Quiet Dude·5/25/2018, 6:29:11 PM·11 votes·11,839 views

2 years ago, Riot made this topic regarding offline mode. Well, the new client has been out for awhile, and still no offline mode.

So here is a handy method to create a command function to activate and deactivate "offline mode". Probably won't work for mac bois.

Open notepad and copy this text without the first and last quotations:

"@echo off SETLOCAL set _rule=lolchat netsh advfirewall firewall show rule name=%_rule%> nul if ERRORLEVEL 1 ( echo Firewall rule created %_rule% netsh advfirewall firewall add rule name=%_rule% dir=out remoteip=xxx.xx.xx.xx protocol=TCP action=block ) else ( netsh advfirewall firewall delete rule name="%_rule%" ) ENDLOCAL pause >nul"

Do you see the "xxx.xx.xx.xx"? replace it with one of these sets of IP's depending on your region: remoteip=185.40.64.69 if you are in EUW remoteip=192.64.174.69 if you are in NA remoteip=185.40.64.111 if you are in EUNE

Now save this text document. Enable viewing file name extensions and rename ".txt" with ".cmd". Run this command AS ADMINISTRATOR before starting league. You will be disconnected from chat, but you will appear offline. To disable, shut down league and execute the command again AS ADMINISTRATOR to appear online again.

To answer these questions before they are asked- this command function creates a rule to block the IP from the League Client's chat server. It isn't scripting or anything you should be afraid of. When you start the league client, the rule will prevent the client from connecting to the chat server, severing your ability to chat, but also preventing you from appearing online on your friends list.

If in the improbable chance you play a game and get paired with/against your friends, they can still see you in game.

Enjoy your league privacy.

If you're having a problem with this, I can double check to make sure it’s right when I get home from work.

9 Comments

TempName548465/26/2018, 6:02:00 AM1 votes

wach out guys this produces nerve gas and will delet system 32

RammBorghini1/17/2019, 10:01:13 AM1 votes

HELLO man is this still works cuz it didn't work for me and i'm wondering if its cuz the ip changed or somethink lik that

EDIT:solved

Uncle Exe10/27/2019, 11:07:30 AM1 votes

Any ideas how to make it work now? I tryed literally every one of this that are on forums since 2016, and none of them works now.

Bogi11/15/2019, 4:52:18 PM1 votes

It still works, IP adress needs to be updated. EUW: 172.65.252.238 EUNE: 172.65.223.136