SRL Archive - SRL Old School RuneScape

Currently Doing List


DannyRS

2013-02-28 07:20:50

List of what we're Currently Doing so we can avoid starting on something someone else is doing and waste hours stumbling over each other :)

Please edit this when you start on something, and when you finish/change onto the next(leave anything unfinished in the To-Do) :) Thanks

Hobbit : Puppet Master
Ashaman88: [Updated] bank.simba [Updated] inventory.simba [Updated] worldswitcher.simba [Updated] symbols.simba
DannyRS : [Looking for task]
Euphemism: [Updating] mapwalk.simba
J J : [Working-On] SPS and Random Events
Justin : [Gathering] Farming random events
Le Jingle: [Updating] text.simba / chat.simba
Olly : UnKnown (Possible UpText With Wizzup)

Justin

2013-02-28 08:19:19

Updated OP.

Le Jingle

2013-02-28 09:51:35

I don't necessarily have a plan of attack, I've worked on the text.simba file (getchooseoptions) a little, returns mostly right string, think it needs proper ocr_filter though and potentially the font ashaman88 posted in another thread.

have also taken some random event NPC's and made ~ 8 objects that contains cts 2 aca picked colors of the random characters that pop up next to a player in-game

Really, I'm open to suggestions for what people might want me to do.


EDIT –> added a new status for my doing list

DannyRS

2013-02-28 10:12:54

From: Le Jingle
I don't necessarily have a plan of attack, I've worked on the text.simba file (getchooseoptions) a little, returns mostly right string, think it needs proper ocr_filter though and potentially the font ashaman88 posted in another thread.

have also taken some random event NPC's and made ~ 8 objects that contains cts 2 aca picked colors of the random characters that pop up next to a player in-game

Really, I'm open to suggestions for what people might want me to do.


EDIT –> added a new status for my doing list


my getchooseoptions from whatever you want to call it (unof inc), was working (with my UpChar font), proper ocr_filter couldn't hurt tho

euphemism

2013-02-28 10:18:01

I think I am going to take a look at mapwalk, if that is okay with everyone?

Ashaman88

2013-02-28 10:21:50

From: euphemism
I think I am going to take a look at mapwalk, if that is okay with everyone?


Go for it! Also eventually and objdtm for 07 would be great too :)

J J

2013-02-28 11:04:43

Working on SPS and Random Events.

Le Jingle

2013-02-28 12:26:47

@J J; for the Random Events portion, are you detecting and solving?

J J

2013-02-28 12:50:16

Mainly gathering info so far as most randoms are NPC's. I will write solvers for those that arent together with others I hope :)

Le Jingle

2013-02-28 12:55:52

From: J J
Mainly gathering info so far as most randoms are NPC's. I will write solvers for those that arent together with others I hope :)


Alright, I know you're good with randoms (hence cup), I'll post some potentially useful info in the general thread;

also, updated my task to namely text.simba / chat.simba for the moment.

DannyRS

2013-02-28 14:38:00

I'm 70%ish through gametab, damn I'm slow lol, slow and steady wins the race!

Ashaman88

2013-02-28 14:41:13

From: DannyRS
I'm 70%ish through gametab, damn I'm slow lol, slow and steady wins the race!


No rush :) I will only be able to work on them during some nights, but nice job!

DannyRS

2013-02-28 15:02:04

From: Ashaman88
No rush :) I will only be able to work on them during some nights, but nice job!


