i thought i remembered using samrtgetcanvas, but thats not working... lol, confused
i thought i remembered using samrtgetcanvas, but thats not working... lol, confused
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
GetClientDC(SmartGetDC); I think? That might be totally unrelated.. I need to sleep.
lol, ill try that, post again in a sec
=============
i had just put that ther, and i realised, nope lol, that will not return a canvas so i will get a type mismatch error.
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
I gave you an example of how I draw my progress reports onto the SMART canvas, why didn't you look at it?
i did, lol, i think it owns, but that wont help be if smart isnt the client, what i mean is that 2 scripts with smart are running so i want both proggies in 1 smart screen
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
I think you'll have to use SendInterSCARMessage.
how could i not have known
lol im doing that right now. il post whether it works in a min. it should ^.^
iluffsyeww is a genuis
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
k, when i use this:
SCAR Code:procedure takemypic;
var scrpic,buffer:integer;
begin
scrpic:= BitmapFromString2(false,'');
safecopycanvas(smartgetdc, buffer,0,0,505,735,0,0,200,300);
safecopycanvas(buffer, scrpic,0,0,505,735,0,0,200,300);
SaveBitmap(scrpic,'c:/scr/scrcom.bmp');
settimeout(1000,'takemypic');
end;
i get an access violation exception when it is called... but i used safe so im confused.
im doing this so i can then put it on a smart canvas in a different instance of smart
===========
ohh, i changed to smartgetdebugdc and no more violation, thanks rm, u own
==========
nvm i got the error way later. here is code:
SCAR Code:procedure takemypic;
var scrpic,buffer:integer;
begin
scrpic:= BitmapFromString2(false,'');
safecopycanvas(smartgetdebugdc, buffer,0,0,505,735,0,0,200,300);
safecopycanvas(buffer, scrpic,0,0,505,735,0,0,200,300);
SaveBitmap(scrpic,'c:/scr/scrcom.bmp');
settimeout(1000,'takemypic');
end;
error:
[Runtime Error] : Exception: Access violation at address 004885B1 in module 'scar.exe'. Write of address 00000050 in line 1590 in script C:\Documents and Settings\Josh\My Documents\Downloads\V0.55 - RM Guild Miner.scar
Last edited by g0tp0t; 04-13-2010 at 03:33 PM.
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
Try this:
SCAR Code:procedure takemypic;
var scrpic,buffer:integer;
begin
scrpic:= BitmapFromString2(false,'');
safecopycanvas(smartgetdebugdc, buffer,0,0,505,735,0,0,200,300);
safecopycanvas(buffer, scrpic,0,0,505,735,0,0,200,300);
SaveBitmap(scrpic,ScriptPath+'scrcom.bmp');
settimeout(1000,'takemypic');
end;
the only dif is location, and i dont have scar on this comp so i will test later, but i dont see how that would help..?
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
Because C:/scr/* is giving you an access denied. Doing ScriptPath + 'scrcom.bmp' should give it access, and allow it to save.
ohh, i thought access denied only happens in vista+ where apps are automaticly givin limited user privelages, lol
Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)