Jump to content

clg_dexter

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral
  1. This is the code from the .bat file. It's suppose to replay a match I've had in a game called "League Of Legends" The website that stores the replay is Lolking.net. I'm pretty sure it doesn't contain malware but just to make sure since I'm skeptical about everything that may contain viruses. @echo off setlocal ENABLEEXTENSIONS setlocal EnableDelayedExpansion set VALUE_NAME=LocalRootFolder set KEY_NAME=HKLM\SOFTWARE\Wow6432Node\Riot Games\RADS FOR /F "tokens=2*" %%A IN ('REG.EXE QUERY "%KEY_NAME%" /v "%VALUE_NAME%" 2^>NUL ^| FIND "REG_SZ"') DO SET RADS=%%B IF NOT "!RADS!"=="" GOTO PLAY set KEY_NAME=HKCU\SOFTWARE\Riot Games\RADS FOR /F "tokens=2*" %%A IN ('REG.EXE QUERY "%KEY_NAME%" /v "%VALUE_NAME%" 2^>NUL ^| FIND "REG_SZ"') DO SET RADS=%%B IF NOT "!RADS!"=="" GOTO PLAY set KEY_NAME=HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Riot Games\RADS FOR /F "tokens=2*" %%A IN ('REG.EXE QUERY "%KEY_NAME%" /v "%VALUE_NAME%" 2^>NUL ^| FIND "REG_SZ"') DO SET RADS=%%B IF NOT "!RADS!"=="" GOTO PLAY set KEY_NAME=HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Riot Games\RADS FOR /F "tokens=2*" %%A IN ('REG.EXE QUERY "%KEY_NAME%" /v "%VALUE_NAME%" 2^>NUL ^| FIND "REG_SZ"') DO SET RADS=%%B IF NOT "!RADS!"=="" GOTO PLAY GOTO NOTFOUND :PLAY cd /D %RADS% cd .\solutions\lol_game_client_sln\releases\ FOR /f %%i in ('dir /a:d /b') do set RELEASE=%%i cd .\%RELEASE%\deploy @start "" "League of Legends.exe" "8394" "LoLLauncher.exe" "" "spectator replays.lolking.net:80 A3L73//f2ZlJUjkfm6Pe502xclqtw0XY 1644089986 NA1" GOTO DONE :NOTFOUND echo Could not find League of Legends installation. @pause :DONE endlocal
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.