anybody here atm who can tell me how to syntax percentage hp calculation in pascal?, I have current hp and max hp, Round(); is returning 0 :(

Olly

2013-02-28 15:06:24

I have alot done with gametabs.. such as switching tabs and such.

DannyRS

2013-02-28 15:10:21

From: Ollybest
I have alot done with gametabs.. such as switching tabs and such.


:( just went through gametab, did you do the entire thing?

J J

2013-02-28 15:10:37

@DannyRS;
procedure GetHpPercentage;
var
CurrentHP, MaxHP: Integer;
HpPercentage: Extended;

begin
CurrentHP := 33;
MaxHP := 84;
HpPercentage := CurrentHP*1.0/MaxHP;

writeln('CurrentHP = ' + IntToStr(CurrentHP) + ', MaxHP = ' + IntToStr(MaxHP)
+ ', that makes our health percentage: ' + ToStr(HpPercentage));
end;
CurrentHP = 33, MaxHP = 84, that makes our health percentage: 0.39285714285714

Need to convert it to extended by using a number with decimals.. Could also do
procedure GetHpPercentage;
var
CurrentHP, MaxHP, HpPercentage: Integer;

begin
CurrentHP := 33;
MaxHP := 84;
HpPercentage := CurrentHP*100/MaxHP;

writeln('CurrentHP = ' + IntToStr(CurrentHP) + ', MaxHP = ' + IntToStr(MaxHP)
+ ', that makes our health percentage: ' + ToStr(HpPercentage));
end;
CurrentHP = 33, MaxHP = 84, that makes our health percentage: 39


And @Le Jingle; I would like to solve the Molly Random once again :)

Olly

2013-02-28 15:12:45

From: DannyRS
:( just went through gametab, did you do the entire thing?


http://paste.villavu.com/show/4116/

currently in lape and such, will convert over soon. Also can we get some general coding standard? no offense danny and ashaman but
Begin And End Repeat
Or doesn't look very nice in pasacl imo. :p

DannyRS

2013-02-28 15:18:44

From: Ollybest
http://paste.villavu.com/show/4116/

currently in lape and such, will convert over soon. Also can we get some general coding standard? no offense danny and ashaman but
Begin And End Repeat
Or doesn't look very nice in pasacl imo. :p


thats from my unof include, atm mines all lowercase in what I'm doing currently, don't do anymore gametab in PS, I've nearly finished the rest of it :p

Olly

2013-02-28 15:21:37

From: DannyRS
thats from my unof include, atm mines all lowercase in what I'm doing currently, don't do anymore gametab in PS, I've nearly finished the rest of it :p


what more is there to do that i didnt do? :p (im only talking about switching tabs)

DannyRS

2013-02-28 15:22:29

From: Ollybest
what more is there to do that i didnt do? :p (im only talking about switching tabs)


oh, I thought you meant entire gametab.simba

nope just the tab switching, ps look at my topic i just posted it will clean up gametab.simba ALOT

Olly

2013-02-28 15:23:37

From: DannyRS
oh, I thought you meant entire gametab.simba


nope just the tab switching, ps look at my topic i just posted it will clean up gametab.simba ALOT

DannyRS

2013-02-28 15:27:56

From: Ollybest
nope just the tab switching, ps look at my topic i just posted it will clean up gametab.simba ALOT


Yea that looks alot nicer than current, but kinda makes more work :p maybe we should finish updating all first?

Olly

2013-02-28 15:30:26

How does it make more work? about 2 mins of moving files around me thinks :)

DannyRS

2013-02-28 15:38:23

From: Ollybest
How does it make more work? about 2 mins of moving files around me thinks :)


oh I thought you split some of the .simba's, my bad, +1 for new structure, but it's upto Hob I guess ;)

Olly

2013-02-28 15:41:23

From: DannyRS
oh I thought you split some of the .simba's, my bad, +1 for new structure, but it's upto Hob I guess ;)


Well im splitting one of the folders up, which is gametab.simba. So something like "getskilllevel" would be placed in skills.simba and something like gethp would be placed in skills.simba so its relative to the tab :)

Ashaman88

2013-02-28 15:50:01

From: Ollybest
Well im splitting one of the folders up, which is gametab.simba. So something like "getskilllevel" would be placed in skills.simba and something like gethp would be placed in skills.simba so its relative to the tab :)


I'm ok with that and that's all that matters - great job guys :)

Justin

2013-02-28 16:29:44

I'll also be working on adding the doc headers back into the include, not sure who\why it was removed (Maybe a user used the Formatter extension?)

Le Jingle

2013-02-28 19:06:11

From: Justin
I'll also be working on adding the doc headers back into the include, not sure who\why it was removed (Maybe a user used the Formatter extension?)


Well if they were at sometime derived from my includes, I *cough * may have deleted some headers. *whistle* sorrrrry :))))

Justin

2013-02-28 19:11:52

From: Le Jingle
Well if they were at sometime derived from my includes, I *cough * may have deleted some headers. *whistle* sorrrrry :))))


