Sin
2012-03-10 10:32:44
Hey, i'm working on a Oak Dungeon Doors script for Bonus XP Weekend and I can't get it to pay the demon butler when this comes up.
What's the font called?
Or is there any way to get it?
Or is there any way to get it?
2012-03-10 10:32:44
2012-03-10 10:35:56
2012-03-10 10:38:04
2012-03-10 10:43:13
2012-03-10 15:12:19
2012-03-10 15:36:39
program new;
{$I SRL/SRL.Simba}
Function FindChat(TextToSearchFor: TStringArray; Box: TBox; Colour, Tolerance: Integer; PrintResult: Boolean): boolean;
var
Data: string;
ListOfFonts: TStringArray;
I, J: Integer;
begin
Result:= False;
ListOfFonts:= ['BigChars', 'CharsNPC', 'CharsTrade', 'FriendChars', 'LoginChars', 'SmallChars', 'SmallCharsNS', 'StatChars', 'UPChars', 'UpCharsEx', 'XPChars'];
For J:= 0 To High(ListOfFonts) do
begin
Data:= GetTextAtExWrap(Box.X1, Box.Y1, Box.X2, Box.Y2, 0, 5, 2, Colour, Tolerance, ListOfFonts[J]);
For I:= 0 To High(TextToSearchFor) do
begin
Result:= (ExecRegExpr(TextToSearchFor[I], Data));
if Result then
begin
If PrintResult then
writeln(Data);
exit;
end;
end;
end;
end;
begin
setupsrl;
writeln(FindChat(['istress', 'desire', 'service'], IntToBox(367, 526, 656, 542), 1181220, 50, True));
end.
2012-03-12 09:10:01
From: ggzz
It does exist lol..
BigChars : ?p? ?+,|?
CharsNPC : 88Oo0 gqtl8!
CharsTrade : K6MM KM1K6
FriendChars : E5NFF hktL5r
LoginChars : 0eT90 ?9tQee
SmallChars : M?n9O LU?l?r
SmallCharsNS : M9n9O LUIl9r
StatChars : [?ƧM MM?|?F
UPChars : DEmNU HUtlEr
UpCharsEx : QeDnn DUtler
XPChars : P999 89P9P
2012-03-12 09:14:21
2012-03-12 09:24:20
Var
TBmp: Integer;
x, y: Integer;
Shit: Boolean;
Fail: Integer;
Procedure LoadM;
Begin
TBmp := BitmapFromString(22, 11, 'meJyVkl0KhDAMhD20T6vCnqcoeh' +
'kfIniXjZ0mndqiLAxlqMmXn9qHY1gKTdtpXqBP2KM57CzUPxESJxL' +
'uYS2CIL0ivErIJH277p/0xmhGaHylncQBZ9+StAhFoivdzAJhUSpd' +
'iCa6mAYhF2e+pB5iVmrGCW40DN6McA8lIQdzLWpMvDo4NcFK3x/FN' +
'iAM50ekKTJNjf8e1XqvsHE9f18trUo=');
End;
Function Buttler: Boolean;
Var
BTPA: TPointArray;
BPoint: TPoint;
i: Integer;
Label
Start;
Begin
If Not(LoggedIn) Then Exit;
If Not(InvEmpty) Then Exit;
Start:
Shit:=False;
Result := True;
FindColorsTolerance(BTPA, 2240365, MSX1, MSY1, MSX2, MSY2, 5);
If Length(BTPA) = 0 Then FindColorsTolerance(BTPA, 2834273, MSX1, MSY1, MSX2, MSY2, 5);
If Length(BTPA) = 0 Then FindColorsTolerance(BTPA, 1120569, MSX1, MSY1, MSX2, MSY2, 5);
If Length(BTPA) = 0 Then FindColorsTolerance(BTPA, 1515595, MSX1, MSY1, MSX2, MSY2, 5);
If Length(BTPA) = 0 Then FindColorsTolerance(BTPA, 461078, MSX1, MSY1, MSX2, MSY2, 5);
For i := 0 To High(BTPA) Do
Begin
BPoint := BTPA[i];
MMouse(BPoint.x, BPoint.y, 0, 0);
Wait(100+Random(25));
If IsUpTextMultiCustom(['to', 'Tal', 'De', 'emo', 'utl', 'mon']) Then
Begin
ClickMouse2(mouse_right);
Wait(375+Random(100));
ChooseOptionMulti(['etch', 'rom', 'ank']);
Wait(750+Random(125));
If FindBitmapIn(TBmp, x, y, 230, 401, 271, 419) Then
Begin
ClickToContinue;
Wait(75+Random(50));
ClickToContinue;
Wait(625+Random(100));
SendKeys('1', 15);
Wait(300+Random(50));
Shit := True;
End Else
Begin
SendKeys('1', 15);
Shit := False;
End;
Repeat
Wait(100+Random(100));
Until(ClickToContinue);
Wait(250+Random(150));
End;
If Shit = False Then Exit;
End;
If Shit = True Then GoTo Start;
End;2012-03-12 10:30:39
{$I SRL/SRL.Simba}
begin
SetupSRL;
writeln(GetTextAtExWrap(300, 386, 387, 401, 0, 5, 2, 11847373, 50, 'NPCName'));
end.
2012-03-12 10:38:16
2012-03-12 10:41:25