SRL Archive - SRL Old School RuneScape

Todo


Hobbit

2013-02-27 23:21:38

General To-Do List

  • Change folder structure to SRL-6 style
  • Randoms
  • GameTab

I dont have much time ATM so I havent really thought about this list yet. Please post any action items you think of.

Ashaman88

2013-02-27 23:44:45

Need to update all the includes :P

bank.simba
inventory
globals

etc (i'll pull globals fix now)

Le Jingle

2013-02-28 01:11:15

Many of the files indeed need tweaks, extending quite a good sum of the simba files in the SRL/SRL/core/ folder.

I see you noted to shape towards SRL 6; I think that would be very good too.

Couple quick links so I can lazily hop to check / others might too :]
https://github.com/SRL/srl-5
https://github.com/SRL/srl-6
https://github.com/SRL/SRL-007

As for the shaping to SRL 6, anything specific to look out for? i.e. should we just follow format of the already setup (lape formatted iirc) srl-6 files? And should we use pascalscript format for this current project and worry about lape later?

cheers,
Lj

Justin

2013-02-28 04:36:50

login.simba -

function Logout: Boolean;
TODO: Make the include log the player out (GameTab needs updating too)
———————————————————————————–

function LoginPlayerToLob: Boolean;
TODO: Make this function check for "Error Messages" (Acc Disabled/Error connecting)
———————————————————————————–

function LoginPlayer : boolean;
TODO: Make this function check for "Error Messages" (Acc Disabled/Error connecting) - Failsafes?
———————————————————————————–

Justin

2013-02-28 06:00:55

From: Ashaman88
Need to update all the includes :P

bank.simba
inventory
globals