2 hours later.. https://github.com/SRLJustin/SRL-007/commit/9e0dc6063d7362f835f496a0f5d721fa665b170d

All good man :P, Done this while I was at work haha

Le Jingle

2013-02-28 19:21:39

From: Justin
2 hours later.. https://github.com/SRLJustin/SRL-007/commit/9e0dc6063d7362f835f496a0f5d721fa665b170d

All good man :P, Done this while I was at work haha


Dang! very nice :]]] Ty for adding them!

Ashaman88

2013-02-28 19:41:59

Thanks for adding those back justin!

DannyRS

2013-02-28 19:48:44

Almost ready to pull (? Idk git terminology) entire gametab.simba, if I can work out how to use Git lol

Justin

2013-02-28 19:51:22

From: Ashaman88
Thanks for adding those back justin!

No worries!

From: DannyRS
Almost ready to pull (? Idk git terminology) entire gametab.simba, if I can work out how to use Git lol

'Almost ready to do a pull request' I believe is correct.

If you are having trouble\unsure on how to do it just post the .simba here, i'll send in a request for you under your name, i'll try to make a basic guide on how to use git later on

DannyRS

2013-02-28 19:56:32

From: Justin

If you are having trouble\unsure on how to do it just post the .simba here, i'll send in a request for you under your name, i'll try to make a basic guide on how to use git later on


This would be great :)

@Justin, could you do these for me? just as its three functions, compile error vs my gametab

worldswitcher.simba

OpenWorldScreen = anything but what it is for now;
WorldScreen = function below - may want to add WorldScreen to RSReady too


(*
WorldScreen
~~~~~~~~~~~

.. code-block:: pascal

function Worldscreen: boolean;

Returns true if the WorldSelect screen is open

.. note::

by DannyRS

Example:

.. code-block:: pascal

*)
function WorldScreen: Boolean;
begin
Result := (GetTextAtExWrap(16, 3, 107, 12, 0, 5, 1, 0, 0, UpChars)='Select a world');
end;

login.simba - Remove SetAudio(); entirely

Justin

2013-02-28 20:38:02

@DannyRS

Result := (GetTextAtExWrap(16, 3, 107, 12, 0, 5, 1, 0, 0, UpChars)='Select a world')
UpChars? Shouldn't that be UpChars07?

login.simba - Remove SetAudio(); entirely
You mean SetAudioOff; ?
I can't find "SetAudio"

DannyRS

2013-02-28 20:39:24

From: Justin
@DannyRS

Result := (GetTextAtExWrap(16, 3, 107, 12, 0, 5, 1, 0, 0, UpChars)='Select a world')
UpChars? Shouldn't that be UpChars07?


const in globals was UpChars for me, are they 07'd for you? does it matter?

Ashaman88

2013-02-28 20:46:52

From: DannyRS
const in globals was UpChars for me, are they 07'd for you? does it matter?


Should be 07 if we are keeping the same fonts folder (I think default path to fonts is the fonts folder). So should be easier to just leave the fonts as upchars07 if you catch my drift

Justin

2013-02-28 20:48:25

From: DannyRS
const in globals was UpChars for me, are they 07'd for you? does it matter?


What do you have in your C:\Simba\Fonts folder?
It should look like this

DannyRS

2013-02-28 20:52:29

From: Justin
What do you have in your C:\Simba\Fonts folder?
It should look like this


I just replaced old folder's, will the global font constant be updated or shall I replace all with ' ' and 07

globals.simba, game-tab const order


tab_Combat = 21;
tab_Stats = 22;
tab_Quest = 23;
tab_Inv = 24;
tab_Equip = 25;
tab_Prayer = 26;
tab_Magic = 27;
tab_Clan = 31;
tab_Friends = 32;
tab_Ignore = 33;
tab_LogOut = 34;
tab_Options = 35;
tab_Emotes = 36;
tab_Music = 37;
TAB_OBJECTIVES = 38; //not needed but compile error detect() mime

Justin

2013-02-28 21:47:49

From: DannyRS
I just replaced old folder's, will the global font constant be updated or shall I replace all with ' ' and 07

globals.simba, game-tab const order


