Jump to content

Client stuck on update ?


Recommended Posts

Posted
12 minutes ago, BalanceDruid said:

Thank you for the time you invested in my issue.
I found the solution to my problem :

 

Open CMD in Admin and open your JAR file through the CMD

This helped me.
Not sure if it will still work after restarting :)

thank you everyone.
Have a good day

Glad to hear you were able to get it to work! If running it via CMD as Admin worked, I'm guessing @Gunman might be in the right idea with it being something being blocked by an antivirus or firewall. You could try disabling it or whitelisting the OSBot.jar and seeing if you can run it normally after that. Worst cast scenario, just write a .bat file to execute the .jar as administrator and use that every time 😁

Posted
9 hours ago, Delision said:

Glad to hear you were able to get it to work! If running it via CMD as Admin worked, I'm guessing @Gunman might be in the right idea with it being something being blocked by an antivirus or firewall. You could try disabling it or whitelisting the OSBot.jar and seeing if you can run it normally after that. Worst cast scenario, just write a .bat file to execute the .jar as administrator and use that every time 😁


Yea this morning when I tried to boot it up again I had the same issue;
Tobad my knowledge of BAT scripting is far from on point.
I'll take a look around how to fix this issue :D

Thank you for the response!

Posted
5 hours ago, BalanceDruid said:


Yea this morning when I tried to boot it up again I had the same issue;
Tobad my knowledge of BAT scripting is far from on point.
I'll take a look around how to fix this issue :D

Thank you for the response!

Here's a quick script that will execute a .jar file with administrator rights. It's a bit lengthy but it worked when I tested it. The only thing you should need to change will be the very last line where you will need to change the file path to wherever the OSBot.jar is located on your computer:

 

@echo off
:: BatchGotAdmin (Run as Admin code starts)
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
:: BatchGotAdmin (Run as Admin code ends)
:: Your codes should start from the following line
java -jar "C:\Users\pesal\Desktop\RS\OSBot 2.6.18.jar"

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...