etc (i'll pull globals fix now)


bank.simba:
function BankScreen: Boolean; - Working 28/02/2013.
function DepositScreen: Boolean; - Updated 28/02/2013
function PinPending : Boolean; - Added 28/02/2013
function ConfirmPin : Boolean; - Added 28/02/2013

function GetBankIndexItemAmount(const Index: Integer): Integer; - Broken 28/02/2013
function GetBankItemAmount(const Row, Col: Integer): Integer; - Broken 28/02/2013
function GetMSBankItemAmount(const x, y: Integer): Integer; - Broken 28/02/2013
function DepositItemBox(Item: Integer): TBox; - Broken 28/02/2013
procedure FixBank; - Broken 28/02/2013
function FixBankTab: Boolean; - Removed (No bank tabs in 07) 28/02/2013
function CurrentBankTab: Integer; - Removed (No bank tabs in 07) 28/02/2013
function ExistsBankTab(T: Integer): Boolean; - Removed (No bank tabs in 07) 28/02/2013
function BankTab(T: Integer): Boolean; - Removed (No bank tabs in 07) 28/02/2013
procedure SearchBank(Item: string); - Removed (No search function in 07) 28/02/2013
procedure MouseBankSlot(BankSlot, Action: integer); - Broken 28/02/2013 eg: (BankSlot 9)
procedure QuickDeposit(Which: Integer); - Removed (No longer have the buttons) 28/02/2013
function DepositAll: Boolean; - Broken 28/02/2013
procedure Deposit(SlotFrom, SlotTo: Integer; vType: Variant); - Broken (Coords) 28/02/2013
function WithdrawEx(Col, Row, Amount: Integer; Uptexts: TStringArray): Boolean; - Broken (Coords) 28/02/2013

function Withdraw(col, row, Amount: Integer): Boolean; - Unstable (Withdraw(8, 3, 3);
function WithdrawItemEx(Ident: integer; IdentType: string; var Index: integer; Amount: integer; UpText: string; Tol: TIntegerArray): Boolean; - Broken, see above



maze.simba
function Maze_Detect(): boolean; - Updated 28/02/2013 (Detects)

Ashaman88

2013-02-28 07:06:03

From: Justin
bank.simba:
function BankScreen: Boolean; - Working 28/02/2013.
function DepositScreen: Boolean; - Updated 28/02/2013
function PinPending : Boolean; - Added 28/02/2013
function ConfirmPin : Boolean; - Added 28/02/2013

function GetBankIndexItemAmount(const Index: Integer): Integer; - Broken 28/02/2013
function GetBankItemAmount(const Row, Col: Integer): Integer; - Broken 28/02/2013
function GetMSBankItemAmount(const x, y: Integer): Integer; - Broken 28/02/2013
function DepositItemBox(Item: Integer): TBox; - Broken 28/02/2013
procedure FixBank; - Broken 28/02/2013
function FixBankTab: Boolean; - Removed (No bank tabs in 07) 28/02/2013
function CurrentBankTab: Integer; - Removed (No bank tabs in 07) 28/02/2013
function ExistsBankTab(T: Integer): Boolean; - Removed (No bank tabs in 07) 28/02/2013
function BankTab(T: Integer): Boolean; - Removed (No bank tabs in 07) 28/02/2013
procedure SearchBank(Item: string); - Removed (No search function in 07) 28/02/2013
procedure MouseBankSlot(BankSlot, Action: integer); - Broken 28/02/2013 eg: (BankSlot 9)
procedure QuickDeposit(Which: Integer); - Removed (No longer have the buttons) 28/02/2013
function DepositAll: Boolean; - Broken 28/02/2013
procedure Deposit(SlotFrom, SlotTo: Integer; vType: Variant); - Broken (Coords) 28/02/2013
function WithdrawEx(Col, Row, Amount: Integer; Uptexts: TStringArray): Boolean; - Broken (Coords) 28/02/2013

function Withdraw(col, row, Amount: Integer): Boolean; - Unstable (Withdraw(8, 3, 3);
function WithdrawItemEx(Ident: integer; IdentType: string; var Index: integer; Amount: integer; UpText: string; Tol: TIntegerArray): Boolean; - Broken, see above



maze.simba
function Maze_Detect(): boolean; - Updated 28/02/2013 (Detects)


Yeah I had started updating bank.simba, if nobody finishes it by tonight I'll finish it

DannyRS

2013-02-28 07:50:27

Need new tab number constant's in globals.simba, using placeholders (1-14) for now :)

Justin

2013-02-28 08:18:13

From: Ashaman88
Yeah I had started updating bank.simba, if nobody finishes it by tonight I'll finish it


Any chance you could take a look at FindNormalRandoms; ? - Didn't detect random correctly but when I ran the Mime_Detect() with a writeln it returned true :\

Ashaman88

2013-02-28 08:46:33

From: Justin
Any chance you could take a look at FindNormalRandoms; ? - Didn't detect random correctly but when I ran the Mime_Detect() with a writeln it returned true :\


Yeah sure, have you lookers at the 07 random solvers? They seemed to have a good detection system

DannyRS

2013-02-28 08:53:38

Just for everyone's info, seems Jagex have shifted the most random tiny things by a few pixels,

e.g.

combat stance selection boxes,

and used different text/font in random stuff, - Function GetWeaponName: String; - was upchars is now NPC ChatText (maybe was before some 2008 update?) lol

0 in StatChars has no line through it - will need fixed in Fonts - probably other random chars in Fonts different

Ashaman88

2013-02-28 09:10:20

From: DannyRS
Just for everyone's info, seems Jagex have shifted the most random tiny things by a few pixels,

e.g.

combat stance selection boxes,

and used different text/font in random stuff, - Function GetWeaponName: String; - was upchars is now NPC ChatText (maybe was before some 2008 update?) lol

0 in StatChars has no line through it - will need fixed in Fonts - probably other random chars in Fonts different


Are you comparing it to the fonts zip I posted? The text grabbing for the bankscreen worked fine with those

DannyRS

2013-02-28 09:46:37

From: Ashaman88
Are you comparing it to the fonts zip I posted? The text grabbing for the bankscreen worked fine with those


found 07 myself, wheres your post with .zip I couldn't find it

Ashaman88

2013-02-28 09:49:37

From: DannyRS
found 07 myself, wheres your post with .zip I couldn't find it


Are they the same as the ones from this post?

http://villavu.com/forum/showthread.php?t=96788&p=1174908#post1174908

That's where I got them from

DannyRS

2013-02-28 09:51:11

From: Ashaman88
Are they the same as the ones from this post?

http://villavu.com/forum/showthread.php?t=96788&p=1174908#post1174908

That's where I got them from


Yup using same ones, jagex messed some chars about

http://villavu.com/forum/showthread.php?t=96879&page=2&p=1179656#post1179656

Le Jingle

2013-02-28 09:57:23

Thanks for the link , think I might been told about that link earlier, but I forgot :p

Looking through it now, comparing stuffs, still kinda clueless to my current task tho suppose I could pan through the differences in antirandoms.simba and antirrandoms.scar for now until told otherwise

Ashaman88

2013-02-28 10:01:41

From: DannyRS
Yup using same ones, jagex messed some chars about

http://villavu.com/forum/showthread.php?t=96879&page=2&p=1179656#post1179656


Aww I getcha, so you wanna work on updating all the fonts :) :) :)