tab_Combat = 21;
tab_Stats = 22;
tab_Quest = 23;
tab_Inv = 24;
tab_Equip = 25;
tab_Prayer = 26;
tab_Magic = 27;
tab_Clan = 31;
tab_Friends = 32;
tab_Ignore = 33;
tab_LogOut = 34;
tab_Options = 35;
tab_Emotes = 36;
tab_Music = 37;
TAB_OBJECTIVES = 38; //not needed but compile error detect() mime


  TAB_OBJECTIVES = 38; //not needed but compile error detect() mime 
Why not fix the compile error(s)?

DannyRS

2013-02-28 21:55:55

From: Justin
  TAB_OBJECTIVES = 38; //not needed but compile error detect() mime 
Why not fix the compile error(s)?


Domino effect lol, too tired, been doing gametab stuff all day, and just now figured out Git (I hope ?)

Ashaman88

2013-02-28 22:17:22

Pretty much done with bank.simba, will pull when finished with final tweaks… 'twas more of a pain than I thought

Justin

2013-02-28 22:36:54

From: Ashaman88
Pretty much done with bank.simba, will pull when finished with final tweaks… 'twas more of a pain than I thought


Make sure you have the doc headings!

DannyRS

2013-02-28 22:57:43

I finished gametab except for two functions(that work, but can give random text missreadings because of Jagex's funny text spacing)

I'll try find the Doc headings and use git properly tomorrow!

Le Jingle

2013-02-28 22:58:36

Finished chat.simba - will commit, but 1st: need to know the `` font title's [official names?] "" for the old school '07 fonts… :s
Anybody know? Or should I default to something for now, in which will be implemented later? @Hobbit; (guessing I should tag him)

Ashaman88

2013-02-28 23:12:19

From: Le Jingle
Finished chat.simba - will commit, but 1st: need to know the `` font title's [official names?] "" for the old school '07 fonts… :s
Anybody know? Or should I default to something for now, in which will be implemented later? @Hobbit; (guessing I should tag him)


My vote is just the font with 07 at the end. So like upchars07 etc

Hobbit

2013-02-28 23:13:42

I think your method of appending 07 to it works fine.

Justin

2013-02-28 23:15:16

I'm all for xxxxx07, works well :)

Le Jingle

2013-02-28 23:25:45

Alright thanks for the replies guys :]

I'll req. a pull for chat.simba

Will start text.simba (namely getChooseOptions - rest of it is pretty much O.K.) Saturday (Friday == busy for me).

Then see where to go from there, once there :]

Ashaman88

2013-02-28 23:27:39

From: Le Jingle
Alright thanks for the replies guys :]

I'll req. a pull for chat.simba

Will start text.simba (namely getChooseOptions - rest of it is pretty much O.K.) Saturday (Friday == busy for me).

Then see where to go from there, once there :]


Nice job lj :)

Having trouble with choose option in banking functions, can't remember has choose options been updated?

Le Jingle

2013-02-28 23:32:07

From: Ashaman88
Nice job lj :)

Having trouble with choose option in banking functions, can't remember has choose options been updated?


We'll, I've got the function updated for the most part, added some commented-like-line breaks for reffering to, here's my up-to-date snippet so far:

(*
GetChooseOptions
~~~~~~~~~~~~~~~~

.. code-block:: pascal

function GetChooseOptions(TextType: string): Array of TOptions;

Gets the texe from the options menu.

.. note::

by Wizzup? & Narcle
Edit [Old School RS] by : Le Jingle (Feb. 28th, 2013)

Example:

.. code-block:: pascal

*)
Function GetChooseOptions(): Array of TOptions; // args weren't used..
var
I, L, w, h, n, m, cts, bmp, target : Integer;
B, BB, BigBox : TBox;
TPA, TPA1 : TPointArray;
ATPA, tempatpa : T2DPointArray;
begin
target := GetImageTarget;
GetClientDimensions(B.X2, B.Y2);
B := IntToBox(0, 0, B.X2-1, B.Y2-1);
cts := GetColorToleranceSpeed;
ColorToleranceSpeed(1);

