SRL Archive - Discussions and Debates

S.m.a.r.t


Naike

2008-11-16 16:29:38

Closed.

Won't be fixed, benland is 1 year old stuborn child that wants his candy for himself.

Nava2

2008-11-16 16:31:04

procedure ShowCurrentScreen;//munk and Nava2
var
x, y, w, h, bmp, MDot :integer;
begin
if not IsFKeyDown(12)then Exit;
try
GetClientDimensions(w, h);
DisplayDebugImgWindow(766,504);
bmp := bitmapFromString(w, h, '');
CopyClientToBitmap(bmp, 0, 0, w, h);
MDot := BitmapFromString(5, 5, 'beNpjYICA/wwI8B+GkNmYIs' +
'jqQQAA33kM9A==');
SetTransparentColor(MDot, 0);
GetMousePos(x, y);
FastDrawTransparent(x - 2, y - 2, MDot, Bmp);
SafeCopyCanvas(GetBitmapCanvas(bmp), GetDebugCanvas, 0, 0, w, h, 0, 0, w, h);
except
writeln('couldnt copy canvas');
end;
freeBitMap(bmp);
end;

Use a SetTimeOut and you can use this function to show the current screen + show the mouse position. :)

(For scripting at least)

Naike

2008-11-16 16:35:44

Sure that works for the scripting part, But how do i use it if i want to get a tile somewhere?

Naum

2008-11-16 16:40:10

AFAIK, yakman or wizzup? can fix it if they had the source.
Nice function munk+Nava, it kinda beats mine. Maybe you can make it interact with the client e.g
If IsFKeyDown(5) Then
Wait(10000+Random(800));//Pause

If IsFKeyDown(6) Then
SmartEnableDebug(False);
e.t.c

Naike

2008-11-16 16:42:47

Ok, BenLand agreed with giving the source to a person that could fix it :)

We are getting somewhere :p

R0b0t1

2008-11-16 16:49:18

I could fix it!!!11shift!LLiii!!shiftoneelevtenty!!shift!!



EDIT: Not much anybody can do :)

MylesMadness

2008-11-16 16:51:05

maybe yakman, that's like the only one I think

jakeyboy29

2008-11-16 16:55:37

yakman :D he will be able to do it. get the things off benland if he will.

Naike

2008-11-16 16:59:58

Okay, let's contact BenLand… Ohh wait, havnt seen him in 2 weeks xD

Any ideas?