From: Le Jingle
Thanks for the link , think I might been told about that link earlier, but I forgot :p

Looking through it now, comparing stuffs, still kinda clueless to my current task tho suppose I could pan through the differences in antirandoms.simba and antirrandoms.scar for now until told otherwise


That's a good idea, why not put it on the status thread danny posted - It would be really good to get a good random detection going then we can work on the solvers

Le Jingle

2013-02-28 10:06:19

From: Ashaman88

That's a good idea, why not put it on the status thread danny posted - It would be really good to get a good random detection going then we can work on the solvers


gotcha, I'll throw detecting on my status, noting that solving isn't the task, yet.

DannyRS

2013-02-28 10:08:38

From: Ashaman88
Aww I getcha, so you wanna work on updating all the fonts :) :) :)



Funnily enough Jagex's StatChars match my private server ripped ones (only did numbers) - maybe they did the dirty to get 07 out quickly? or used a 2006 font

I'll update Fonts as I locate differences :p

Ashaman88

2013-02-28 10:11:54

From: DannyRS
Funnily enough Jagex's StatChars match my private server ripped ones (only did numbers) - maybe they did the dirty to get 07 out quickly? or used a 2006 font

I'll update Fonts as I locate differences :p


Please do and upload with updates :) Noting the changes :)

Le Jingle

2013-02-28 10:16:58

I think you can grab all the text from a game file, wouldn't know where to start on that though.

DannyRS

2013-02-28 11:12:22

If someone could fix offset's in smartgraphics would greatly speed up debugging / testing :D

From: Le Jingle
I think you can grab all the text from a game file, wouldn't know where to start on that though.


AFAIK you need OpenGL graphics option for that :/

J J

2013-02-28 11:17:34

From: DannyRS
If someone could fix offset's in smartgraphics would greatly speed up debugging / testing :D



AFAIK you need OpenGL graphics option for that :/

You can indeed get the characters with an OpenGL or DirectX hook - but that mode does not exist. I don't think you can grab them with reflection or injection either.

Ashaman88

2013-02-28 11:18:20

From: DannyRS
If someone could fix offset's in smartgraphics would greatly speed up debugging / testing :D



AFAIK you need OpenGL graphics option for that :/


That should be in the pull request justin made - I already fixed its (not sure if request went through)

DannyRS

2013-02-28 15:09:13

