SRL Archive - SRL Archives

InGE final fix


JPHamlett

2009-08-20 22:28:34

This one works and its super short


function InGE: Boolean;
var
P: TPoint;
begin
Result := FindColor(P.X, P.Y, 247475, 72, 70, 143, 142);
end;

ian.

2009-08-20 23:39:15

Doesn't work for me.

JPHamlett

2009-08-20 23:46:43

hmm wierd are in the actual menu?


edit i just tried it it works



Successfully compiled (50 ms)
True
Successfully executed
New client targeted
Successfully compiled (49 ms)
True
Successfully executed
New client targeted
Successfully compiled (49 ms)
True
Successfully executed

ian.

2009-08-20 23:52:26

Mhmm. Didn't work for me. 'o.O

Seems pretty obvious.. Use different coords/colors. That will only work if you don't have anything selling/buying in the first slot. >_>


function InGE: Boolean;
begin
Result := GetColor(211, 44) = 39116;
end;

JPHamlett

2009-08-20 23:57:25

run this in the screen


function InGE: Boolean;
var
P: TPoint;
begin
Result := FindColor(P.X, P.Y, 247475, 72, 70, 143, 142);
end;

begin
activateclient;
writeln(booltostr(inge));
end.

thats what i run and it works everytime

ian.

2009-08-21 00:04:28

I know how to run it. :) Haha but if something is being bought/sold, it doesn't work. I just tried it on three different worlds, opening and closing the window every time. :) Mine works.

JPHamlett

2009-08-21 00:07:07

good point ill have it look for a second color hang on

ian.

2009-08-21 00:10:27

Ermm.. I posted a fix. :) Tried in multiple worlds, too.

JPHamlett

2009-08-21 00:25:22

oops sorry didnt see that one lol ya that sould work

NCDS

2009-08-21 00:25:40

From: J_Pizzle
good point ill have it look for a second color hang on


From: ian.
Ermm.. I posted a fix. :) Tried in multiple worlds, too.


There really is no need to continue posting new threads with new fixes. None of them will be added to srl.


The Dev's will fix when they want to…

Naum

2009-08-21 00:34:46

From: NCDS
There really is no need to continue posting new threads with new fixes. None of them will be added to srl.


The Dev's will fix when they want to…


Yeah, it's usually the Author who fixes his things, which in this case is Rasta.

ian.

2009-08-21 00:37:00

:p Actually, I've been getting threads/fixes for EC! and he should be adding them soon. :) So add fixes when you find them, and PM to EC! ^^.

ZephyrsFury

2009-08-21 13:40:09

From: NCDS
There really is no need to continue posting new threads with new fixes. None of them will be added to srl.


The Dev's will fix when they want to…


Well the whole point of this and the Pub SVN forum is for you guys to post suggestions and bug fixes so we really do welcome them. Many of us are too busy to really test and fix everything anyway.

NCDS

2009-08-21 13:55:59

From: ZephyrsFury
Well the whole point of this and the Pub SVN forum is for you guys to post suggestions and bug fixes so we really do welcome them. Many of us are too busy to really test and fix everything anyway.


I more so meant just stop posting fixes for this particular function because there is already 3 or 4 different ones and this is his second.

I know you guys do what you can to help with everything.