Jump to content

Client stuck on update ?


BalanceDruid

Recommended Posts

1 hour ago, Gunman said:

If you have an anti virus try disabling it

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

Link to comment
Share on other sites

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 😁

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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"

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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