Don't even bother with the OpenGL drawing. It's not worth the time and effort. What I said about Canvas+DC is not OpenGL. SCAR can do it.
Don't even bother with the OpenGL drawing. It's not worth the time and effort. What I said about Canvas+DC is not OpenGL. SCAR can do it.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Last edited by tom99; 07-03-2010 at 01:03 PM.
Only works in scar, which is silly point 1. And you can't run the script at the same time as writing text, which is sillier point 2.SCAR Code:program new;
{.include srl/srl.scar}
Procedure WriteToClient(What:String);
var
height:Integer;
TPA: TPointArray;
begin
TPA := LoadTextTPA(what, 0, height);
DrawTPACanvas(TPA, clWhite, GetClientCanvas);
end;
begin
while True do WriteToClient('text');
end.
That script didnt work for me at all, got this error message:
Scar 3.25:
Unable to register function ???????????????›?????????›?????????›???????›????; in script
Scar 3.23:
It open sandwich lady script
Scar 3.21:
[Runtime Error] : Exception: Access violation at address 0077960C in module 'scar.exe'. Read of address 000001D0

Works for me. I don't know which scar(using simba lately).
Make sure you select runescape with the cross-hair and then use ActivateClient too.
Last edited by Sabzi; 07-04-2010 at 10:47 AM. Reason: grammar ...
3.25 isn't useable yet, 3.23 is what I made it with, so I'm sure it works...
scar Code:program New;
{.include SRL/SRL.scar}
Var
Bmp : Integer;
Procedure DebugTime;
var
Canvas : TCanvas;
W, H : Integer;
Begin
bmp := BitmapFromString(0, 0, '');
Canvas := GetClientCanvas;
Bmp := CreateBitmapMaskFromText('Time running: ' + TimeRunning, UpChars);
FastReplaceColor(Bmp, ClBlack, 10799322);
GetBitmapSize(Bmp, W, H);
SafeCopyCanvas(GetBitmapCanvas(Bmp), Canvas, 0, 0, W, H, 205, 387, 205 + W, 387 + H);
FreeBitmap(Bmp);
SetTimeout(1, 'DebugTime');
End;
begin
ActivateClient;
SetupSRL;
Wait(500);
DebugTime;
Repeat
MMouse(Random(500), Random(500), Random(100), Random(100));
Wait(500 + Random(500));
Until False;
end.
That's some old code by me, I think it still works with SCAR.
Besides the whole setTimeout that crashes scar thing...
It still dont work, it only open sandwich lady script, even if i delete it tell me sandwich lady script dont exist failed to compile.
It is however what im after tough, you use srl v4 #42 scar 3.23 ?
Last edited by tom99; 07-04-2010 at 12:03 PM.
Still dont work with 3.23 i deleted & downloaded srl again and now it start showing errors of prison pete on compile srl.
Reinstalled 3.23 and now compile srl shows error in math.scar :S
Zytex you made it work with 3.23 or older ?
Last edited by tom99; 07-04-2010 at 02:18 PM.
tom99, you have to move your plugins with SCAR 3.23 and srl-opendev. Also, you should try Simba.![]()
I did move the folder called " Move this folder to plugins" into the plugin folder, and i have tryed simba but i reckon its compatible with bitmapmask and disguise and some other commands so ive not started using it yet, im looking forward for it to be done tough.
(Scripts outdated until I update for new SRL changes)
AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
Summer = me busy, won't be around much.
with the sandwich.scar problem
just add ",2" then save
~shut
All my scripts are held on Googlecode git, so if you ever see a problem, fork it and send me a pull request
If a script is grey, it doesn't work, if it's colour then it does!
My Tutorials:-
Everything you need to know about setting up Simba, SRL and Reflection!, How to sort out the MSVCR71.dll error
How to set up players for autoing with Simba, SRL/Simba Standards (with examples), Defines
Auto Updater and Git, Using a testing branch for git, Adding SRL Stats to your script
Creating your own font set for Simba, Guide to Cups, How to make 1.45M (RSGP) a day (not really my tut)
Download a image and set it as your Desktop Wallpaper in C#, How to make your first PHP file uploader
<Coh3n> Shuttleu, fuck I love you right now
There are currently 1 users browsing this thread. (0 members and 1 guests)