Players[CurrentPlayer].Level Contains dung and summ, needs shortened (player.simba I'm guessing?) also all globals need un-EoC'd :p should probably edit hob's post and add stuff to be done under what files

Hobbit

2013-02-28 20:09:23

From: Ashaman88
That should be in the pull request justin made - I already fixed its (not sure if request went through)


I havent merged the pull yet (Just got home). A ton of docs got removed in some of the files (Anyone know why?) so what I'm going to do a bit of magic before I merge to save us work later.

Edit: Nvm, I see in another thread Justin has already added them back in his fork.

Le Jingle

2013-02-28 21:47:29

From: Hobbit
I havent merged the pull yet (Just got home). A ton of docs got removed in some of the files (Anyone know why?) so what I'm going to do a bit of magic before I merge to save us work later.

Edit: Nvm, I see in another thread Justin has already added them back in his fork.


Did you pull them form my git? Gahhhhh @ myself >.< (And ty Justin!!!)

Ashaman88

2013-02-28 23:25:42

From: Le Jingle
Did you pull them form my git? Gahhhhh @ myself >.< (And ty Justin!!!)


Naw I sent the changes we made to Justin for him to commit, but he's added documentation back :)

Le Jingle

2013-02-28 23:27:46

From: Ashaman88
Naw I sent the changes we made to Justin for him to commit, but he's added documentation back :)


Justin == one :cool: guy :]

Also, made some progress on my ToDo, will hopefully add more to my To Do list come Saturday.

Cheers,
Lj

Hobbit

2013-03-01 01:20:50

Just an FYI
http://villavu.com/forum/showthread.php?t=97019

Le Jingle

2013-03-01 01:44:29

From: Hobbit
Just an FYI
http://villavu.com/forum/showthread.php?t=97019


Ah nice, I think this is pertitent to specifically Randoms, I think?
@J J;)

Ashaman88

2013-03-01 07:17:11

From: Le Jingle
Ah nice, I think this is pertitent to specifically Randoms, I think?
@J J;)


Yeah, hopefully will make random solvers much easier to do

Justin

2013-03-01 09:28:34

(drunk atm sorry)
just got a random event; this is the dtm of a mystery box or whatever it's called now
DTM := DTMFromString('m1gAAAHic42JgYKhiY2AoBuIaIG4E4hYgrgfiCiAuBOJSIK4E4mhGBoZgKI4D4jAg9oXiCKgYCE9oa2PIz8gAYxAbhMMDAxniIyNRxFiBdhODGYnECAAA3/UWhw==');


If someone could test and verifiy that it was detected that would be grand.

once again, sorry for posting under the influence; ill now logoff the forums and wont return until sober :)

DannyRS

2013-03-01 15:18:27

Got to go out for a bit tonight so I can't do as much as I'd like, figured out git so I fixed a few random things and sent request's for them :)

gametab should be working top to bottom for everything, except for the following which have some minor issues, if someone want's to ever take a look I'll leave here, but their kinda low prio:

GameTab.simba
[Flawed] function GetWeaponName: String; // Some chars sometimes overlap badly on X axis causes random misread text (e.g.Mithril longsword = MithrR longsword)
[Flawed] function GetWeaponData(var WArr: array of TStringArray): Boolean; // Text now overlaps on Y axis, very badly, applied a quick fix that seems to work, but it's messy

I even fixed up the old graphics settings options so we can easily change any settings we want :) :P

Ashaman88

2013-03-01 15:50:41

From: DannyRS
Got to go out for a bit tonight so I can't do as much as I'd like, figured out git so I fixed a few random things and sent request's for them :)

gametab should be working top to bottom for everything, except for the following which have some minor issues, if someone want's to ever take a look I'll leave here, but their kinda low prio:

GameTab.simba
[Flawed] function GetWeaponName: String; // Some chars sometimes overlap badly on X axis causes random misread text (e.g.Mithril longsword = MithrR longsword)
[Flawed] function GetWeaponData(var WArr: array of TStringArray): Boolean; // Text now overlaps on Y axis, very badly, applied a quick fix that seems to work, but it's messy

I even fixed up the old graphics settings options so we can easily change any settings we want :) :P


