Last edited by StickToTheScript; 03-25-2013 at 05:24 PM.
Possibly make your SPS Maps bigger for SPS Walking. Or ODTM's, which Euphamism has a nice guide on here:http://villavu.com/forum/showthread....highlight=odtm
Ah. You could possibly make larger paths, or paths which contain points that are close together.
How long are your paths, and where do you want them to walk to? Most of my paths are very long, here is an example from one of my woodcutting scripts:
Simba Code:Procedure Paths;
begin
//FromBankToSouthtree := [Point(298, 162), Point(294, 162), Point(288, 159), Point(281, 156), Point(277, 156), Point(272, 154), Point(266, 152), Point(262, 151), Point(255, 150), Point(249, 149), Point(242, 149), Point(236, 148), Point(230, 146), Point(225, 144), Point(219, 144), Point(210, 143), Point(205, 143), Point(197, 140), Point(191, 138), Point(186, 136), Point(179, 132), Point(171, 130), Point(166, 129), Point(159, 127), Point(152, 125), Point(148, 123), Point(143, 121), Point(139, 118), Point(135, 116), Point(132, 113), Point(129, 111), Point(128, 110)];
FrombankToSouthTree := [Point(308, 162), Point(304, 162), Point(300, 159), Point(293, 158), Point(281, 157), Point(274, 154), Point(265, 154), Point(252, 154), Point(243, 151), Point(232, 148), Point(219, 146), Point(205, 144), Point(190, 142), Point(176, 136), Point(157, 129), Point(142, 123), Point(135, 115), Point(135, 109)];
FromBankToNorthtree := [Point(247, 227), Point(246, 226), Point(242, 223), Point(240, 221), Point(236, 219), Point(231, 215), Point(227, 213), Point(221, 206), Point(221, 206), Point(218, 202), Point(215, 196), Point(213, 194), Point(212, 189), Point(209, 182), Point(206, 178), Point(202, 174), Point(199, 171), Point(197, 168), Point(190, 164), Point(187, 162), Point(185, 161), Point(180, 158), Point(178, 156), Point(173, 153), Point(171, 150), Point(166, 146), Point(163, 141), Point(161, 137), Point(159, 135), Point(158, 132), Point(156, 127), Point(152, 123), Point(148, 118), Point(143, 114), Point(138, 113), Point(138, 112), Point(137, 106), Point(135, 101), Point(134, 96), Point(133, 91), Point(132, 84), Point(130, 79), Point(129, 75), Point(128, 72), Point(128, 72)];
BetweenSouthTreeToNorthTree := [Point(94, 161), Point(94, 161), Point(95, 157), Point(96, 153), Point(98, 148), Point(99, 144), Point(100, 138), Point(101, 133), Point(102, 128), Point(104, 123), Point(106, 118), Point(107, 112), Point(110, 106), Point(112, 101), Point(113, 96), Point(115, 92), Point(116, 88), Point(119, 82), Point(122, 79), Point(123, 76), Point(124, 73)];
betweenNorthTreeToSouthTree := [Point(124, 74), Point(124, 77), Point(124, 82), Point(122, 87), Point(117, 93), Point(117, 96), Point(113, 102), Point(111, 108), Point(108, 117), Point(107, 125), Point(105, 133), Point(104, 139), Point(102, 146), Point(98, 152), Point(95, 156), Point(95, 158), Point(91, 163), Point(90, 167)];
//TobankfromSouthtree := [Point(128, 110), Point(129, 111), Point(132, 113), Point(135, 116), Point(139, 118), Point(143, 121), Point(148, 123), Point(152, 125), Point(159, 127), Point(166, 129), Point(171, 130), Point(179, 132), Point(186, 136), Point(191, 138), Point(197, 140), Point(205, 143), Point(210, 143), Point(219, 144), Point(225, 144), Point(230, 146), Point(236, 148), Point(242, 149), Point(249, 149), Point(255, 150), Point(262, 151), Point(266, 152), Point(272, 154), Point(277, 156), Point(281, 156), Point(288, 159), Point(294, 162), Point(298, 162)];
ToBankFromSouthTree := [Point(134, 107), Point(135, 117), Point(140, 119), Point(149, 122), Point(163, 130), Point(174, 138), Point(183, 145), Point(195, 148), Point(212, 153), Point(228, 151), Point(245, 153), Point(259, 155), Point(272, 160), Point(288, 164), Point(300, 164)];
tobankfromNorthTree := [Point(123, 73), Point(123, 73), Point(127, 79), Point(129, 83), Point(131, 87), Point(134, 93), Point(135, 97), Point(137, 104), Point(139, 110), Point(141, 115), Point(145, 122), Point(149, 127), Point(152, 131), Point(156, 137), Point(162, 145), Point(167, 151), Point(170, 154), Point(173, 159), Point(178, 166), Point(181, 171), Point(183, 177), Point(189, 186), Point(192, 191), Point(196, 199), Point(196, 200), Point(200, 207), Point(201, 210), Point(204, 213), Point(210, 216), Point(215, 218), Point(219, 221), Point(225, 223), Point(230, 225), Point(237, 226), Point(240, 227), Point(242, 228)];
ToBank := [Point(92, 174), Point(92, 174), Point(93, 171), Point(96, 163), Point(99, 157), Point(101, 151), Point(105, 142), Point(107, 135), Point(111, 124), Point(115, 113), Point(117, 104), Point(118, 96), Point(121, 90), Point(123, 85), Point(128, 77), Point(129, 74), Point(137, 82), Point(141, 88), Point(146, 94), Point(148, 96), Point(150, 99), Point(154, 104), Point(159, 111), Point(164, 118), Point(167, 121), Point(169, 124), Point(171, 127), Point(174, 131), Point(178, 136), Point(181, 140), Point(185, 146), Point(189, 151), Point(192, 156), Point(196, 161), Point(199, 165), Point(202, 169), Point(206, 175), Point(210, 179), Point(213, 183), Point(215, 187), Point(219, 192), Point(223, 198), Point(227, 202), Point(231, 207), Point(232, 209), Point(233, 210), Point(238, 213), Point(242, 216), Point(245, 219), Point(249, 221), Point(251, 222), Point(255, 222), Point(255, 222)];
end;
Well, maybe symbol grabbing on the minimap. Otherwise, Maybe use SPS_GetAreaCoords and see if they match within a tolerance for that map?
SPS_GetMyPos is what I tried I believe, although when I used it it took over a second and was inaccurate, although according to Olly (I think) usually it works fine.![]()
Haven't used SPS_GetAreaCoords before but that could be worth trying. Maybe look in the SPS includes to find out how to use it.
Eh.. I have never used it. The documentation doesn't give an example either.. Maybe @BMWxi knows?
Alrighty. I will see what i can find and edit this post with my results.
Edit: Alright. So i looked at the possibilities, and they are: SPS_GetAreaCoords, SPS_GetMyPos, and SPS_BlindWalk.
I think i could actually use blind walk. lol. Although, i do not know how to use either of the 3. Anybody have examples from other scripts, etc.?
Last edited by StickToTheScript; 03-26-2013 at 03:56 AM.
What is the progress on this script? I would be very interested in it.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
Doesnt mean they didnt complete the script?
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
There are currently 1 users browsing this thread. (0 members and 1 guests)