SRL Archive - SRL Suggestions

Summoning/FindSymbol fix. + Lodestone


Sin

2012-03-26 16:23:35

Found out the problem for Austintheman, it didn't work because of the old/new summ icons.

New Summoning Symbol (The one in Taverly) -
    newSum := BitmapFromString(11, 10, 'meJyTd/eRc/GEIBlnFyCSdnCSsr' +
'OXtLb99v6jnIcnIwMDfhSvgQX1Z/q2RtkAGcgKUg25G0PNKn20FjV' +
'lP793Y9P0FoiCV4/uXju5b1Vvxd2LJ4Hi/2Bgz9IpEAWH1s6DiPSm' +
'ed48cwiuoNhZAaLgx7cvH9+8AIoATYDLTswJTNRihih4cusKRAFQJ' +
'UQW6BK4w4AKIILfPn+EG4LsHbgCoHagmnN7NwJ9l28riawAAKGTlqk=');

if FindBitmapToleranceIn(newSum,x,y,MMX1,MMY1,MMx2,MMY2,5) then
MMouse(x,y,0,0);

//5 tolerance is a must


Lodestone -
Lodestone := BitmapFromString(7, 7, 'meJzb09k0KSgPgvZ0Ni2qzb0yDyRS' +
'YhkMQUA2UBCIfv/5DWQ72tkBSQh7D1jvw8cPgVwgCdEFIYEiEARUD' +
'xfcvXX9y/MHgCTcZCAXyICYCWEDzQQA7QVQBA==');



if FindBitmapToleranceIn(newSum,x,y,MMX1,MMY1,MMx2,MMY2,5) then
MMouse(x,y,0,0);

Old Summ symbol -


oldSum := BitmapFromString(6, 6, 'meJxjZGA4QArojLEFIji7wF51UW0u' +
'EAG5QHZ9fQ0QXdg1fU65N5ALUTx9Qi9QZPfW9QCCJkAn');

if FindBitmapToleranceIn(oldSum,x,y,MMX1,MMY1,MMx2,MMY2,15) then
MMouse(x,y,0,0);

:)

Sin

2012-03-27 21:18:50

Add this in please?

Gucci

2012-03-27 22:29:08

In your Lodestone one you mixed up the if.. then functions:

if FindBitmapToleranceIn(Lodestone, x, y, MMX1, MMY1, MMX2, MMY2, 5) then
// You had newSum instead of Lodestone

Coh3n

2012-03-28 03:01:02

From: Sin
Add this in please?
Sending a pull request will speed things up.

mormonman

2012-03-31 02:07:43

'lodestone':
begin
SymbolBitmap := BitmapFromString(7, 7, 'meJzb09k0KSgPgvZ0Ni2qzb0yDyRS' +
'YhkMQUA2UBCIfv/5DWQ72tkBSQh7D1jvw8cPgVwgCdEFIYEiEARUD' +
'xfcvXX9y/MHgCTcZCAXyICYCWEDzQQA7QVQBA==');
result := 13934210;
end;

Coh3n

2012-04-01 23:19:15

I've added the lodestone symbol for the next version, but you need to be more specific on the summoning symbol you mean. Right now, there's 'summoning obelisk' and 'summoning shop' in the include. This new one you're talking about, do you mean the Summoning Tutor symbol?