osunateosu
2012-03-05 18:32:56
For my script I was considering making one that can mine rune in the heroes guild and hop worlds to get more. The biggest issue I see with this would be the world hopping, so I'm asking the question is it very hard to set up a script that will hop worlds? I'm a beginner at scripting and right now am just trying to absorb as much new information as I can, any advice is much appreciated!
osunateosu
2012-03-05 18:51:07
Thank you Hobbit, sorry about posting in the wrong section!
if not findore(x,y,ssds,asdada,[234242]) then
begin
Logout;
SelectWorld(World);
LoginPlayer;
end;
osunateosu
2012-03-05 19:00:58
Thank you very much Sin!
Quick question, is there a way to have it randomly select the worlds in there? I guess the best way would be to have it calculate which world its already been too and set a 10 minute timer, but I'm not ready to get into that much detail, I think it would be nice if I could just have it select a random world in the login and check that one.
You'll have to add the current world to an array, and make it not choose a world in the array lol.
Nebula
2012-03-05 19:05:11
If you wanted it to choose a random world, you could just do something like this:
procedure hopworld;
var
world: Integer
begin
world := RandomRange(1, 100);
Logout;
SelectWorld(World);
LoginPlayer;
end;
osunateosu
2012-03-05 20:38:16
Thank you! I was told the truth about everyone be really helpful!