FindColorsTolerance(TPA, 4674653, B.X1, B.Y1, B.X2, B.Y2, 0);
if (Length(TPA) < 100) then
begin
ColorToleranceSpeed(cts);
Exit;
end;
ATPA := SplitTPA(TPA, 4);

// DebugATPA(ATPA, ''); // - this looks good...

for i := 0 to High(ATPA) do
begin
B := GetTPABounds(ATPA[i]);
if ((B.x2-B.x1) > 90) and ((B.y2-B.y1) > 18) then
Break
else
B := IntToBox(0, 0, 0, 0);
end;
If (B.x2 = 0) then
begin
ColorToleranceSpeed(cts);
Exit;
end;
BigBox := B;
SetColorToleranceSpeed(3);

B := GetATPABounds(ATPA);

FindColorsTolerance(TPA1, 0, B.X1, B.Y1, B.X2, B.Y2, 0);
CombineTPAWrap(TPA, TPA1, TPA);

ReturnPointsNotInTPAWrap(TPA, B, TPA);

//debugTPA(tpa, ''); // - get percisely the Text TPA for any non-shadow/backdrop in option list

{**
* START Debugging from here............
*
*
**}
SetColorToleranceSpeed(cts);

B := GetTPABounds(TPA);

n := B.Y2 - B.Y1;
m := 15 - n mod 15;
n := n + m;
bmp := CreateBitmap(B.X2 - B.X1 + 3, n + 1);

OffSetTPA(TPA, Point(-B.X1, -B.Y1));
//FastDrawClear(bmp, 0); // ToDo: ??
DrawTPABitmap(bmp, TPA, clRed);
//ocr_FilterUpTextByCharacteristics(GetMufasaBitmap(bmp)); // ToDo: ??
GetbitmapSize(bmp, w, h);

SetTargetBitmap(bmp);
SetLength(ATPA, h div 15);
for i := 0 to High(ATPA) do
FindColorsTolerance(ATPA[i], clRed, 0, i*15, w-1, 15+i*15, 0);

L := High(ATPA);
SortATPAFromFirstPointY(ATPA, Point(w div 2, 0));
SetArrayLength(Result, Length(ATPA));
Result[0].BigBox := BigBox;
for i := 0 to high(ATPA) do
begin
TPA := ATPA[i];
tempatpa := SplitTPAEx(TPA, 1, 10);
SortATPAFromFirstPointX(tempatpa, Point(0, 0));
Result[i].Str := GetTextATPA(tempatpa, 5, 'UpChars07');
BB := GetTPABounds(ATPA[i]);
Result[i].Bounds := IntToBox(BB.X1+B.X1, BB.Y1+B.Y1, BB.X2+B.X1, BB.Y2+B.Y1);
setlength(tempatpa,0);
setlength(TPA,0);
end;
ColorToleranceSpeed(cts);
SetImageTarget(target);
FreeBitmap(bmp);
end;

I think I need to better adjust the box coordinates and line-loops, because the Text TPA's are fine

Olly

2013-02-28 23:50:58

@Le Jingle

ocr_FilterUpTextByCharacteristics(GetMufasaBitmap(bmp)); 
Will not be needed in choose options for 2007 version. :p

And because this is all in ps, change SplitTPAEx to the wrap function version to avoid any (rare) memory leaks :P

Ashaman88

2013-03-01 00:40:49

has anyone been working on inventory.simba? if not I'll probably tackle that next.


i've got all the withdrawing functions working and once inventory is setup depositing should be good too. Also need to update pin stuff for when i get a pin (have to wait 3 days)


-I've only updated a couple of locations for the open bank functions as well

Also for withdrawing I was a punk and updated the referencing so that the top left bank spot is 1,1 as that makes more sense to me…I can switch it back if desired though

Justin

2013-03-01 00:49:29

From: Ashaman88
has anyone been working on inventory.simba? if not I'll probably tackle that next.


i've got all the withdrawing functions working and once inventory is setup depositing should be good too. Also need to update pin stuff for when i get a pin (have to wait 3 days)


-I've only updated a couple of locations for the open bank functions as well

Also for withdrawing I was a punk and updated the referencing so that the top left bank spot is 1,1 as that makes more sense to me…I can switch it back if desired though