Very nice :) those bugs don't seem too bad!

DannyRS

2013-03-01 15:55:57

From: Ashaman88
Very nice :) those bugs don't seem too bad!


Yea it's no biggy, there just kinda unavoidable because Of that weird cursive font jagex like for the roleplay effect :p

I can't honestly see anybody but Narcle wanting to pick attack style based on weapon and attack style :p especially not the average scripter lol,

Do the mob's in 07 even have weakness to certain attack styles? I was under the impression that was all hidden until like 09, guess we can leave it for now ;)

I look forward to using FixGraphics; really easily in every script so we don't get any "omg its not findin this for me" or atleast not from the brightness and stuff haha

Ashaman88

2013-03-01 16:01:51

From: DannyRS
Yea it's no biggy, there just kinda unavoidable because Of that weird cursive font jagex like for the roleplay effect :p

I can't honestly see anybody but Narcle wanting to pick attack style based on weapon and attack style :p especially not the average scripter lol,

Do the mob's in 07 even have weakness to certain attack styles? I was under the impression that was all hidden until like 09, guess we can leave it for now ;)

I look forward to using FixGraphics; really easily in every script so we don't get any "omg its not findin this for me" or atleast not from the brightness and stuff haha


haha yeah it will be much easier to check for that

Hobbit

2013-03-01 18:59:36

Another FYI:
http://villavu.com/forum/showthread.php?t=97449

Ashaman88

2013-03-01 19:24:44

updated the outline constants in globals.simba
updated depositing bank functions in bank.simba
updated all inventory functions in inventory.simba

Justin

2013-03-01 22:21:00

From: Ashaman88
updated the outline constants in globals.simba
updated depositing bank functions in bank.simba
updated all inventory functions in inventory.simba


FYI: https://github.com/SRLJustin/SRL-007/commit/ecbb945303bd02ef444de122c176d96d63eb5b45

Ashaman88

2013-03-01 22:24:48

From: Justin
FYI: https://github.com/SRLJustin/SRL-007/commit/ecbb945303bd02ef444de122c176d96d63eb5b45


Very nice :) We making some nice progress

Le Jingle

2013-03-02 02:45:56

Fixed the GetChooseOptions, should now work flawless w/o mistakes :]]
https://github.com/SRL/SRL-007/pull/19

Gonna sleep moar :]

Ashaman88

2013-03-02 02:49:54

From: Le Jingle
Fixed the GetChooseOptions, should now work flawless w/o mistakes :]]
https://github.com/SRL/SRL-007/pull/19

Gonna sleep moar :]


Nice ! I'll check it out tomorrow. Just finished worldswitcher.simba :) should switch worlds like a charm now. now you can put worldinfo as a player parameter to select that world.


i still need to put in a check for if the world is full though

edit:

put in check for full world. should now be completed

Le Jingle

2013-03-02 18:08:45

With all our hard work, I think most of the import include files are working now, no?

Furthermore, what steps are left to pushing these files, and what should we look to update or do now?

I ask because I feel idle, and I've moved to browsing/figuring out what to update in the misc folder (ex. buysell, bitmaps, etc)

DannyRS

2013-03-02 18:18:30

From: Le Jingle
With all our hard work, I think most of the import include files are working now, no?

Furthermore, what steps are left to pushing these files, and what should we look to update or do now?

I ask because I feel idle, and I've moved to browsing/figuring out what to update in the misc folder (ex. buysell, bitmaps, etc)


I'm doing buysell now ;)

Le Jingle

2013-03-02 18:20:56

From: DannyRS
I'm doing buysell now ;)


Ah, okay, let me know if you need anything, I've previously updated the SRL-5 one so I have some reference to those functions.

Edit: Also, has anyone had problems with the getChooseOptions? Afaik, it's completely functional but I was limited to my own testing experiences.

DannyRS

2013-03-02 18:24:21

