Lately i have noticed how challenging colour methods compared to injection or reflection are. I am thinking of switching over to Java now but i want to have your guys opinions about it.
First of all, i know that colour scripts are a lot harder to break for example i have seen scripts on here that haven't needed an overhaul in years! But the thing that draws me to Java is that it has multithreading capabilities something that i don't see near future in simba, injection and the simplicity of scripts. I know injection is available post nuke as i am using it as we speak.
I do love the challenge of pascal scripting but I'm more of a perfectionist, that is where i see Java having the advantage.
What are your opinions about pascal compared to Java injection?
Please don't say injection or reflection no longer exists as ill show you it does.
YoHoJo
2012-02-17 06:12:56
Lots of old and extensive threads about it, you should search them up.
Color is 'harder' and can't do AS MUCH (but almost as much) since we can't do specific tiles/IDs etc.
Injection can do specific tiles/IDs etc so it can possibly be 'perfect'.
Meh, multithreading isn't really even a problem it's cool and useful and all, but we can accomplish lots without it.
Java bots are illegal, yea I know there is like 1 out right now which is relatively new, but Jagex can most likely sue/threaten them like they did to the others and it will vanish.
Next closets thing will be open GL which I know of one (TriBot) in development right now, but there are probably others too.
Edit:
http://villavu.com/forum/showthread.php?t=66637http://villavu.com/forum/showthread.php?t=64068http://villavu.com/forum/showthread.php?t=63384Edit:
http://villavu.com/forum/showthread.php?t=54793
Richard
2012-02-17 07:12:30
I'm confused as to whether or not you are asking us to compare the two languages for making a script, or the two different methods of botting. So I'm going to do both.
Language comparison for scripting:
Personally I'd say that Pascal is easier to learn, after all the language was designed as a learning language. It's a very forgiving language due to it not being case sensitive, and you don't HAVE to put brackets after procedures/functions that don't have any parameters. Equally though Java isn't that difficult. Yes, it's object orientated, but it's really quite simple to pick up. It has the nice advantage of having multithreaded capabilities, which means you can easily call on methods when a certain event occurs, without having to cycle through a loop to check for each occurrence. I'll make a small comment on speed because that's a huge drawback of Java. Because Java is cross platform, it runs an entire virtual machine (the JVM) in order to run. That's why you don't have to compile the code differently for different operating systems. Because of this, it's not the fastest language out there, but it is getting quicker with each JVM update. Pascal is nice and quick, BUT running the scripts in Simba isn't as fast as running them as precompiled code (making an edge detection algorithm directly in Simba taught me this, taking over a minute to complete…).
Comparison of botting methods:
Injection is very effective as we know, it reads all information about the client, which includes settings about the player that normally a legitimate player would only be able to remember, and in color it would be impossible to determine these things without examining objects and changing tabs etc. (for example, you can read the XP in any skill without having to change tabs, and you can tell how much essence there is in your pouches, even if they are in your bank (although this does take a fair amount of working out)). It also means you can get definite coordinates for objects, NPC, inventory items, tiles (both main screen and minimap), ground items, just about anything. Not only this, but they only have to be identified by a simple ID, rather than having to read combinations of colours to work out what an item is.
However, this all seems very good, but it has its drawbacks. First and foremost, it's illegal, and to be honest, I wouldn't like the threat of being sued for 7 figures hanging over me. It's broken very often, after every single update the hooks change, which is a far greater task to sort out than it used to be, whilst colour takes far more to be broken, with interface changes and what not, and these are usually pretty quick to repair. It's also quite complicated to make in the first place. Hacking into the client and all that. There's also the reputation that Java bots seem to possess. They attract people who feel they DESERVE bots, and get incredibly angry when their FREE product isn't available to them (look at some of the rage on the powerbot update thread). This is a little bit generalistic though, TriBot was a very successful and quiet bot, most of the users were very nice, and the bot worked very well. On top of all this, colour botting can never be stopped unless they take away the entire screen aspect of Runescape (I bet everyone would love playing that).
Now, how about something that brings these benefits together? OpenGL botting (I believe) would be completely legal. Intercepting the graphics information sent to the graphics card isn't accessing or changing Jagex code in any way shape or form. It still brings the benefit of finding things by IDs, but you don't have to acquire any hooks to do so, which means that, like colour, it will work after updates. The only way to break it is to alter a model on screen, which would also break colour. The only downside of OpenGL is that it only deals with visuals, so you wouldn't be able to grab XP or other settings without having to interact with the client.
So… TL;DR: they both have their benefits and drawbacks :)