I've got 19 hrs left on my pin, I'll work on PIN tomorrow if that's okay?

Ashaman88

2013-03-01 00:50:56

From: Justin
I've got 19 hrs left on my pin, I'll work on PIN tomorrow if that's okay?


for sure go for it. i just pulled my changes, you can work off of that

Le Jingle

2013-03-01 01:17:53

Some other files I think that might need changes eventually;
friends, trade, buysell, bitmaps, symbol

I kind of like the buysell/bitmaps, personally

euphemism

2013-03-01 02:36:59

What's the status on the screen constants? i.e. MMxx, MSxx, MCxx, MBxx, MIxx? Olly sent me the coordinates he decided upon a few days ago, but I wasn't pleased with them and I have come up with a set that seems to fit nicely. Has anyone already updated these?

I have updated everything in flag.simba (Flag finding, compass reading) apart from FlagEx and MouseFlagEx, because those seem to have road color checking, and I am not sure what we want to do with that. Should I wait to commit what I have until after the structure change is in place?

Justin

2013-03-01 02:59:01

From: euphemism
What's the status on the screen constants? i.e. MMxx, MSxx, MCxx, MBxx, MIxx? Olly sent me the coordinates he decided upon a few days ago, but I wasn't pleased with them and I have come up with a set that seems to fit nicely. Has anyone already updated these?

I have updated everything in flag.simba (Flag finding, compass reading) apart from FlagEx and MouseFlagEx, because those seem to have road color checking, and I am not sure what we want to do with that. Should I wait to commit what I have until after the structure change is in place?


Ashamans update has the updated screen constants. (pulled this morning).
Just do a pull request with flag.simba updated now and just add a TODO reminder for the two functions that haven't been updated

Ashaman88

2013-03-01 07:27:42

From: euphemism
What's the status on the screen constants? i.e. MMxx, MSxx, MCxx, MBxx, MIxx? Olly sent me the coordinates he decided upon a few days ago, but I wasn't pleased with them and I have come up with a set that seems to fit nicely. Has anyone already updated these?

I have updated everything in flag.simba (Flag finding, compass reading) apart from FlagEx and MouseFlagEx, because those seem to have road color checking, and I am not sure what we want to do with that. Should I wait to commit what I have until after the structure change is in place?


Yeah all the constants *should* be good to go. Nice job on the flag stuff btw

DannyRS

2013-03-01 09:28:14

I'll submit new gametab soon, then olly can work on moving what ever he wants from it into skills and whatever ;)

Hobbit

2013-03-01 09:44:54

From: euphemism
What's the status on the screen constants? i.e. MMxx, MSxx, MCxx, MBxx, MIxx? Olly sent me the coordinates he decided upon a few days ago, but I wasn't pleased with them and I have come up with a set that seems to fit nicely. Has anyone already updated these?

I have updated everything in flag.simba (Flag finding, compass reading) apart from FlagEx and MouseFlagEx, because those seem to have road color checking, and I am not sure what we want to do with that. Should I wait to commit what I have until after the structure change is in place?


Send a pull request for flag.simba because I think the folder restructure may require some file restructuring also…. I need to look at it more closely.

Ashaman88

2013-03-01 09:52:25

i'll work on inventory.simba tonight

Olly

2013-03-01 12:05:02

From: euphemism
What's the status on the screen constants? i.e. MMxx, MSxx, MCxx, MBxx, MIxx? Olly sent me the coordinates he decided upon a few days ago, but I wasn't pleased with them and I have come up with a set that seems to fit nicely. Has anyone already updated these?


Pshh i just grabbed them from a old srl revision :p

e: also uptext is near enough done, but un usable until simba 993 gets released.

Justin

2013-03-01 18:36:38

From: Ollybest
Pshh i just grabbed them from a old srl revision :p

e: also uptext is near enough done, but un usable until simba 993 gets released.


Do you know if we have a 'beta' for 993?

Le Jingle

2013-03-01 18:49:34

I thought 993 was here -> http://villavu.com/forum/showthread.php?t=97092&highlight=

I'm back, will look over getChooseOptions again, seeing as quite a few other files use it.

I'll then probably repost, if I finish that method today, stating what I'm looking to move onto next (the next file)

