SRL Archive - Outdated / Broken

Alotic Botting


JSmooth

2014-07-24 21:27:25

I have read the SMARTv8.3 thread detailing how to use SMART with an rsps, and I have had some issues come up in trying to make it compatible with Alotic. I see that some people here are already using Alotic scripts so any help would be appreciated.

I decompiled the client to get the applet address from the ClientLoader class and came up with:
http: //cs042.soulsplit.com/clientfiles/alotic_loader.php
Is this the correct address that you guys have used for the root/params link? I am a bit unsure because that was encoded with Base64 and I'm not sure why the correct applet link would be encoded in such a manner.

Thanks for the help,
JSmooth

halodon123

2014-08-04 19:39:35

The tutorial section - follow it by the letter and you'll be fine. I was confused in the beginning too!

Brandon

2014-08-04 23:21:29

From: halodon123
The tutorial section - follow it by the letter and you'll be fine. I was confused in the beginning too!


What? Don't mislead him. Judging by the date posted and still no reply, I'd say OP gave up and that was a good idea.

Also doesn't "seem" to be a legally distributed jar file? IANAL but they re-distribute Jagex's jaggl, jagdx, jaclib, jagtheora classes.. :S Maybe legal somehow but I don't know..


Unless OP has a link to the applet being loaded in the webpage, it isn't possible for OP to load "Alotic" in SMART at least.. SMART doesn't download and inspect jars for parameters/flags which is required by this RSPS.. The parameters are set within the applet class itself and not from a web-page.


Shown below:

import com.apple.eawt.Application;
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Image;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
import sun.misc.BASE64Decoder;

public class Loader
extends Applet
{
private static List ICON_IMAGES = new ArrayList();
private static final long serialVersionUID = 1L;
public static Properties properties = new Properties();
public JFrame appletFrame;
public JPanel appletPanel = new JPanel();
public static final String LOBBY_ADDRESS = "";
public static final short SUB_VERSION = 19;
private static final byte[] ICON_DIMENSIONS = { 16, 32 };
private static final String ICON_DATA = "ONE HUGE BASE64 ENCODED IMAGE BUFFER HERE..";

public static void main(String[] paramArrayOfString)
{
try
{
Image localImage = new ImageIcon(new BASE64Decoder().decodeBuffer("ONE HUGE BASE64 ENCODED IMAGE BUFFER HERE..")).getImage();
ICON_IMAGES.add(localImage);
for (int k : ICON_DIMENSIONS) {
ICON_IMAGES.add(localImage.getScaledInstance(k, k, 4));
}
??? = Package.getPackage("com.apple.eawt");
if (??? != null)
{
Application localApplication = Application.getApplication();
if (localApplication != null) {
localApplication.setDockIconImage(localImage);
}
}
}
catch (Exception localException) {}
Loader localLoader = new Loader();
localLoader.doFrame();
}

public void init()
{
loadApplet();
}

void loadApplet()
{
setParms();
drawClient();
}

public void doFrame()
{
setParms();
openFrame();
drawClient();
}

void setParms()
{
properties.put("separate_jvm", "true");
properties.put("cabbase", "g.cab");
properties.put("java_arguments", "-Xmx256m -Xss2m -Dsun.java2d.noddraw=true -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC");
properties.put("colourid", "0");
properties.put("worldid", "1");
properties.put("lobbyid", "1");
properties.put("lobbyaddress", "");
properties.put("demoid", "0");
properties.put("demoaddress", "");
properties.put("modewhere", "0");
properties.put("modewhat", "0");
properties.put("lang", "0");
properties.put("objecttag", "0");
properties.put("js", "1");
properties.put("game", "0");
properties.put("affid", "0");
properties.put("advert", "1");
properties.put("settings", "wwGlrZHF5gJcZl7tf7KSRh0MZLhiU0gI0xDX6DwZ-Qk");
properties.put("country", "0");
properties.put("haveie6", "0");
properties.put("havefirefox", "0");
properties.put("cookieprefix", "");
properties.put("cookiehost", "google.com");
properties.put("cachesubdirid", "0");
properties.put("crashurl", "");
properties.put("unsignedurl", "");
properties.put("sitesettings_member", "1");
properties.put("frombilling", "false");
properties.put("sskey", "");
properties.put("force64mb", "false");
properties.put("worldflags", "8");
}

void openFrame()
{
this.appletFrame = new JFrame("Alotic");
this.appletFrame.setLayout(new BorderLayout());
this.appletPanel.setLayout(new BorderLayout());
this.appletPanel.add(this);
this.appletPanel.setPreferredSize(new Dimension(765, 503));
this.appletFrame.getContentPane().add(this.appletPanel, "Center");
this.appletFrame.setIconImages(ICON_IMAGES);
this.appletFrame.pack();
this.appletFrame.setVisible(true);
this.appletFrame.setDefaultCloseOperation(3);
}

void drawClient()
{
try
{
I.provideLoaderApplet(this);
client localclient = new client();
localclient.init();
localclient.start();
}
catch (Exception localException)
{
localException.printStackTrace();
}
}

public String getParameter(String paramString)
{
return (String)properties.get(paramString);
}

public URL getDocumentBase()
{
return getCodeBase();
}

public URL getCodeBase()
{
try
{
return new URL("http://server.alotic.com");
}
catch (Exception localException)
{
localException.printStackTrace();
}
return null;
}
}