Jump to content
BryceTheCoder

Ehh some changes of code over the past scar updates.

Recommended Posts

Hello, i dont know when but scar has been updating frequently now and since i try to run my script it says that i doesnt know what BitmapFromString function is now.

 

Soo did BitmapFromString and BitmapToString functions get deleted? And can someone help with activing a client (and do i need to do that if i run SMART with my runescape scar script?)

 

EDIT: Scar seems to be f-ed up??:/

I tell it MMouse(100,100,0,0);

and it moves it to 100,150 or 100,151 ???? huh?

 

And everytime i drag and select a client with the little cross-hairs you have in teh scar program i get an error?:/ Idk wuts happening to my scar program....

Help me plz freddy?:/

Edited by BryceTheCoder
Link to comment
Share on other sites

Scar now has a bitmap class watch this video - http://forums.scar-divi.com/showthread.php?1675-All-About-TSCARBitmap&p=9057#post9057

 

Scars client system is also different watch all of the video in this thread - http://forums.scar-divi.com/showthread.php?1603-SCAR-Divi-3-35-Preview-Tutorial

 

 

Read this for the client error - http://forums.scar-divi.com/showthread.php?1654-Upgrading-to-SCAR-Divi-3-35

Link to comment
Share on other sites

Would i need to actually select those clients as he does with using SMART? or does it selcect SMART's client atutomatically when using SMART.

 

I believe it sets smart as the client when using smart. Try capturing the client and see what happens

 

Run this procedure and it will display a bitmap of the client

[scar]procedure testClient;

var

BMP: TSCARBitmap;

begin

Try

BMP := GetClient.Capture;

DebugBitmap(BMP);

finally

BMP.Free;

end;

end;[/scar]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...