Go Back   Gaming Gutter > Online Gaming > Runescape > Runescape guides


Runescape guides - Runescape guides

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Kyo answers your...
08-30-2008 03:36 PM
by Kyo
Last post by Fewmitz
Today 03:00 PM
122 Replies, 123 Views
Go to first new post HEY LOOK
Today 02:51 PM
by Fewmitz
Last post by Li-Shun
Today 02:54 PM
1 Replies, 2 Views
Go to first new post Selling Pets (bd, uc...)
Yesterday 12:13 AM
Last post by michaelvdhout
Today 02:50 PM
10 Replies, 11 Views
Go to first new post need mm for nps transfer
Today 11:22 AM
Last post by Hodizzle
Today 02:40 PM
4 Replies, 5 Views
Go to first new post S> 5pets and 3mil NP
Today 10:38 AM
by SoC
Last post by NeoRetired
Today 02:36 PM
2 Replies, 3 Views
Reply
 
LinkBack Thread Tools Display Modes

 Runescape Bots: A conceptual bot development guide.
Old 01-13-2008, 06:20 PM   #1 (permalink)
Arboreal_Spirit Arboreal_Spirit is offline Gender Male
Junior Member
 
Arboreal_Spirit is offline
Join Date: Aug 2007
Posts: 27
iTrader: 0 / 0%
Arboreal_Spirit Is gaining popularity
Rep Power: 4
Runescape Bots: A conceptual bot development guide.

There are a variety of techniques one can use to bot an application. These techniques range from making a mouse macro to designing a program that sends requests directly to a server simulating human interaction. The document below discusses a very powerful type of bot usually referred to as a Bytecode Bot.

What can you do with a Bytecode Bot?
You can examine the client at runtime and evaluate where things such as trees, NPC's, etc are currently on the field. Things such as combat HP (This used to be possible but it's now a 1:30 ratio) can also be revealed. All of this alone (without botting) gives you extreme advantages over other players. You can respond to events that you may not visibly be aware of yet. It enables deadly accurate mouse clicks as you have the exact coordinates of everything. You can respond to players chatting, random events, and so much more. It's all up to your imagination.


Bytecode bots are a type of bot that have the power to remain undetectable, while still providing a powerful AI backend to simulate human action. The basic idea behind them for Runescape is as follows:

1.) Examine a decompiled version of Runescape, whether it be deobfuscated (meaning it's barely readable) or a bytecode interpretation using javap -c -private from the command line.
2.) Find a field and/or method of interest and trace the code to see how it works in relation to the client.
3.) Find a powerful pattern in the code that allows you to provide a meaningful link into the client for you and your Bot to use later on. This is important, and will be discussed a little later.
4.) Take the patterns that you find and make "hooks" for them directly into the Runescape client using the BCEL API (Or an API with similar features such as ASM.)
5.) Design a loader that loads up the Runescape Client and tricks it into thinking that it's running as an Applet (If that is not the case.) so that you are in the same JVM as the Runescape Client.
6.) Test out your "hooks" by printing them to standard output, painting to the screen, or using them in a scriptable environment.

Using a Bytecode Bot, it is possible to simulate Mouse Events without ever having to use an actual mouse. This is accomplished by dispatching events directly to Runescape's Mouse Event Handlers. The exact same is true for Key Events. By working on the level of code, it's possible to come up with an algorithm that simulates human action virtually flawlessly. This is an important aspect of Bytecode Bots.

More on Step 3 -
The Runescape client is obfuscated using a custom form of ZKM, therefore various names within the client are scrambled beyond human recognition. Class names such as Player or NPC are, for example, converted to zz and ab. This becomes extremely problematic in the fact that Runescape updates these randomly scrambled names (among other things) each major update. But, where there's a will there's a way. By finding certain things that are unlikely to change between updates, it is possible to have "hooks" survive the update without human intervention. This is usually accomplished via what is called an "Updater." The Updater finds landmark patterns within the client and will try to automatically "hook" them for access later on.


This is a rough guide/tutorial that probably won't help anyone but I have nothing else to do at the moment and thought it wouldn't hurt to do some writing. I hope you enjoyed it, and who knows? Maybe you will have found a use for it. I'm in the process of writing a book that details the entire process from start to finish (quite a task) Hopefully you'll hear about it in the future. In the meantime, I may post some more things about the subject, but other than that you'll just have to wait. If you made it this far, then Thank you for your Time. =)

Last edited by Arboreal_Spirit; 01-13-2008 at 06:39 PM.
  Reply With Quote

 
Old 01-15-2008, 03:36 PM   #2 (permalink)
Universal Universal is offline Gender Male
Tr3v0rs B1tch
 
Universal's Avatar
 
Universal is offline
Join Date: Dec 2006
Location: Washington
Age: 15
Posts: 1,214
iTrader: 2 / 100%
Universal Is Recognizable
Rep Power: 7
.... Engrish?
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 03:19 PM.


vBulletin skin developed by: eXtremepixels
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.09502006 seconds (100.00% PHP - 0% MySQL) with 19 queries