SRL Archive - Discussions and Debates

Radial Walk


Wanted

2007-11-08 19:14:27

Ok, some of you may of noticed, Radial Walking is a little bit messed up right now for a couple of reasons:

  1. Yakman's Radial Walking Aid is missing from SRL.
  2. After the update, the Mini-Map centre points have changed.
  3. As a result of the change previous versions of Radial Walking Aid and the actual function are not working properly.

I am also confused about which Radial Walking Function to use considering there has been posts made by various people for a replacement.

This tool was and still is essential for a lot of walking purposes, if we could fix this function up and the tools we needed to use it with accuracy again or even improve it that'd be great :)

Edit: Fixed everything, see post 4.

Harry

2007-11-10 15:38:51

Yeah, I noticed this too :| And I had to write walking today ^o) :(

the scar noob

2007-11-10 16:03:44

Oh, to be honestly I didn't really thought it was broken, I have to admit, that wizzup?'s VEM sometimes get stuck at walking, so it could be of that.

Also, I didn't knew that the minimap centre points are changed :s

However, I agree that we all have to fix this, because RRW/Rw is a great walking way!

-Tsn.

Wanted

2007-11-10 16:35:37

Alright, I've done some very very careful work and I've found a couple of things

First of all some of the global variables are off, here are my notes

{ const MMX1, MMY1, MMX2, MMY2;
Description: MiniMap Edge Points. }
const
MMX1 = 570;
MMY1 = 5; //I think this should be 9 - IceFire908 Nov. 10, 2007.
MMX2 = 715; //I think this should be 714 - IceFire908 Nov. 10, 2007.
MMY2 = 160; //I think this should be 159 - IceFire908 Nov. 10, 2007.

{ const MMCX, MMCY;
Description: MiniMap Centre Point. }
const
MMCX = 643;
MMCY = 84; //I think this should be 83 - IceFire908 Nov. 10, 2007.

{ const MSX1, MSY1, MSX2, MSY2;
Description: Main Screen EdgePoints. }
const
MSX1 = 1; //I think this should be 4 - IceFire908 Nov. 10, 2007.
MSY1 = 1; //I think this should be 4 - IceFire908 Nov. 10, 2007.
MSX2 = 516; //I think this should be 515 - IceFire908 Nov. 10, 2007.
MSY2 = 338; //I think this should be 337 - IceFire908 Nov. 10, 2007.

Second of all, the actual Function RadialRoadWalk and others that are similar are having an error because of where the centre of the Mini-Map is, for instance RadialRoadWalk is searching with the center of the Mini-Map off a couple of pixels

  x1 := Round(Radius * Sine(i)) + 646;
y1 := Round(-Radius * Cose(i)) + 84;

Those should numbers on the end : 646 and 84 should be changed to my suggested notes above on global variable changes which should eventually just be set to MMCX and MMCY.

Lastly, the tool we used for using RRW (Radial Walking Aid by Yakman) had a few problems I fixed as well and I attached a copy of a fixed version to the bottom of this thread.

Here is what is changed in the Walking aid:

all of these constants from their original values to the current ones:

//constants, dont change these unless RS updates
const
FormX = 190; //where to copy to the form
FormY = 92;

const
ClientX = 570; //where to copy from the clint
ClientY = 9;

const
Height = 151; //dimentions
Width = 145;

const
CenterX = 263; //center of the form image
CenterY = 166;

and the blank map picture has been changed to the following:

bmpBlank_Map:= BitmapFromString(145, 151, 'beNrtnb2PHEU' +
'QxXdzBMK5ZTtwZskBCSKyhJyYCF1AhHDgCEECAUhEJkJCSGTOcICQ' +
'kMiA0CkBCf8SNG5f3bv6mpo9707P3Gu1Tufz7Mx0/eZVVVf37u73X' +
'3760ZOPP2j9wXvv3L5z6/69u60/PnvY+ttvvdH6o/ffzfv+cjt79K' +
'B3dVg7f//ZriK9H9Z+tsvJH/s9JB3PIH031W7fvOG+0Hb3Wu0O5W7' +
'xYBmg/C/29io0TjfpFfs3X3zSqLUuxhRqckwFlrpVhaydHGG1/+0E' +
'xQ6Rrfovu+O3NsyEndDpFPqIkJ08kMpEYg31YF8F2bdfP2nUWv/sy' +
'YdIDYVmqUWwLFYLSwbSkYllDtPO6dl1ZDIEBU5Rs0/yAeDkyP6q75' +
'9+3qk1oTVq/a6se2y93UziA11ZIaz+z/6U9p64pt0AzbLDR0tG0T2' +
'GHal9eg8Atzet/bEh670LDT2S3JU6iZIVwhJSOAp1/zmv3XjNZSfU' +
'1IOqwFnRXd1bPvvhq46saa2nIj1MIzKJobmsrLhUIB5fWdM5jHfnX' +
'WvYFTXFziYqCO7SyW/eULzaXxqyTq27xyY0F5nkCW63yhJeeIY1Mi' +
'qyU4ayAc7NTyLRXUp7Go7L/ednT0VoPaIJMqGG0TYiZWGhJPW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VkHLrlu0+2xhbLyoOXzUONeSFlq/AkuFXeE2yQ14uuOISdoVafR' +
'aAgx2BmuI1mW/n+qrb0C6gKIm51Oz2xQOuOGvmjpcWZAtSQ2t0ZHU' +
'3WHeGk8iEBWLa7/eITH1kwcHUcPEUhxCRwqjaXYrc7VK8+tXlZmzc' +
'dxlNbmObywuR7c/bK15Qh8Gnfe7VbU6lVuUULBS4K/ZlkVVuUs25V' +
'HJ4WBRDdSMv7RiBmjv/rVy6WOdEyVut4QHLIqvcZGXtYy4vRKDEpZ' +
'Cp5wfDyqw9dZi9q53hKLRo5q5qMqevSrkfX+PObd2whXOBWRsR3QD' +
'qwoqSkOiNS3aXiLtF3CZLLrioFLOI0ASZfZbUDUfr+BLHK3HN8lLp' +
'RMRL/V2ZLlrLS7YcRItls+qfiyPLq+VJTojT7Xz7jeWlIqmLbA9NB' +
'TU1KYjARQXS5CGMqLnITkZNDTxBVhxaUp2Liht4A1EI25uGrNW8YL' +
'JOogaYL3AraspWGElPQE3lzDKDtu/Oq4/ITeGSSlQzftErRsjcqZx' +
'blkwmLBG7qPifLwwde+Kc3MOssWDNJLGVpVDxilHqiE41T1TqBNX8' +
'xSaQdlqK9jkGNSzUuxsFLbtkFJOMFC+rl9wrJtm+mn1E1OrgXHZuC' +
'EsWAY/xJkR892u0DugGtYNJ/d9v3th7zQYyBHRxWANkuuCwleRew2' +
'ndUlPRZ5bnLKZhr9FD4p27xdu5i4BJR8tkLMDg6jAk69rZfmyIS81' +
'mJt2HF9lZjpPIXtdiqBpgEdncQSlruHUMJTEcoBzsilEEKypTeY7y' +
'jQmUuY5CisDJ/NQuLF6Rmr1nd+deVBqd5UyU/aPczxrcdZ77/wDHI' +
'/CI');

Enjoy,

-IceFire908.

the scar noob

2007-11-10 16:42:05

From: IceFire908
Alright, I've done some very very careful work and I've found a couple of things

First of all some of the global variables are off, here are my notes

{ const MMX1, MMY1, MMX2, MMY2;
Description: MiniMap Edge Points. }
const
MMX1 = 570;
MMY1 = 5; //I think this should be 9 - IceFire908 Nov. 10, 2007.
MMX2 = 715; //I think this should be 714 - IceFire908 Nov. 10, 2007.
MMY2 = 160; //I think this should be 159 - IceFire908 Nov. 10, 2007.

{ const MMCX, MMCY;
Description: MiniMap Centre Point. }
const
MMCX = 643;
MMCY = 84; //I think this should be 83 - IceFire908 Nov. 10, 2007.

{ const MSX1, MSY1, MSX2, MSY2;
Description: Main Screen EdgePoints. }
const
MSX1 = 1; //I think this should be 4 - IceFire908 Nov. 10, 2007.
MSY1 = 1; //I think this should be 4 - IceFire908 Nov. 10, 2007.
MSX2 = 516; //I think this should be 515 - IceFire908 Nov. 10, 2007.
MSY2 = 338; //I think this should be 337 - IceFire908 Nov. 10, 2007.

Second of all, the actual Function RadialRoadWalk and others that are similar are having an error because of where the centre of the Mini-Map is, for instance RadialRoadWalk is searching with the center of the Mini-Map off a couple of pixels

  x1 := Round(Radius * Sine(i)) + 646;
y1 := Round(-Radius * Cose(i)) + 84;

Those should numbers on the end : 646 and 84 should be changed to my suggested notes above on global variable changes which should eventually just be set to MMCX and MMCY.

Lastly, the tool we used for using RRW (Radial Walking Aid by Yakman) had a few problems I fixed as well and I attached a copy of a fixed version to the bottom of this thread.

Here is what is changed in the Walking aid:

all of these constants from their original values to the current ones:

//constants, dont change these unless RS updates
const
FormX = 190; //where to copy to the form
FormY = 92;

const
ClientX = 570; //where to copy from the clint
ClientY = 9;

const
Height = 151; //dimentions
Width = 145;

const
CenterX = 263; //center of the form image
CenterY = 166;

and the blank map picture has been changed to the following:

bmpBlank_Map:= BitmapFromString(145, 151, 'beNrtnb2PHEU' +
'QxXdzBMK5ZTtwZskBCSKyhJyYCF1AhHDgCEECAUhEJkJCSGTOcICQ' +
'kMiA0CkBCf8SNG5f3bv6mpo9707P3Gu1Tufz7Mx0/eZVVVf37u73X' +
'3760ZOPP2j9wXvv3L5z6/69u60/PnvY+ttvvdH6o/ffzfv+cjt79K' +
'B3dVg7f//ZriK9H9Z+tsvJH/s9JB3PIH031W7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WDNJLGVpVDxilHqiE41T1TqBNX8' +
'xSaQdlqK9jkGNSzUuxsFLbtkFJOMFC+rl9wrJtm+mn1E1OrgXHZuC' +
'EsWAY/xJkR892u0DugGtYNJ/d9v3th7zQYyBHRxWANkuuCwleRew2' +
'ndUlPRZ5bnLKZhr9FD4p27xdu5i4BJR8tkLMDg6jAk69rZfmyIS81' +
'mJt2HF9lZjpPIXtdiqBpgEdncQSlruHUMJTEcoBzsilEEKypTeY7y' +
'jQmUuY5CisDJ/NQuLF6Rmr1nd+deVBqd5UyU/aPczxrcdZ77/wDHI' +
'/CI');

Enjoy,

-IceFire908.


Nice finding these bugs, nice work man;)

I'm planning to leave so I can't test them now, it seems that it are little differences besides the MSX1 and MSY1, but yes, that could be the problem.

-Tsn.

The Claw

2007-11-11 08:05:07

Did you screenshot the rs screen and copy into paint? Paints co-ords are 3, 3 too high, thats why you probably think theyre wrong in srl.

Wanted

2007-11-17 13:42:52

From: The Claw
Did you screenshot the rs screen and copy into paint? Paints co-ords are 3, 3 too high, thats why you probably think theyre wrong in srl.


No, think about it, there's no need to search in a part of the screen that doesn't change.