SRL Archive - Research & Development Lounge

JJ's Great Orb Project - in development again


J J

2015-02-25 10:51:31

Hey! :)
I've been planning to recreate JJ's Great Orb Project for SRL6 and RS3 for a long time. I've finally started scripting again and I will post my progress in this thread. I did the same thing for the original version: old development thread.

I will only work on this script in the weekends and during holidays. Expect it somewhere in the first half of 2015..
Code on Github: https://github.com/JJdeGroot/JJs-Great-Orb-Project


Overview
Red: not started
Orange: in progress
Green: finished

Lobby
  • Detecting a normal wizard
  • Detecting Wizard Acantha
  • Detect Wizard Vief
  • Detecting the portal to start the game

Altars
For each altar I will need to:
  • Extract the minimap
  • Determine altar coordinates
  • Determine portal coordinates
  • Detect altar
  1. Air
  2. Mind
  3. Water
  4. Earth
  5. Fire
  6. Body

Playing the game
  • Detecting the current area
  • Joining a game
  • Going through all portals
  • Walking around
  • Attracting orbs
  • Crafting runes by clicking on the altar
  • Kick detection
  • Failsafes

Report
21/02/2015
Clean installed Simba.
Read through Simplistic Beginners Guide To RS3 Scripting
Script skeleton created

22/02/2015
Managed to determine my position:
1. Created a map of the earth altar
2. Placed it in /RuneScape_Surface/
3.
gop_map: TSPSArea;
gop_map.setup('great_orb_project', 'RuneScape_Other\');
gop_map.GetPlayerPos();
Script does now use multiple simba files

25/02/2015
TAltar type created
type
TAltar = record
name: String;
coords: TBox;
altarColor: TColorData;
end;
Dummy data entered for all altars

Worked on an altar detection function and I wanted to debug the ATPA. This gave me an Access Violation exception that bothered me for a while. Turns out that you need to call smartEnableDrawing := true; before setupSRL(); So that resolved it..

All altar colors have been collected and put in the script.
I've also finished mapping all the altars. I'm missing the GOP lobby though.


26/02/2015
Finished all mapping now. My first map turned out to be inaccurate for the GOP lobby. SPS returned locations in the mind altar, probably because of the larger amount of black space around it. But SPS can now also load bigger maps than 512x512. So I have constructed a 1024x512 map with more spacing and bigger areas.
The map I used for the previous version of the script looks like this.
Colors have changed significantly, mainly due to using OpenGL graphics mode instead of the old Safe mode.

The new map works a lot better, SPS is returning very accurate locations. I have gathered all altar, portal and area coordinates.
with altars[AIR] do
begin
name := 'Air altar';
area := IntToBox(42, 16, 232, 216);
altar := IntToBox(134, 106,146, 122);
portal := IntToBox(122, 134, 130, 142);
altarColor := [8418940, 5, [2, [0.34, 0.10, 0.00]]];
end;
etc.

27/02/2015
- Read through A lot About Lape..
- Inheritance is now properly used to cover all areas (air, water, mind, earth, fire, body, lobby)
- Current area can be detected and works accurately
- Gathered data in the GOP lobby: wizard colors, acantha colors, vief colors.

01/03/2015
- Wizard detection working fairly well.. very good for Acantha, decent for the Wizards, not so good for Vief. I might need to combine multiple colors for him.
- Chosen wizard can be right clicked, and Join can be selected
- End of my holiday, new progress next weekend

22/05/2015
- Wizard colors have been updated
- Methods to go through Wizard Vief & Wizard Acantha their join-interface

26/12/2015
- Altar colors have been updated
- Positioning code has been expanded
- Detecting the current altar, blindwalking to the altar and clicking the altar works pretty decently.

Hoodz

2015-02-25 11:27:56

good luck jj!

Turpinator

2015-02-25 11:30:58

very excited to see this come back. gl. :)

KeepBotting

2015-02-25 11:45:51

It feels so good to see this return. J J is back in the game, boys - and it's gonna be awesome.

I wish you the very best of luck.

cosmasjdz

2015-02-25 11:47:55

