I like the tutorial shame though, I just can't understand scar at all.
I like the tutorial shame though, I just can't understand scar at all.
Yayy Now I can bot :] Great guide.
i got this message when i tried your bitmap tutorial
Line 9: [Error] (9:1): Identifier expected in script
------------------------------------------------
program New;
var
rs_bag: integer;
procedure loadbitmap;
begin;
rs_bag := BitmapFromString(1, 1, 'beNpjYGAAAAADAAE=');
procedure FBitmap;
var
begin;
FindBitmapToleranceIn(rs_bag, x, y, 560, 214, 734, 457, 25);
end;
begin
end.
---------------------------------------
thats my script is there anything rong with it???
Thanks for the tutorial, heres my script so far, even though its pretty much the exact same as u posted on ur first page, but if I were to make this a firemaker, would i have to get bitmap for tinderbox as well?
program TheMatpansFirstScript;
var
WillowLog: integer;
procedure LoadBitmat;
begin
WillowLog := BitmapFromString(27, 23, 'beNrtlbFrg0AUxp/FgkO' +
'Ho9hyMZR2y9KpZMhg6Gu4EAMOZshQumgKxUCgpf//0Hd5yeuhQTQ4' +
'lR4fgnr+/N77vBPgf7Qb3l79jMeRAlCXcN3dQFUY6NQMRV2A6sa/V' +
'RCqQNkjhIg6S+5ctQd+b19Ir9nDOr0nCYFPRRY4Vm06KUBhsv gKa4' +
'XQ1eHnxzM/SHJRfBERZqBbZsFA16eIW7fAiIqdPIXqwp/jqKFqmmk' +
'wQrTMvPDY3kBZ4ZWmXOxdX1uBntuZYI/BaaubtwmVWRYx2UC0Ecxi' +
'LaJ3kTfEgRsQN5lO6UV14FeJZKzM98AEUhwbExkzFLkoaWwDc Pc+J' +
'eBuM6UJeXKIZonVrCtxNwC3RSxACaUOrMe0OEU7tHEJVDJVSt 12gV' +
'SgWyl/NqbD0vv9eLJjr5h5XHHn7DOuwwR72a88dtjr1uf9zZ/DD0d' +
'EmVY=');
end;
procedure FBitmap;
var
x,y :interger;
being
FindBitmapToleranceIn(WillowLog, x, y, 560, 214, 734, 457, 25);
end;
begin
end.
thanks, really helped me learn the basics![]()
![]()
thanks, didnt know most of the stuff u explainded
thank u
hey where can i download common sense???? lol j/k man. this is a FANTASTIC tutorial for begginers. i had no clue what a bitmap was before this but now i dothanks man!
great tutorial thank you so much
thanks for the great tut on the basicsalthough i am having some trouble with the bitmap part but ive already posted in help section =/
Code:http://www.villavu.com/forum/showthread.php?t=36023?p=473062#post473062
Uhh, any way better to explain? :P
Im 14
Most of them are autoers♥
http://img517.imageshack.us/img517/2...flmaaaail4.jpg http://www.stats.srl-forums.com/sigs/3576.png
Thx alot for the tut!
tyvm for tutorial!!! i read the first part so far and it is really good for a beginner like me!
Thanks, helped a lot. I now wished I took AP compsci, I would understand a lot of this language.
Wow, very organized and easy to learn. Thanks for this tut, introducing me into SCAR.
Time is just an illusion, we are all dying from the disease of age.
When in doubt, please go here.
This tut helped me a lot, thanks!
The image part was the best.
I had such a pain in the ass learning how to convert a bitmap to an image. Sad really, since it is so easy now. Of course to the outsider it looks hard, but with this piece I can now create an epic script.
Great tutorial dude but I tried to do what you stated and for some reason i keep getting a line 6 [error]: Semicolon (';') expected in script its there but still wont compile.
maybe the mistake is obvious but i'm not seeing it
?!PFK!?
What can PFK do for you?
Woo hoo I noticed my error the space created was effecting the semicolon, my first script works awesome, thanks. Hopefully I'll become better and be able to make some pretty intricate scripts and hopefully I will figure out the bitmaps.
?!PFK!?
What can PFK do for you?
wow, im stupid just noticed all i had to do was click paste in paint screen... no problems anymore.
?!PFK!?
What can PFK do for you?
Great tut helped me on bitmaps and making my first script but...functions...you picked the worst example for me <.>
Thank you! that helped me alot!
can someone sell me how to get coords?
or where the dipper is on scar?
thanks great tut not sure i will be making amazing scripts yet but i didnt understand how you managed to get the coords in this bit
Integer; x1, y1, x2, y2: Integer; - These are the coordinates for the "box" that SCAR will search for the bitmap in. This is very useful to not only save time when searching for bitmaps (because SCAR has to search less of the selected client), but also reduces memory usage and lag. In our case, since we are searching for the willow logs in the inventory, we will be using the coordinateness 560, 214, 734, 457
tyvm this helped me so much in scripting
There are currently 1 users browsing this thread. (0 members and 1 guests)