Hobbit
2013-02-27 23:21:38
- 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.
2013-02-27 23:21:38
2013-02-27 23:44:45
2013-02-28 01:11:15
2013-02-28 04:36:50
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?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)
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)
2013-02-28 07:50:27
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
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 :\
2013-02-28 08:53:38
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
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
2013-02-28 09:49:37
From: DannyRS
found 07 myself, wheres your post with .zip I couldn't find it
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
2013-02-28 09:57:23
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
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
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
2013-02-28 10:08:38
From: Ashaman88
Aww I getcha, so you wanna work on updating all the fonts :) :) :)
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
2013-02-28 10:16:58
2013-02-28 11:12:22
From: Le Jingle
I think you can grab all the text from a game file, wouldn't know where to start on that though.
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 :/
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 :/
2013-02-28 15:09:13
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)
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.
2013-02-28 23:25:42
From: Le Jingle
Did you pull them form my git? Gahhhhh @ myself >.< (And ty Justin!!!)
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 :)
2013-03-01 01:20:50
2013-03-01 01:44:29
From: Hobbit
Just an FYI
http://villavu.com/forum/showthread.php?t=97019
2013-03-01 07:17:11
From: Le Jingle
Ah nice, I think this is pertitent to specifically Randoms, I think?
@J J;)
2013-03-01 09:28:34
2013-03-01 15:18:27
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
2013-03-01 15:55:57
From: Ashaman88
Very nice :) those bugs don't seem too bad!
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
2013-03-01 18:59:36
2013-03-01 19:24:44
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
2013-03-01 22:24:48
From: Justin
FYI: https://github.com/SRLJustin/SRL-007/commit/ecbb945303bd02ef444de122c176d96d63eb5b45
2013-03-02 02:45:56
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 :]
2013-03-02 18:08:45
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)
2013-03-02 18:20:56
From: DannyRS
I'm doing buysell now ;)
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.
2013-03-02 18:32:24
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 :)
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.
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 :)
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?)
2013-03-02 19:40:02
2013-03-02 19:42:28
From: Hobbit
I already merged euphs commit
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.
FindItemsArray
FindItems
SellItems - uses FindItems
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
2013-03-04 11:36:09
2013-03-18 22:02:54
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)
2013-03-19 00:02:10
2013-03-19 00:13:55
From: Ashaman88
9P nruge rumPp oI rocn.
:(
function TextCoords(textn: Integer): TPoint;
begin
Result.X := 15;
Result.Y := 351 + (14 * (textn - 1));
end;
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.
2013-03-19 01:38:54
From: Ashaman88
Best I could get, let me know if you cant get it better
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