Log in

View Full Version : Bitmap Help



rotflmfwao
06-28-2007, 09:16 PM
I loaded 2 Bitmaps (.bmp image files), a set of logs, and a tinderbox. I got two radically different results;
log := BitmapFromString(31, 25, 'z78DAED975D96C2200C85B7448' +
'0203C52EBFEB7644A2A43CB4FD1A2E339337DB84F5A3E2EC9 0D15' +
'E2771E2D95004BAA49BDBA4A40A9413AF4DA4927BEEC21422 B61C' +
'789D299094141AADFC31C38C1283D4B7751E814EC141F3A96 9C57' +
'E4736497D831766F75329C3B13F22F99A1C039E1ACCAFC6E1 C393' +
'10008336907F642FC60AD3648EB4E06160D0C4D920D6D5B13 F2D0' +
'05E7DC0ECC133A89D2CFF6A67D953CE73FA02DEF7DADF670C A67C' +
'87F98B7E407FC05C2B216DE13F8CF574B4E4E6F8647CD6CD7 2D53' +
'F52B938FAAF31EF251FA6ECF233F12FFD5B8D1E454E1944B0 AA41' +
'69454CA42673FEE2742D1F3E1CCACDC95E9EA3D099FA65FFA AF98' +
'124B2A4E0B336B9B7CCD73B5EA2CAB5447F9B9EFDC7C174C1 E1DF' +
'65415684D70387D6764DEF0E49A9D5D81F3892CEA209F9D47 99A6' +
'77BAD6762A55E70EF6FA799C9C79E7363C370F72D69C7CAD9 9903' +
'05D93F1C9B46F67CE61B5DCB69E538F5F41EC12C6C76EAD66 FB2B' +
'0E57275D859CEA132B6C91BC9A335DE42F4DABD053911C4B0 993D' +
'EA956F2D0A1A452FB7EF2F6547D76B6A653956FA7EDFB55BA 8BB4' +
'C2CF93F7D0BEE3EBA0364FFBDCDBEFE293DF35FB1B6F481EC E99A' +
'6F3CB897FC37719A7624AFE99131FC69F318BFFE70F3C77FF 97B2' +
'96');
tinderbox := BitmapFromString(1, 10, 'z78DA3330201F0000576B' +
'0B41');

Notice that the tinderbox bitmap is incredibly short, while the log bitmap is nice and long.

I tried to load the log bitmap, and then checked it, but I did the tinderbox bitmap and it gave me, well, this.

Here is the GIF and the 2 BMP's I made from it. Please, Please help me!

Hugolord
06-28-2007, 09:17 PM
whats wrong in that?

ones small ones big

meh im a lil sleepy maybe im not looking at code right but it looks fine to me?

i do advise you to make your tinderbox bitmap a lil bigger and your log one a lil smaller tho :D

MylesMadness
06-28-2007, 11:34 PM
It's fine its the size of the bitmap the larger the bitmap the more code

Harry
06-28-2007, 11:41 PM
Try to reduce a bitmap as much as you can! If you don't, it will cause a lot of lag on your system..

rotflmfwao
06-29-2007, 12:33 AM
Did anyone try to load the BPM from the string? it doesn't work... I'll try to make the logs smaller and the tinderbox bigger, but the logs work fine... It's the tinderbox I'm worried about.

EDIT: I tried remaking the bitmaps and I redid the code and I got this;
tinderbox := BitmapFromString(31, 29, 'z78DAED98C19683200C4' +
'57FA96282B20CE2FFFFD2640029B5482982D339A72CDEC283 E626' +
'3C227ABB7D47FD404244F1AC9FC62947344879450106E8CF0 8B51' +
'CE4B853CC2ACF71D50602848B6A3E8D52495DA12652BEC2EC 0ABB' +
'577BD2D3308DADD4D5FC0266B411596798D4A4EBD43FC756B B373' +
'34734366E5A97628DEEEACEBCCC6286A4CA942A486B98C3F7 F666' +
'0E71695E5AA97778379FA8655E39D60B55424199FECE4782E 136C' +
'7EAFC133C6FCEE592672054B240492DF19567E62375EBE2DD B8ED' +
'655EA33C7332FA91AE05CA33AB990BD7C2C7322DB582D9EE5 FDF7' +
'942B58F4E32644810F6D07266BF6BE04EEEDF50F624030206 4892' +
'5F51D597CC499FE4CF8D79AF9E617BC56C77FDD62D439F773 E71D' +
'52EE927713778EE66EEF9ED98A38E1A93DB6ABF7B86D9FCB9 EF0C' +
'AD7249303FFA2490BFDBC33512916195FBBD76369798F9F1D EBDC' +
'3EBDE3EDA68A1511B5A2DBFD35C2E669FCB11D521F9696637 16A9' +
'89E90DDB0CB72C4EE5B25B9DC47A450E6F75624990A7F8431 6A95' +
'C1219AD77F2FB8AF43E313661E69AC7D5BEFEEBB88E3926FF 9C7F' +
'1125CCCE279FFFFFE73F327F477EFC00BC885F4B');

TY a lot :duh:

WhiteShadow
06-29-2007, 12:37 AM
Look in SRL/SRL/Skill/FireMaking.Scar

I'm sure it has bitmaps, you can borrow, or just include in your script.

sheetomg
07-01-2007, 07:36 AM
Look in SRL/SRL/Skill/FireMaking.Scar

I'm sure it has bitmaps, you can borrow, or just include in your script.

genious