PDA

View Full Version : BoxBitmap Changed



WT-Fakawi
07-25-2007, 12:48 PM
Box not working is confirmed!

They messed with the boxcolors. Try replacing the original Bitmap with the one below in line 144 in Box.scar (OpenBox)

BoxBmp := BitmapFromString2(False, 'a3B5AC78DAED95E10A852' +
'00C855F69E936E7CFB47CFF47BA9BC6C5CB2D90EA4F10832F 39AB' +
'73524401004A564012858F364672C6C5E4A9368967254FA6B 3013' +
'8AE4A27685DB297A8F0B78BF541BE18177376DB575E19C8F4 104C' +
'1188962B547333059AB47A46F25A9998382067CED7B9393B4 C98D' +
'AF82E67049F7CEAFDEF72DEF1AFE4C241AB7267F58667E716 97DC' +
'A1F3388FFEE19FE7FCCF518A90D6000971C5F5876D9F74BCE 23F4' +
'22C38A3BC296FCA9BF2949476435D3F8B8E52DA3DD82B1FC0 7');



and replace the color in line 11 in Box.scar (FindBox) with this one:

if (FindColorTolerance(xb, yb, 6776687, MIX1, MIY1, MIX2, MIY2, 20)) then

~alex~
07-25-2007, 10:22 PM
Ill try this and let you know if it works when I get a box.

bullzeye95
07-25-2007, 11:19 PM
Thanks! Done.

nielsie95
07-26-2007, 08:45 AM
Thank you :)
Maybe we should make this public?

Harry
07-26-2007, 02:01 PM
Yes, public pl0x.. ;;)

RAM
07-26-2007, 02:42 PM
Hmm, anybody else getting errors from this ?


Failed when compiling
Line 144: [Error] (12104:11): Unknown identifier 'BitmapFromString2'~RAM

Edit: NVM..using 3.06


BoxBmp:= BitmapFromString(25, 25, 'z78DAEDD7C10E83200C06E0574' +
'2682BBD8AECFD1F698CEEA0411014DD61D2E48FD942F842E6 284A' +
'1D1E4331EF19DF1511C1832FE7C5E62D09A309E59042BDD08 6926' +
'7F95C72C4219464C99CDBF9963D9155E2BAA326263E9FA880 8113' +
'F3CAB32159CCEA2531DEB05949C87D365B72677FA2A797A4C 693A' +
'AD26F9799FB55D748F4A459EF48C8920AD5A83A664E339D6B 676B' +
'42C5ECAB6ACDA5A45E25EF7B6EAE246A70E05629EFC522EB3 DBD5' +
'4E584192C505F15699C901F55950A7046F7A8AA54841EFDA3 AA52' +
'C5FFFF7F56B59ECED7A9A4434B241B5D5FAFB3ACAC92BE31E 3C9F' +
'6C3779ED18D3D7CF616D0D573DD7DA7799FD5EFC7A97BD61B 3BB0' +
'1551');

For anybody that wants it, here is the one I made, a bit big, it's of the whole box, but it works...

Harry
07-26-2007, 03:17 PM
Eh? Line 144: [Error] (10578:11): Unknown identifier 'BitmapFromString2' in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\AntiRandoms\Box.scar

nielsie95
07-26-2007, 03:19 PM
Is that a question? If it is, read the post above you: Use scar 3.11 :)

Harry
07-26-2007, 03:22 PM
But I don't like that version.. I like 3.06 .. :'( So how can I change it to work on the old versions?

nielsie95
07-26-2007, 03:32 PM
Make your own bitmap :)

Harry
07-26-2007, 03:34 PM
Bah, my BMP's always fail :S :p

LordGregGreg
07-26-2007, 04:01 PM
good call fawki... I wonder why jagex is messing around with this petty stuff? Just checking to see if srl is still alive perhaps?

Harry
07-26-2007, 04:31 PM
Ugh Fawki, what were the demensions of the box you used for the bmp? So I can use old bitmapfromstring ..

~alex~
07-26-2007, 09:07 PM
what's wrong with 3.11 hy?

Harry
07-26-2007, 10:00 PM
Its hard for me to get on my dial-up. And I hate to keep on changing scar versions, its pretty annoying.

