SRL Archive - NOTA

Using the Dev Command Interface


TRiLeZ

2010-11-15 03:07:41

I'm just gonna post some interesting stuffz.


Shuttleu

2010-11-15 04:17:00

errrrr….. whats that? :confused:
are you a jagex mod or something, or have you made a program to debug models and stuff?

~shut

TRiLeZ

2010-11-15 04:24:20

I made myself admin (client-side). :p Then I used the "w2debug 2" command. :p

Use this TRiBot script to make youself admin (client-side):

package scripts;

import java.awt.Graphics;
import java.lang.reflect.Field;

import org.tribot.loader.Client;
import org.tribot.script.Script;
import org.tribot.script.ScriptManifest;

@ScriptManifest(authors = { "TRiLeZ" }, name = "Script Skeleton", category = "Skeleton")
public class ScriptSkeleton extends Script {

public ScriptSkeleton(Client bot) {
super(bot);
}

public void onPause() {

}

public void onResume() {

}

public void onBreakStart() {

}

public void onBreakEnd() {

}

public void onEnd() {

}

public void onPaint(Graphics g) {

}

public void test() {
try {
Class<?> theClass = this.bot.classLoader.loadClass("ah");
Field theField = theClass.getDeclaredField("J");
theField.setAccessible(true);
theField.set(null, 2);

theClass = null;
theField = null;

} catch (Exception e) {
}
}

public void run() {
test();
}

}

Then, you can use developer commands. :D

Shuttleu

2010-11-15 04:29:08

From: TRiLeZ
I made myself admin (client-side). :p Then I used the "w2debug 2" command. :p

Use this TRiBot script to make youself admin (client-side):

package scripts;

import java.awt.Graphics;
import java.lang.reflect.Field;

import org.tribot.loader.Client;
import org.tribot.script.Script;
import org.tribot.script.ScriptManifest;

@ScriptManifest(authors = { "TRiLeZ" }, name = "Script Skeleton", category = "Skeleton")
public class ScriptSkeleton extends Script {

public ScriptSkeleton(Client bot) {
super(bot);
}

public void onPause() {

}

public void onResume() {

}

public void onBreakStart() {

}

public void onBreakEnd() {

}

public void onEnd() {

}

public void onPaint(Graphics g) {

}

public void test() {
try {
Class<?> theClass = this.bot.classLoader.loadClass("ah");
Field theField = theClass.getDeclaredField("J");
theField.setAccessible(true);
theField.set(null, 2);

theClass = null;
theField = null;

} catch (Exception e) {
}
}

public void run() {
test();
}

}

Then, you can use developer commands. :D


oic, nice, is it traceable by jagex?

~shut

TRiLeZ

2010-11-15 04:42:06

From: Shuttleu
oic, nice, is it traceable by jagex?

~shut


Probably is.

Bonfield

2010-11-15 05:24:14

What can actually be done with this?

Good job finding this though trilez

Shuttleu

2010-11-15 05:24:40

didnt work :(

[10:23:11] Script Skeleton: Script Started: Script Skeleton
[10:23:12] Script Skeleton: Script Ended: Script Skeleton


and there is no difference in the console

~shut

Method

2010-11-15 09:37:11

From: Shuttleu
didnt work :(



and there is no difference in the console

~shut


As far as I know, there shouldn't be any change in the console itself when you run the script. You'll just have access to more commands.