From: Le Jingle
Ah, okay, let me know if you need anything, I've previously updated the SRL-5 one so I have some reference to those functions.

Edit: Also, has anyone had problems with the getChooseOptions? Afaik, it's completely functional but I was limited to my own testing experiences.


Almost Everything in core is functional now I think ;) GJ guys

Hobbit

2013-03-02 18:32:24

Have anyone done system testing (as in running a script) or just individual component testing. Some people have been downloading the repo and messaging me saying SMART is loading EOC still?

Yes, good job on all the hard word everyone :)

DannyRS

2013-03-02 18:35:20

From: Hobbit
Have anyone done system testing (as in running a script) or just individual component testing. Some people have been downloading the repo and messaging me saying SMART is loading EOC still?

Yes, good job on all the hard word everyone :)


What I had for gametab, probably Incomplete now

program new;

{$DEFINE SMART8}
{$I SRL-007/SRL.simba}
//{$I SRL-007/SRL/misc/SmartGraphics.simba}

var
x,y:integer;
WArrTest: array of TStringArray;

Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active := True;
end;

begin
DeclarePlayers;
SetupSRL;
LoginPlayer;

{Working / Updated}
//for x:=1 to 14 do
//begin
//GameTab(x);
//end;
//for x:=1 to 4 do
//begin
//SetFightMode(x);
//end;
//SetFightMode(1);
//WriteLn(tostr(GetCombatLevel));
//Retaliate(True);
//WriteLn(tostr(SkillCoords(1, 1)));
//WriteLn(tostr(GetSkillInfo('hp', False)));
//if IsRunOn(true) then WriteLn('run on');
//WriteLn(tostr(GetXP('attk')));
//WriteLn(tostr(XPTillNextLevel('strength')));
//WriteLn(tostr(HPPercent(false)));
//TakeOffAllExcept([]);
//WriteLn(tostr(CurrentWorld));
//SetRun(true);
//WriteLn(tostr(GetRunEnergy));
//WriteLn(tostr(CountColorTolerance(2369440,570,360,600,360,20)));
//WriteLn(GetMusic);
//DoEmote(36);
//HoverOnlineFriend;
//for x := TAB_COMBAT to TAB_MUSIC do
//if (gametab(x)) then
//WriteLn('saw tab: '+tostr(x));
//mmouse(mscx,mscy+20,5,5);
//writeln(tostr(((MSY2-MSY1)/2)+MSY1));
//CastSpellByNumber(63);
//FixGraphics;
//HoverSkill('herb',false);
//SetGraphics(4,1,1,1,True,True,True,False);
//for x := TAB_COMBAT to TAB_MUSIC do
//if (tabExists(x)) then
//WriteLn('saw tab: '+tostr(x));
//WriteLn(tostr(GetSkillLevel('mining')));
//HoverOnlineFriend;
{ Flawed }
//GetWeaponData(WArrTest);
//for x:=0 to high(WArrTest) do
//for y:=0 to high(WArrTest[x]) do
//WriteLn(WArrTest[x]);
end.

Le Jingle

2013-03-02 18:35:58

From: Hobbit
Have anyone done system testing (as in running a script) or just individual component testing. Some people have been downloading the repo and messaging me saying SMART is loading EOC still?

Yes, good job on all the hard word everyone :)


It loads fine for me, I think the most confusing part is the directories, they seem out of sort (in terms of making the includes flow properly).

I think there's also quite a bit of clutter files from EoC RS that could be removed too, but for now, it loads the old school client ok for me. (Haven't looked either, but is there a world specifier for which old school world to load up? or is random every time?)

Ashaman88

2013-03-02 18:54:38

From: Le Jingle
It loads fine for me, I think the most confusing part is the directories, they seem out of sort (in terms of making the includes flow properly).

I think there's also quite a bit of clutter files from EoC RS that could be removed too, but for now, it loads the old school client ok for me. (Haven't looked either, but is there a world specifier for which old school world to load up? or is random every time?)


