the coords here r same on real rs too
|
Is there A way of getting this?
For example, The base coords of the region?
I know it's been done in RSBot, So how would we get them in our OWN Client/Server?
In my ChangeRegion Class, I want to add
int RegionBaseX
int RegionBaseY
int RegionEndX
int RegionEndY
the coords here r same on real rs too
yes its very easy lol
int j = (int) (absX / 104);
j = absX - (j*104);
first part is needed to get the map region so this gets the X value Y is gotten the same way
that would return a value between 1-103
No, See, I mean, The mapBase, Example:
The start of the loaded map/Region (0,0 with your method), i want them as 3289bla 6897bla
xcoord / 104 = map region x
ycoord / 104 = map region y
that?
I'm not sure would that work?
On my region change, I want to add
int RegionBaseX
int RegionBaseY
int RegionEndX
int RegionEndY
Now, How would I get those???
Any Idea?
depends on what region you want?
lets say your at 3222, 3222 (lummy) and you want the regionX coords you would do this
int mapRegionStartX = (int) (3222 / 104);
int mapRegionEndX = mapRegionStartX+103;
and the y would be the same
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |