SRL Archive - OSR Help

World Hopping


Ilya

2013-01-30 13:52:08

Hello fellow Simba-ers,
Just recently I have achieved 85 mining, and now am interested in writing a Mining Guild Resource Dungeon runite miner and hopper. I believe I have enough knowledge to get the mining/walking/banking down, however the world hopping has me stumped.
Ideas, suggestions, remarks?

Silentcore

2013-01-30 13:58:25

Have you heard about the world hopping function that we have… I would post it here but I'm on my phone..

Gucci

2013-01-30 13:59:24

Well first it's going to need to exit to lobby and then go through a random world choosing process.

Here is some example code:

procedure Hop;
begin
if Length(GetMinimapDotsIn('player', MMX1, MMY1, MMX2, MMY2)) >= 4 then // My condition for when to hop
begin
ExitToLobby; // Exit's to lobby
OpenWorldScreen; // Opens the world choosing screen
SelectWorld(RandomWorld(True, False)); //Selects a random world that is members but not PVP
end;
end;

Ilya

2013-01-30 14:10:42

Excellent, Thank you very much.

Gucci

2013-01-30 14:18:04

From: Ilya
Excellent, Thank you very much.


No problem man :)

Ilya

2013-01-30 16:00:12

i've been looking at some outdated scripts and saw that i will likely have to set a home position where it can see all 3 rocks. Any advice?

WT-Fakawi

2013-01-30 16:05:11

From: Ilya
i've been looking at some outdated scripts and saw that i will likely have to set a home position where it can see all 3 rocks. Any advice?


A usually grab the minimap rockcolor each time I hop worlds, and assemble a DDTm from the rocks on the minimap.