I think justin just pulled a request to add that world option back in. Also worldswitcher is down so you can just put something in the worldinfo parameter and it will do that world.

Also last I check eph hadn't sent a pull request for the flag and map stuff, is that still pending or did I miss something?


And to Hobbit, it loads up oldschool fine if they dl it correctly.

I'm also about 75% done with symbols.simba :)

All of the open bank functions need to be updated with new colors and what not, I only got around to updating lumbridge.


Haven't had a chance to test the new chooseoptions yet, but I will :)

Is there any major core functions we are missing? I think we might have all of them. Just the sweet stuff like opening different banks aren't done.

I guess we can start focusing on randoms if there isn't anything else

Hobbit

2013-03-02 19:40:02

I already merged euphs commit

Ashaman88

2013-03-02 19:42:28

From: Hobbit
I already merged euphs commit


Sweet then just the extras features and randoms left?

DannyRS

2013-03-02 19:56:36

From: Le Jingle
Ah, okay, let me know if you need anything, I've previously updated the SRL-5 one so I have some reference to those functions.


@Le Jingle

After my pull is merged, buysell.simba,

When you can, could you do these, Idk wtf they are supposed to be doing lol,


FindItemsArray
FindItems
SellItems - uses FindItems

Le Jingle

2013-03-02 19:59:35

From: DannyRS
@Le Jingle

After my pull is merged, buysell.simba,

When you can, could you do these, Idk wtf they are supposed to be doing lol,


FindItemsArray
FindItems
SellItems - uses FindItems


Will do ;)

WT-Fakawi

2013-03-04 11:36:09

Is everybody still aware how we checked randoms? FTWait ftw!

Ashaman88

2013-03-18 22:02:54

Has anyone tested findblackchatmessage any? I'm getting some crazy wrong results when I run writeln(getblackchatmessage)

DannyRS

2013-03-18 22:32:18

From: Ashaman88
Has anyone tested findblackchatmessage any? I'm getting some crazy wrong results when I run writeln(getblackchatmessage)


Haven't tested, but from what I see in the chat box, the text overlaps badly on j y g etc, anything with a low hanging bottom, not sure how to overcome that other than maybe manually sorting the TPA somehow?

Like if lines are present along the top and bottom, check if they are joined with the TPA in the above / below text then remove those points?

Ashaman88

2013-03-19 00:02:10


9P nruge rumPp oI rocn.

:(

Le Jingle

2013-03-19 00:13:55

From: Ashaman88

9P nruge rumPp oI rocn.

:(

I'll look at it too, sec

Edit:

It's because of:

function TextCoords(textn: Integer): TPoint;
begin
Result.X := 15;
Result.Y := 351 + (14 * (textn - 1));
end;

The Result.Y is + 4 more than needed. I think this might be a small change (due to main screen getting some better origin lines to make it, the main screen, look outlined)?

I know that the RS EoC game has about a +4 offset due to the same thing, figured they added it to their oldschool game too now?

Anyhow, let me know if that works for you, and if it does, I'll submit a pull.

Ashaman88

2013-03-19 00:23:36


Welcome to RuneScape.
A freshly. m- ade triang. le sandwich.
YuckI donct like cabbag. e.
Useful for lig. hting. a fire.
Mmm this looks tasty. .
Looks aft-er y. our f-arming. tools.
Ahhh. Isnct it cute.F
Gnomes sit on these.


Best I could get, let me know if you cant get it better

Le Jingle

2013-03-19 01:38:54

From: Ashaman88



Best I could get, let me know if you cant get it better

Might have sneakily :ninja:'d answer in my last post, so this is to make sure it's seen by ya'll <3

Ashaman88

2013-03-19 02:52:49

From: Le Jingle
Might have sneakily :ninja:'d answer in my last post, so this is to make sure it's seen by ya'll <3


Muchhhh better! <3