Very ambitious and nice.

J J

2015-02-25 14:38:44

From: hoodz
good luck jj!

From: Turpinator
very excited to see this come back. gl. :)

From: KeepBotting
It feels so good to see this return. J J is back in the game, boys - and it's gonna be awesome.

I wish you the very best of luck.

From: cosmasjdz
Very ambitious and nice.

Thanks all :D
I've finished collecting colors for all altars. Plus the map constructed by merging multiple screenshots at each altar together is nearly done. I just need to map out the lobby.

Old

New (missing lobby)

Ross

2015-02-25 14:58:55

edit: nvm.

elaatl

2015-02-26 03:24:06

Wow cant wait for this, Used a orb project script like 2 years ago. Is it still profitable? or just pure for the xp

Lipcot

2015-02-26 09:28:18

nice! i've often asked myself why there wasnt any great orb project script around, its really good money f2p nowadays

J J

2015-02-26 11:38:19

From: Ross
edit: nvm.

Judging from the Skype chat you posted some friendly advice, repost it! :P

From: elaatl
Wow cant wait for this, Used a orb project script like 2 years ago. Is it still profitable? or just pure for the xp

Might have been mine back then. You can only gain money so yes, it is still profitable. Not sure what the rates are nowadays.

From: Lipcot
nice! i've often asked myself why there wasnt any great orb project script around, its really good money f2p nowadays

Well it's pretty hard to make, but it is a very good way to make money. Or at least, it used to be. Especially now with Runespan you can get 50 RC in something like 4 hours. With an army of 4+ bots you can run them all in your own world.

Water talisman seems to be around 12.5k judging from http://services.runescape.com/m=itemdb_rs/Water_talisman/viewitem.ws?obj=1444

In f2p worlds you have 6 altars, you get 100 tokens per win + 150 if you have the most altars so up to 750 tokens a game. So that is 375 on average I'd say (especially if you run your own world). You can do four games an hour = 1500 tokens. That's 30 water talismans, at 12.5k each makes 375k/h

Everything has been mapped out.

J J

2015-02-26 17:03:28

The map above wasn't too accurate for the GOP lobby. SPS returned locations in the mind altar, probably because of the larger amount of black space around it.

But SPS can now also load bigger maps than 512x512. So I have constructed a 1024x512 map with more spacing and bigger areas.

I have also finished gathering all altar, portal and area coordinates.
with altars[AIR] do
begin
name := 'Air altar';
area := IntToBox(42, 16, 232, 216);
altar := IntToBox(134, 106,146, 122);
portal := IntToBox(122, 134, 130, 142);
altarColor := [8418940, 5, [2, [0.34, 0.10, 0.00]]];
end;
etc.

I will be working on the positioning system tomorrow. I want to debug the current area on the screen!

By the way, my code progress can be followed on Github: https://github.com/JJdeGroot/JJs-Great-Orb-Project

thelimevodka

2015-02-27 01:35:31

Good luck with this man, Will be nice when this is finished!

Hitac

2015-03-01 06:53:04

Good luck, really excited with this!

J J

2015-03-01 12:07:34

From: thelimevodka
Good luck with this man, Will be nice when this is finished!

From: srpronto
Good luck, really excited with this!

Thanks guys :stirthepot:

Wizard detection working.. decently. Join option can be selected.

Next is to go through the interface, but I want to improve the detection first. I'll do that next weekend.

Unfortunately GOP itself seems to be near dead. W61 is not active and there is no one in the Minigame world either. There are some friend chats that host games, but the activity is low.. I might need to resort to running an army of my own :stirthepot:

Harrier

2015-03-01 12:12:25

From: J J
Thanks guys :stirthepot:

Wizard detection working.. decently. Join option can be selected.

Next is to go through the interface, but I want to improve the detection first. I'll do that next weekend.

Unfortunately GOP itself seems to be near dead. W61 is not active and there is no one in the Minigame world either. There are some friend chats that host games, but the activity is low.. I might need to resort to running an army of my own :stirthepot:

You might revive GOP with this script!

Hyperion

2015-03-01 13:12:03

