PDA

View Full Version : warning - chicken suit causes gas



Yakman
04-05-2007, 12:51 PM
ever since the chicken suits come out, if found the number of false positives of gas have risen dramatically,
i was watching my script for a bit last night, almost every time the script tries to mine something, it detects some gas, and tries to avoid it

the problem: my character is wearing a chicken suit

the most used method for checking gas is Piv's GasCheck
the way that works is, first it looks for a color, then uses canvases to check for movement
look at this line

if (FindColorTolerance(xG, yG, 8296866, gx - 20, gy - 20, gx + 20, gy + 20, 20)) then
begin


thats the first line, which checks for a color

if found that the color, 8296866, with tolerance 20, also appears on the chicken suit
iv used scar to highlight every pixel of that color in blue,
http://img329.imageshack.us/img329/7792/chickensuitgasfl1.png

as you can see, there are quite a few pixels of that color on the chicken suit,
this causes pivs gas check to check for movement, which it normally finds because you're always moving about

my advice is dont wear the chicken suit while mining,
or go into SRL\SRL\Skill\Mining.scar, to GasCheck and change the color it searches for.

heres the scar script i used for making the above screenshot

program New;

var
gx,gy:integer;
Canvas:TCanvas;
bmp:integer;
Points:TPointArray;
ClientHandle:integer;
f:integer;

begin
Bmp:=bitmapfromstring(40,40,'');
Canvas:= GetBitmapCanvas(bmp);
ClientHandle:= GetClientWindowHandle;
repeat
GetMousePos(gx,gy);
CopyCanvas(GetClientCanvas,Canvas,gx-20,gy-20,gx+20,gy+20,0,0,40,40);

SetTargetBitmap(bmp);
FindColorsTolerance(Points,8296866,0,0,40,40,20);
if(GetArrayLength(Points) > 0)then
writeln('found '+inttostr(random(9999)));
for f:=0 to GetArrayLength(Points)-1 do
Canvas.pixels[Points[f].x,Points[f].y] := clBlue;
DisplayDebugImgWindow(120,120);
CopyCanvas(Canvas,GetDebugCanvas,0,0,40,40,0,0,120 ,120);
SetClientWindowHandle(ClientHandle);
wait(300);
until(IsFkeydown(2));
end.

Sumilion
04-05-2007, 12:54 PM
No offence yakkie ... but its dead obvious :)

GoF
04-05-2007, 01:28 PM
Well, the title was funny :D

"Chicken suit causes gas" can be understood many ways.

Pentti
04-05-2007, 01:45 PM
Well, the title was funny :D

"Chicken suit causes gas" can be understood many ways.
Ye, lol. :D When I first saw the title, I was like WTF?! :D

But damn, if people are wearing chicken suit when you are mining with script where gas detecting it will cause some problems...

RudeBoiAlex
04-05-2007, 06:19 PM
used sma poweminer last night i also got this problem!!

legendaryhero90
04-08-2007, 01:57 AM
there were a LOT of people yes...

i wished i made fried chicken out of all of them

Mjordan
04-08-2007, 02:06 AM
Lol I like the title. And no offence, but like Sumilion said, it is really obvious that it would cause false gas checks. I guess some people wouldn't know though.

Jason2gs
04-08-2007, 02:45 AM
Hmm... Commence the Chicken-Outfit-Is-Gay rumor!

Anyways, how did you take a debug image thing like that? It happens all the time for me on Fakawi's Gobline Sche., and I'd kinda like to know.

Snowplowman
04-08-2007, 04:24 AM
Well hopefully the fad of wearing the chiken suit will die just like wearing any other holiday event, so hopefully we won't have this continuing problem.

I was having a problem with wizzups ess miner earlier, i couldnt mine more then like 200 ess, then the script would mess up. We'll see what happens :)

Harry
05-13-2007, 12:11 AM
Hmm... Commence the Chicken-Outfit-Is-Gay rumor!

Anyways, how did you take a debug image thing like that? It happens all the time for me on Fakawi's Gobline Sche., and I'd kinda like to know.

The deubug image in Goblin Sched. is the Debug RRW. go to setupsrl.scar and make debug rrw to false to make dubug go away.

IEatJ00erBaybees
05-13-2007, 02:21 AM
If you can't sell the holiday items, it's pointless. There: Nuff said...Although those items would be worthless amongst the thousands of people that have them.

bullzeye95
05-13-2007, 02:27 AM
Ohh man I saw the title, laughed while drinking soda, and it came out my nose :(. Ouch! I hate you! :p

Ok and to say something related to this topic so I don't get banned: Nice find.

Evil_Pker
07-16-2007, 09:56 AM
lol i thought the chicken suit gives off gas!

btw why auto with the chicken suit? why not use the frog token stuff? or monk robes and just tell people that your a def nub =P
that skelly thingo is good :)

cheers

jmark9911
07-17-2007, 04:16 AM
why would you want to wear somthing you can lose while autoing?duh but good point. also a funny one at that!

Here
07-17-2007, 04:21 AM
Umm, gravedigger?

mamoth95
07-17-2007, 04:33 AM
Well this dosent cause a problem for me i personaly hate the chicken suit. And anyways who cares if u lose monks robes or frog token its easy to get. Also the skelly outfit u can get back from the dude in draynor.

n3ss3s
07-18-2007, 05:29 PM
"Chicken suit causes gas" can be understood many ways.
Extremely :D


But damn, if people are wearing chicken suit when you are mining with script where gas detecting it will cause some problems...

MouseSpeed := 7;
MMouse(x, y, 0, 0);
if(not(IsUpText(RockName))) or(not(IsUpText('Walk here')))then
begin
Ignore teh chicken noob;
end;

Solved :D

WinterDream
07-19-2007, 07:52 PM
why would you want to wear somthing you can lose while autoing?duh but good point. also a funny one at that!You can alwace get those items back. You only gota talk with that dude in Draynor.

http://members.chello.nl/winterdreamz3/items.PNG

Haxor
07-26-2007, 09:18 AM
good fined,

haxor

Julza
10-16-2007, 08:25 AM
i love the title

Chicken suit courses gas...

lol

GoF
10-16-2007, 09:23 AM
Isn't thi thread kinda old :rolleyes:

Lacky
10-16-2007, 10:07 AM
Why you would wear the chicken suit at all is below me...lol

Prince Outfit FTW!

red eyes 20
11-24-2007, 07:39 AM
why only were skele, why not go further bck, hat's n 'scarves any one?

lakerzz8
11-24-2007, 08:28 AM
Why gravedig anyone?

Wizzup?
11-24-2007, 10:26 AM
Lots of bumps, you guys should just read the other posts?
Anyway, this does not happen with my gas finder afaik.

JuKKa
11-24-2007, 10:30 AM
I think i also eliminated this in my guildminer.