Hobbit

2013-03-01 18:50:26

http://nala.villavu.com/downloads/master/77e1b7df5c946796750509bf46c71e8f16986d28/

Latest simba build (Today)

Ashaman88

2013-03-01 19:25:50

From: Le Jingle
I thought 993 was here -> http://villavu.com/forum/showthread.php?t=97092&highlight=

I'm back, will look over getChooseOptions again, seeing as quite a few other files use it.

I'll then probably repost, if I finish that method today, stating what I'm looking to move onto next (the next file)


Yeah I have it write out the choose options and it normally has quite a bit incorrect :/ but still usable though!


See my updates on the todo thread for inventory and bank


edit: what next?

Le Jingle

2013-03-01 20:22:18

From: Ashaman88
Yeah I have it write out the choose options and it normally has quite a bit incorrect :/ but still usable though!


See my updates on the todo thread for inventory and bank


edit: what next?


alright, I'll check it out

also, I think trade.simba/friends.simba might need some updating

also also, think I remember somebody telling me worldswitcher.simba / players.simba / ..maybe? I forget

Ashaman88

2013-03-01 22:44:58

fixed logout function, i'll take a look at world switching

Le Jingle

2013-03-02 00:21:23

I think I've managed to pull all the includes into the proper folders now, after figuring out it's the same thing as downloading the zip from the git and just placing over the includes folder >.> git's a pain

Also, seems to compile SRL-007/srl.simba fine, just that I think simba doesn't recognize the text names (upchars07, etc-07), so I think those string constants are better off as bracketed string literals, maybe just for now, not a big deal to me though, if not needed/considered.

Ashaman88

2013-03-02 00:58:42

From: Le Jingle
I think I've managed to pull all the includes into the proper folders now, after figuring out it's the same thing as downloading the zip from the git and just placing over the includes folder >.> git's a pain

Also, seems to compile SRL-007/srl.simba fine, just that I think simba doesn't recognize the text names (upchars07, etc-07), so I think those string constants are better off as bracketed string literals, maybe just for now, not a big deal to me though, if not needed/considered.


Hmm simba recognizes them for me, are they in your fonts folder?

Working on worldswitcher atm

Le Jingle

2013-03-02 01:12:51

From: Ashaman88
Hmm simba recognizes them for me, are they in your fonts folder?

Working on worldswitcher atm


ah good call, forgot I deleted them yesterday
in other news, as asha works on worldswitcher, I'm fixing getChooseOptions()

Ashaman88

2013-03-02 09:41:42

From: Le Jingle
ah good call, forgot I deleted them yesterday
in other news, as asha works on worldswitcher, I'm fixing getChooseOptions()


If nobody has started on symbols - I'll take a crack at it

euphemism

2013-03-03 03:46:42

Okay, I just sent a pull request with the following changes:

Removed NavBar and Flag bitmaps, updated Book of Knowledge DTM and srl_outline_black color.

Fixed rs_OnMinimap (requires new global bitmap bmpMinimapMask)

Absolutely final changes to the screen constants. Should all be in sensical positions.

In Bank.simba, updated the following to reflect the screen constant changes:

  • MSTPointToBankPoint
  • BankPointToBankIndex
  • BankIndexToBankPoint
  • BankIndexToMSPoint
  • BankIndexToMSBox
I may have broken other things based on the constants changes. If so, my apologies.

Le Jingle

2013-03-04 17:47:11

From: euphemism
Okay, I just sent a pull request with the following changes:

Removed NavBar and Flag bitmaps, updated Book of Knowledge DTM and srl_outline_black color.

Fixed rs_OnMinimap (requires new global bitmap bmpMinimapMask)

Absolutely final changes to the screen constants. Should all be in sensical positions.

In Bank.simba, updated the following to reflect the screen constant changes:

  • MSTPointToBankPoint
  • BankPointToBankIndex
  • BankIndexToBankPoint
  • BankIndexToMSPoint
  • BankIndexToMSBox
I may have broken other things based on the constants changes. If so, my apologies.


nice you^

