Legacy Union Bots

Forum for alternative clients, mods & discussions on the same.

Legacy Union Bots

Postby gohik » Mon May 16, 2016 5:04 pm

Hi guys.
I have one problem with jMyCoords()
i tried to make a waypoint array for my lake
i made bot that wait until boat will move
then write to console jMyCoords()
i made waypoints array
then i tried to jAbsClick() on this points
but it clicks wrong
i restarted client and saw that jMyCoords returns different results each time when i restart client
jMyCoords returns ~ (+-million, +-million) (one tile = 11 jMyCoords() coords)
as well as i know world size is 340 * 340 grind
grid = 100 * 100 tiles
How did this method returns millions?
gohik
 
Posts: 9
Joined: Thu Jul 11, 2013 11:10 am

Re: Legacy Union Bots

Postby Fierce_Deity » Mon May 16, 2016 5:18 pm

First of all, this isn't the right place for this post. Also I don't think thats how coordinates work in this game. Also if those values you listed for the grid size and whatnot then how do you not understand that there are millions of tiles in the world? 340^2 *100^2 is a big number ya know.
Fierce_Deity
 
Posts: 783
Joined: Thu Feb 12, 2015 4:11 pm

Re: Legacy Union Bots

Postby APXEOLOG » Mon May 16, 2016 5:36 pm

gohik wrote:i restarted client and saw that jMyCoords returns different results each time when i restart client

That's true. Don't rely on world coordinates. Instead use some object as anchor. For example you can use your HF as start position and store offsets from it
W10 Meme Plot | W9 Mantis Garden | W8 Core | W7 Ofir | W6 the City of Dis | W5 Vitterstad | W4 A.D. | W3 Mirniy
jorb wrote:All your characters will be deleted, and I will level every village any one of them were ever members of.
User avatar
APXEOLOG
 
Posts: 1296
Joined: Fri Apr 23, 2010 7:58 am
Location: Somewhere on Earth

Re: Legacy Union Bots

Postby gohik » Mon May 16, 2016 5:57 pm

APXEOLOG wrote:
gohik wrote:i restarted client and saw that jMyCoords returns different results each time when i restart client

That's true. Don't rely on world coordinates. Instead use some object as anchor. For example you can use your HF as start position and store offsets from it

Check your mail please.
gohik
 
Posts: 9
Joined: Thu Jul 11, 2013 11:10 am


Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 74 guests