This looks neat. I've used a few GOP scripts in my time, but never this one (unfortunately). Will stay tuned to this to catch updates. You got this, man.

Shatterhand

2015-03-07 10:59:52

Always loved your development threads. Good luck again! :)

niekasnieko

2015-03-11 07:49:48

Nice thread JJ, thank you for making it public :) Great orb project has always been one of my favorite minigames and also back in a days it used to be decent money making method too (not sure about nowadays as this minigame is quite dead).

Can't wait to see this script finished and good luck with it! :norris:

J J

2015-03-16 08:50:33

From: Hawker
You might revive GOP with this script!

Yeah… sort of. At least there will be bots playing it!

From: zaboomasimba
This looks neat. I've used a few GOP scripts in my time, but never this one (unfortunately). Will stay tuned to this to catch updates. You got this, man.

Thanks, there was a popular one on Powerbot as well. Due to their rules there could only be on premium script for each minigame/training method. So I couldn't compete.

From: Shatterhand
Always loved your development threads. Good luck again! :)

Thanks :)

From: niekasnieko
Nice thread JJ, thank you for making it public :) Great orb project has always been one of my favorite minigames and also back in a days it used to be decent money making method too (not sure about nowadays as this minigame is quite dead).

Can't wait to see this script finished and good luck with it! :norris:

Thanks for the support :D Yes unfortunately it seems to have died out! But you can run your own team if you have 4 accounts. The money is quite good.

Hyperion

2015-03-16 11:59:11

From: J J
Thanks, there was a popular one on Powerbot as well. Due to their rules there could only be on premium script for each minigame/training method. So I couldn't compete.


I remember it. The script wasn't that bad and at that time, Powerbot was decent. I ran it for weeks and got 150m out of the amount of time I had access to it.
Now that I actually found out about Simba, other than one time way long ago when I heard about Scar, I'm very interested in this.
Again, good luck, man!

J J

2015-03-31 17:58:42

From: zaboomasimba
I remember it. The script wasn't that bad and at that time, Powerbot was decent. I ran it for weeks and got 150m out of the amount of time I had access to it.
Now that I actually found out about Simba, other than one time way long ago when I heard about Scar, I'm very interested in this.
Again, good luck, man!

Nice and thanks! Easter weekend is coming up - I'll have time to make some progress!

J J

2015-04-08 18:22:15

Unfortunately I have to resubmit three assignments for a module (Operating Systems) from last year. Last year you were allowed to hand it in somewhere in week 9 or 10 of the semester. However, this year you need to hand it in the eighth week, on Friday before 5pm..

So that Friday is this Friday, I have spent all of my spare time during Easter working on those assignments.. I'm glad the end is near, and the next two weeks are exam weeks. I have no written exams, I just need to hand in five projects by this Friday. I'm on schedule - and looking forward heaps of spare time!

Hyperion

2015-04-09 23:29:51

From: J J
Unfortunately I have to resubmit three assignments for a module (Operating Systems) from last year. Last year you were allowed to hand it in somewhere in week 9 or 10 of the semester. However, this year you need to hand it in the eighth week, on Friday before 5pm..

So that Friday is this Friday, I have spent all of my spare time during Easter working on those assignments.. I'm glad the end is near, and the next two weeks are exam weeks. I have no written exams, I just need to hand in five projects by this Friday. I'm on schedule - and looking forward heaps of spare time!


Take your time, man. Life comes first, yadda yadda, stuff you've heard so much that you're probably tired of hearing…
As long as ya keep updating the thread, that's all we need.

Alexxzander

2015-04-10 09:01:59

Good luck, mate!
I look forward to seeing your completed script.

J J

2015-05-22 15:57:21

From: Hyperion
Take your time, man. Life comes first, yadda yadda, stuff you've heard so much that you're probably tired of hearing…
As long as ya keep updating the thread, that's all we need.

From: Alexxzander
Good luck, mate!
I look forward to seeing your completed script.

Thanks guys :stirthepot:

22/05/2015
- Wizard colors have been updated
- Methods to go through Wizard Vief & Wizard Acantha their join-interface