Just Kidding
07-27-2007, 12:33 AM
Its hard for me to get on my dial-up. And I hate to keep on changing scar versions, its pretty annoying.

Much agreed and yet more proof jagex is toying with us yet again. Still no clue why.

rkroxpunk
07-27-2007, 03:22 PM
Read the post above ur first post again.....you may see a bitmap for 3.06 ;)

n3ss3s
07-27-2007, 03:57 PM
Lol, since we all know that when we are declaring bitmaps we can always use BitmapFromString instead of any new ones, so people dont have to post about that problem.

RAM
07-27-2007, 10:10 PM
Lol, since we all know that when we are declaring bitmaps we can always use BitmapFromString instead of any new ones, so people dont have to post about that problem.

Um, I think I tried that, if it was that easy, I wouldn't have posted an error...that's why I ended up having to make my own.....

Dark_Sniper
07-28-2007, 05:46 PM
lol i use 3.06 cause i think 3.10 give me to much hassle when it comes to using srl with it...

RAM
07-28-2007, 08:29 PM
tried 3.11 yet ?:rolleyes:

rkroxpunk
07-29-2007, 11:53 AM
can someone please tell me why this is members??? don't we want the non member community to be able to run a script for more than an hour ? :confused:

The Claw
07-29-2007, 12:11 PM
Im pretty sure this isnt a members only section

oliver1205
08-01-2007, 02:08 AM
thanks for the update. i wonder why jagex is trying to mess with us

The Claw
08-01-2007, 11:08 AM
yer i wonder why they would want to stop us from autoing!!! lolz

Rikje
08-02-2007, 09:17 AM
Im pretty sure this isnt a members only section

This is a member only sectoin.

JuKKa
08-02-2007, 12:21 PM
the LAMP bmp should also be updated!

The Claw
08-03-2007, 06:46 AM
This is a member only sectoin.

weird lol, ive seen some non members posting in here. unless their names just havent been made orange but their profile has?

hmm, using that bitmap already posted didnt work for me, my character had ~30 boxes in its inventory when i woke up and was at wizards tower, lol. try this one here which i made:

BoxBmp := BitmapFromString(25, 3, 'z78DA333000024373033' +
'34B334B0869666CEA6CEA6C6968616E618E8B343533713371 4321' +
'8D4D5C4C5C9049643321247E33216A0CC0EE3120CB5504DC6 C68E' +
'264E2486557999ABA9ABA0CACAB009C5B5FB8');

line 144 in box.scar

and if i get a lamp ill be sure to make a bitmap out of that so it can be updated.

HISTORY
08-03-2007, 07:19 AM
function OpenBox2:boolean;
var xb,yb:integer;
begin
if FindBitmapToleranceIn(NewBox, xb, yb, MIX1, MIY1, MIX2, MIY2, 20) then
begin
Mouse(xb, yb, 0, 0, True);
Result:=true;
end else
Result:=false;
end;
used a bit of Fawki's GambleNewbox;, works for me.

Then I just do a loop that breaks when no more boxes are found
repeat
If OpenBox2 then SolveBox;
until(not(OpenBox2))

The Claw
08-13-2007, 05:21 AM
ok its changed again.

BoxBmp := BitmapFromString2(False, 'a4A4EE78DAED923B0EC' +
'3300C43AF247F283963ECC4F73F52450B45321445D1A54B33 30C4' +
'0B4D73888824883F29555760B86ACAD46D71822757A5EF273 D1AF' +
'D5CA42EC243923B93B95D6D9189AFDAF8324CEA6443BEF3C1 293A' +
'79B175365839482CD11B93054C2293CB6AF08DE605DA42B56 0606' +
'C42FB9D426AAFFBBD33F4FDA9C8C49E17AB8013C77FD547AB 4CFD' +
'A7F9EDAA07B54');

line 144, box.scar

Bobarkinator
08-13-2007, 02:32 PM
Yet again? No offense but are you sure you just aren't making a bad bitmap?

The Claw
08-14-2007, 06:52 AM
im sure, seeing as it was working perfect and then it stopped working, then when i changed the bitmap it worked.