Results 1 to 3 of 3
  1. #1
    AECX's Avatar
    Join Date
    Oct 2018
    Gender
    male
    Location
    Germany
    Posts
    17
    Reputation
    10
    Thanks
    657
    My Mood
    Bored

    Cool Appear Offline [Toggle Script]

    Appear Offline
    If you want to appear offline in league this post is for you!

    This method will:
    • Disable Friendlist
    • Disable Friend Chat
    • Disable Lobby Chat



    Toggle Script (recommended)
    I have created this little Batch script to automatically create and toggle the Appear Offline function whenever executed.
    To use it just create a bat file with the following code and execute it to enable and disable the chat respectively. (Or download the attachment and rename it to .bat)

    The script does the exact same things as the manual setup and there is no risk or downside to using it.

    Code:
    ::
    ::
    :: (C) 2022 Maurice "AECX" Henke
    :: https://henke.gg
    :: <maurice@henke.gg>
    ::
    :: Thank you for using my script!
    :: If you got any problems feel free to contact me 
    ::
    
    net session >nul 2>&1
    if %errorLevel% == 0 (
        goto Main
    ) else (
        ECHO:
        ECHO YOU NEED TO RUN THIS SCRIPT AS ADMINISTRATOR
        ECHO:
        color c0
        goto Quit
    )
    
    :Main
        netsh advfirewall firewall show rule name="RiotChat" | findstr Enabled: > tempfile
        
        SET empty=""
        SET /p status=<tempfile
    
        DEL tempfile
    
        SetLocal EnableDelayedExpansion
        IF "!status!"==!empty! ( goto Create ) ELSE ( goto Toggle )
        EndLocal
    
    goto Quit
    
    :Create
        ECHO:
        ECHO Creating and enabling the firewall rule:
        netsh advfirewall firewall add rule name="RiotChat" dir=out action=block protocol=TCP remoteport=5223
    goto Quit
    
    
    :Toggle
        setlocal EnableDelayedExpansion
            if "!status:Yes=!"=="!status!" ( goto Disable ) ELSE ( goto Enable )
        endlocal
    
    goto Quit
    
    :: 
    :: Enable the League chat by disabling
    :: the firewall rule
    :: 
    :Enable
        ECHO Enabling league chat.
        netsh advfirewall firewall set rule name="RiotChat" new enable=no
    goto Quit
    
    
    :: 
    :: Disable the League chat by enabling
    :: the firewall rule
    :: 
    :Disable
        ECHO Disabling league chat.
        netsh advfirewall firewall set rule name="RiotChat" new enable=yes
    goto Quit
    
    
    
    
    :Quit
        ECHO:
        ECHO Thank you for using my script, glhf!
        timeout /t 3 /nobreak > NUL
        color
    Manual Setup
    In order to disable the chat we simply block connections to port 5223 as that is used by the Riot Games chat service.

    • Open "Windows Defender Firewall with Advanced Security"
    • Navigate to "Outbound Rules"
    • Create a New Rule
    • Select "Port"
    • Leave everything default and Enter 5223 in the field "Remote Port"
    • Leave the rest default and name your rule


    To enable and disable the chat simply toggle the firewall rule you've just created.
    <b>Downloadable Files</b> Downloadable Files
    Last edited by AECX; 02-11-2022 at 02:23 PM. Reason: Unwanted mention

  2. The Following 7 Users Say Thank You to AECX For This Useful Post:

    AracnosGAMER (05-15-2022),chenyishen1211 (02-17-2022),Dk7rocks (02-17-2023),gaypor20 (03-25-2023),GIUWAYNE69 (06-20-2022),lhbsh12 (03-27-2022),silentfull1 (01-23-2023)

  3. #2
    meme's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    42.434720, -83.985
    Posts
    8,050
    Reputation
    1403
    Thanks
    2,410
    My Mood
    Lurking
    just don't put any download links on the website, the thread will have to be deleted if you do.

    //approved
    Quote Originally Posted by Hennessy View Post
    meme is shittiest general mod ever.
     
    dd/mm/yy
    Member | 28/1/16 - ∞
    Premium | 20/3/16 - ∞
    BattleOn Minion | 24/12/17 - 21/7/21
    Minion+ | 4/4/19 - 11/12/20
    Other MMMORPG Minion | 10/11/19 - 21/7/21
    Publicist | 7/2/20 - Unknown
    Minecraft Minion | 10/12/20 - 21/7/21
    General Minion | 10/12/20 - 21/7/21

    Moderator | 11/12/20 - 21/7/21
    Princess | 5/1/21 - 30/6/21
    Global Moderator | 21/7/21 - ∞
    Pharaoh | 30/1/22 - ∞
    Trusted Member | 16/3/23 - ∞

  4. #3
    AECX's Avatar
    Join Date
    Oct 2018
    Gender
    male
    Location
    Germany
    Posts
    17
    Reputation
    10
    Thanks
    657
    My Mood
    Bored
    I should add that if your Windows language is not english you will have to adjust the lines 25 and 47.

    Please replace the terms "Enabled:" and "Yes" (only the quoted part and nothing else) with whatever matches the output of the commands in your language. (You can try to run the commands manually to identify the translation)

    If anyone has a better solution to this, i.e. change the output language of netsh commands or the entire CMD process, please let me know!

    Best Regards
    AECX

Similar Threads

  1. need auto attack toggle script
    By samsunaq in forum Trove Discussions & Help
    Replies: 2
    Last Post: 07-26-2015, 11:26 AM
  2. [Solved] League of Legends Appear Offline Hack?
    By youknowwhat in forum League of Legends Help
    Replies: 1
    Last Post: 02-13-2015, 09:46 PM
  3. [Outdated] Appear Offline Tool{Working}{Patch 4.18}
    By BilakosBF3 in forum League of Legends Hacks & Cheats
    Replies: 21
    Last Post: 01-03-2015, 03:20 AM
  4. [HELP]Toggle Script
    By SeductiveJelly in forum Payday 2 Hacks & Cheats
    Replies: 2
    Last Post: 12-03-2013, 12:35 PM
  5. [Release] BunnyHop Toggle Script
    By FangedBeast in forum Steam Games Hacks & Cheats
    Replies: 1
    Last Post: 05-06-2013, 02:34 AM

Tags for this Thread