SRL Archive - General Botting Help

[Mac] Problem with Java/SMART


Grace_Marx

2014-09-22 07:13:09

Hello everyone.

I am currently using a Mac operating system running OSX 10.8.5. I have followed the "Simba/Smart on Mac OS!" guide by "jakeyboy29" to a tee (unable to post url link due to forum post count). I realise this is an old guide but I was hoping to use it as a platform to start from.

I have installed Wine & Winebottler and have been able to use them fine to install Simba and Java 7 for Windows offline.
I originally installed Java 7 (through Wine) to a custom location in my Mac Applications folder rather than the standard location from the Setup Wizard (C:\Program Files\Java\jre7). I tried to run the Simba code to launch SMART:

program new;
{$DEFINE SMART} // comment this line out if you don't want to use SMART
{$i srl-6/srl.simba}

begin
clearDebug();
setupSRL();
end.


The result:

– setupSRL()
—- Setting up SRL…
—-initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found no free clients to pair to
—— smartPairToExistingClient(): result = false
—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- ERROR: Failed To Find Path: C:\Program Files\Java
———- WARNING: Failed to find your Java path
———- HINT: If RS is failing to switch to OpenGL mode, add JRE to your systems path before JDK (if you have JDK)
——– getJavaPath()
——– Using parameters httpsworld108.runescape[dot]com/, f475602246127332]
——– Using plugins "OpenGL32.dll"
——– FATAL ERROR: Failed to spawn a SMART client
Successfully executed.


I thought the problem was the custom location of the Java client I had selected. I reinstalled Java to C:\Program Files\Java\ and received the same error.

Things I tried:
  • Changing install locations of Java for windows
  • Reinstalling Wine and Winebottler in an attempt to start Java from scratch
  • Attempted to install JDK but had some trouble (I don't think it would really make a difference)
  • Tried running the code without using SMART (through the browser) but I am unable to because I cannot use the Simba crosshairs to navigate to any client away from Wine
  • Restarting Simba and my computer

At this point I wondered whether Java was actually working through Wine… I then realised that I didn't have the actual Windows Runescape client on my Mac (only the Mac version) to test this on… I tried installing the client but for some reason it is unable to run (it does not generate any error messages, just won't do anything).

I then installed Firefox (for Windows) through Winebottler and navigated to runescape[dot]com in an attempt to use the browser to play. It said I needed to install Java… The link that it generated to install gave is different to the java I installed (I'm assuming it is the online version).

I attempted to install the link using Wine again and the setup Wizard gave me the error:
There was an error downloading Java to your machine.
There may be a proxy, firewall, or other network issues causing an HTTP Error 403


At this point I am stuck…

The problem seems to be around Java running in Wine. I have tried both versions of running Java:
  • Running directly in /Users/[Local folder]
  • Convert to simple OS X Application bundle with Winebottler
to no effect.

Any help anyone can give me would be great. I would love to hear from anyone that is running SMART on a Mac as there doesn't appear to be many from my searches on the forums.

Thanks for your help in advance

Edit: I realise now that this may be in the wrong section on the forums. I apologise - as I am unsure where the problem is originating I was unsure where to post it

fallacysnow

2014-09-28 01:38:35

Bullocks. I've tried three scripts, two different writers. Whatever I figured out cannot be used by scripts, they just sit there waiting for client to be ready. And it is laggy as hell




From: Grace_Marx
Hello everyone.


Thanks for your help in advance

Edit: I realise now that this may be in the wrong section on the forums. I apologise - as I am unsure where the problem is originating I was unsure where to post it


I Solved it!!! will edit in steps now. Just gonna take a minute to retrace all my steps.

1) Followed all steps here: https://villavu.com/forum/showthread.php?t=69693
2) Install the SimbaInstaller.exe and THEN use WineBOTTLER to install "Simba.exe" with options-> "This is the actual program, copy it and all files that are in the same folder." (3rd one with no other options changed)
3) Do the steps to update SRL/SPS etc.
4) Open Finder. Search "winebottler" choose search "This Mac", click + on right, dropdown for "Kind>System Files", change aren't included to are included.
-This will find you folders named "winebottler" you MIGHT have numerous of them if you installed many things with winebottler.
5) Open ALL "winebottler" folder (hold shift and click on each, right click after and choose open in new tabs)
6) Skim through tab by tab until you find one with simba.exe STOP HERE.
7) Press command+arrow up ONE TIME
8) Open "Program Files"
9) Move/install the offline Java into this location
10) Find your file "jagex_cl_runescape_LIVE.dat" in your mac os folder just the "yourname" folder normally on bottom left of the list…
11) Go back to the winbottler folder, go UP from the program file, open users and open you again. put "jagex_cl_runescape_LIVE.dat" here.
-(this should bypass the crash problem with SMART. then open smart using your first code above and edit the graphics settings and all)

PRESTO!!!!! O.O
(this works because it is actually file C:\Program Files\Java INSIDE the Wine for Simba… thus creating the file path SMART wants)
If you know an easier way to search for the file location or CANNOT find reply. I'll be watching my account replies closely.

Grace_Marx

2014-09-30 01:40:54

From: fallacysnow

PRESTO!!!!! O.O
(this works because it is actually file C:\Program Files\Java INSIDE the Wine for Simba… thus creating the file path SMART wants)
If you know an easier way to search for the file location or CANNOT find reply. I'll be watching my account replies closely.


Unfortunately I still can't get it working. Maybe it is something to do with my computer specs… I don't know. Thank you for your response regardless! Just so I can clarify: do you actually have Simba up and running scripts on a native Mac operating system through Wine right now?