SRL Archive - S.M.A.R.T. Bugs and Improvements.

Paint


Avaphi

2010-05-26 11:45:22

Add the ability to go up to the tool bar and activate the ability to paint the Object/NPC/Item ID, would make for using Simba in conjunction with reflecting easier.

Sir R. M8gic1an

2010-05-26 11:49:36

That'll have to be scripted along with reflection. (I think). And it could be done by a .simba rather than inside Simba ;)

Then you can just add it in your own randoms function


procedure AvaphiR;
begin
if IsFKeyDown(12) then
PaintSmart;

if IsFKeyDown(11) then
CleanSmart;

FindNormalRandoms;
end;

~RM

Drakan

2010-05-27 09:43:29

From: Rasta Magician
That'll have to be scripted along with reflection. (I think). And it could be done by a .simba rather than inside Simba ;)

Then you can just add it in your own randoms function


procedure AvaphiR;
begin
if IsFKeyDown(12) then
PaintSmart;

if IsFKeyDown(11) then
CleanSmart;

FindNormalRandoms;
end;

~RM


isFKeyDown doesnt work when you're using smart :)
But yah that wouldnt be hard. I could just make a function called PainObjects or something.

Sir R. M8gic1an

2010-05-27 13:26:39

From: drags111
isFKeyDown doesnt work when you're using smart :)
But yah that wouldnt be hard. I could just make a function called PainObjects or something.


It does work ;) (at least on scar)

~RM

Gu3st...

2010-05-27 13:38:00

From: Rasta Magician
It does work ;) (at least on scar)

~RM
On Simba, if you're using IsKeyDown or any similar functions, they wont work.. I don't like that tbh :(

Wizzup?

2010-05-28 06:16:04

From: Zyt3x
On Simba, if you're using IsKeyDown or any similar functions, they wont work.. I don't like that tbh :(


Well, since SMART takes over the full Keyboard and Mouse, it is no more than logical that the functions work that way. If you want, you can alternate between smart input and simba input.

Sir R. M8gic1an

2010-05-28 08:28:49

From: Wizzup?
If you want, you can alternate between smart input and simba input.


How?

~RM

Wizzup?

2010-05-28 09:07:46

From: Rasta Magician
How?

~RM


Well, uhm… Once SMART is properly written it will be easier. I can't think of a proper way ATM. The problem is that SMART overrides Simba functions, which it should not. We could hack around this a bit, but it would be better if SMART picked up the support. (I can probably add it)

Switching between targets:
SetTargetBitmap/SetTargetArray/SetEIOSTarget/SetImageTarget/SetKeyMouseTarget/GetKeyMouseTarget/GetImageTarget/IsTargetValid

EDIT: Actually, I think I'm talking crap in the first post. The IsFKeyDown should work whether SMART is used or not.