also, fixed getChooseOptions(), nothing to do with the text (as it should be flawless still), however the ChooseOptions boxes were originating from Point(0, 0) (or close to), so I've added the proper offsets so it doesn't mess up any more. Should be a 100% working getChooseOptions now (found the bug when testing WaitOption()).
Will do what I can in the additive files and random files too.

DannyRS

2013-03-04 17:51:33

From: Le Jingle
nice you^

also, fixed getChooseOptions(), nothing to do with the text (as it should be flawless still), however the ChooseOptions boxes were originating from Point(0, 0) (or close to), so I've added the proper offsets so it doesn't mess up any more. Should be a 100% working getChooseOptions now (found the bug when testing WaitOption()).
Will do what I can in the additive files and random files too.


Nice Nice :p

I sent a pull for 50% fix on trade.simba, all the useful stuff(doubt anyone will ever really use it haha), also changed amount.simba screen detection for trade screens, because of a cyan text bug I found doing trade stuff ;)

Now I'm going to farm some randoms, try get Kidnapped and get the music track names, and detailed screenshots, maybe try a solver if I think I can handle it lol

The Claw

2013-03-04 23:44:40

So is the plan to update the whole of SRL for OSR and then release with SMART, SPS, etc? And then we have a team of developers and a stable include from which to script with? I'm looking forward to re-releasing some of my old scripts :p

DannyRS

2013-03-05 07:23:58

From: The Claw
So is the plan to update the whole of SRL for OSR and then release with SMART, SPS, etc? And then we have a team of developers and a stable include from which to script with? I'm looking forward to re-releasing some of my old scripts :p


Sps and Smart don't need any different plugins as far as I know, we just have to have our font's added to simba, and be added to SRL extention as an added Include? Maybe a seperate one, whatever Wizz and Hobbit want,

Theres supposed to be no updates for this ever (gui based anyway), so once it's stable, it should be stable ;) I'm using it right now with next to no problem :p why not try it early ;)

Ashaman88

2013-03-05 07:25:05

Shoot forgot to finish symbols.simba hehe. I'll get the last few symbols tonight

The Claw

2013-03-05 08:11:53

From: DannyRS
Sps and Smart don't need any different plugins as far as I know, we just have to have our font's added to simba, and be added to SRL extention as an added Include? Maybe a seperate one, whatever Wizz and Hobbit want,

Theres supposed to be no updates for this ever (gui based anyway), so once it's stable, it should be stable ;) I'm using it right now with next to no problem :p why not try it early ;)


I'll give it a shot tomorrow. Will things like GetWaterColor, FindPickaxe, other skills.simba work? There's a lot of old stuff in a script I'm trying to port and need equivalents. Will see how it turns out anyway.

slushpuppy

2013-03-05 08:51:54

you could assign me something :D

Hobbit

2013-03-05 09:32:26

I've already sent Wizzup the fonts and a reminder to add them.

DannyRS

2013-03-05 09:38:05

From: Hobbit
I've already sent Wizzup the fonts and a reminder to add them.


How/where will SRL-OSR be added to Simba Hob? inside main SRL somewhere or separate?

Hobbit

2013-03-05 09:44:27

I'm going to guess same updated but different folder in includes folder.

Ashaman88

2013-03-05 21:21:20

Great I overwrote my symbol.simba file on accident that had 75% of symbols done… FML!

DannyRS

2013-03-06 04:30:20

From: Ashaman88
Great I overwrote my symbol.simba file on accident that had 75% of symbols done… FML!


Gah! Always back it up on desktop or something after working on it for extended periods !

J J

2013-03-06 13:53:06

If anyone gets a random event where you get teleported I would appreciate it. I don't seem to get them and I'm not online often but I do have time to make solvers.

Ashaman88

2013-03-06 13:58:36

From: J J
If anyone gets a random event where you get teleported I would appreciate it. I don't seem to get them and I'm not online often but I do have time to make solvers.


Make a claim on some randoms on the random thread! Just so we don't all start developing for the same ones

salladlobooo

2013-10-26 03:42:36

Exception in Script: Unknown declaration "bmpMinimapMask" at line 115, column 20 in file "C:\Simba\Includes\SRL-OSR\SRL\core\flag.simba"
Could somebody please help me out. I have had this issue for ages. Trying OSRS and using simba 1.0 obv. rs3 runs fine however.