PDA

View Full Version : Currently Doing List



DannyRS
02-28-2013, 12:20 PM
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
02-28-2013, 01:19 PM
Updated OP.

Le Jingle
02-28-2013, 02:51 PM
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
02-28-2013, 03:12 PM
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
02-28-2013, 03:18 PM
I think I am going to take a look at mapwalk, if that is okay with everyone?

Ashaman88
02-28-2013, 03:21 PM
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
02-28-2013, 04:04 PM
Working on SPS and Random Events.

Le Jingle
02-28-2013, 05:26 PM
J J; for the Random Events portion, are you detecting and solving?

J J
02-28-2013, 05:50 PM
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
02-28-2013, 05:55 PM
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
02-28-2013, 07:38 PM
I'm 70%ish through gametab, damn I'm slow lol, slow and steady wins the race!

Ashaman88
02-28-2013, 07:41 PM
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
02-28-2013, 08:02 PM
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
02-28-2013, 08:06 PM
I have alot done with gametabs.. such as switching tabs and such.

DannyRS
02-28-2013, 08:10 PM
I have alot done with gametabs.. such as switching tabs and such.

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

J J
02-28-2013, 08:10 PM
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
02-28-2013, 08:12 PM
:( 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
02-28-2013, 08:18 PM
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
02-28-2013, 08:21 PM
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
02-28-2013, 08:22 PM
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
02-28-2013, 08:23 PM
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
02-28-2013, 08:27 PM
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
02-28-2013, 08:30 PM
How does it make more work? about 2 mins of moving files around me thinks :)

DannyRS
02-28-2013, 08:38 PM
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
02-28-2013, 08:41 PM
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
02-28-2013, 08:50 PM
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
02-28-2013, 09:29 PM
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
03-01-2013, 12:06 AM
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
03-01-2013, 12:11 AM
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
03-01-2013, 12:21 AM
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
03-01-2013, 12:41 AM
Thanks for adding those back justin!

DannyRS
03-01-2013, 12:48 AM
Almost ready to pull (? Idk git terminology) entire gametab.simba, if I can work out how to use Git lol

Justin
03-01-2013, 12:51 AM
Thanks for adding those back justin!
No worries!


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
03-01-2013, 12:56 AM
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
03-01-2013, 01:38 AM
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
03-01-2013, 01:39 AM
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
03-01-2013, 01:46 AM
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
03-01-2013, 01:48 AM
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
http://puu.sh/2a2OD

DannyRS
03-01-2013, 01:52 AM
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
03-01-2013, 02:47 AM
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
03-01-2013, 02:55 AM
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
03-01-2013, 03:17 AM
Pretty much done with bank.simba, will pull when finished with final tweaks... 'twas more of a pain than I thought

Justin
03-01-2013, 03:36 AM
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
03-01-2013, 03:57 AM
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
03-01-2013, 03:58 AM
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
03-01-2013, 04:12 AM
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
03-01-2013, 04:13 AM
I think your method of appending 07 to it works fine.

Justin
03-01-2013, 04:15 AM
I'm all for xxxxx07, works well :)

Le Jingle
03-01-2013, 04:25 AM
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
03-01-2013, 04:27 AM
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
03-01-2013, 04:32 AM
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
03-01-2013, 04:50 AM
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
03-01-2013, 05:40 AM
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
03-01-2013, 05:49 AM
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
03-01-2013, 05:50 AM
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
03-01-2013, 06:17 AM
Some other files I think that might need changes eventually;
friends, trade, buysell, bitmaps, symbol

I kind of like the buysell/bitmaps, personally

euphemism
03-01-2013, 07:36 AM
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
03-01-2013, 07:59 AM
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
03-01-2013, 12:27 PM
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
03-01-2013, 02:28 PM
I'll submit new gametab soon, then olly can work on moving what ever he wants from it into skills and whatever ;)

Hobbit
03-01-2013, 02:44 PM
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
03-01-2013, 02:52 PM
i'll work on inventory.simba tonight

Olly
03-01-2013, 05:05 PM
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
03-01-2013, 11:36 PM
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
03-01-2013, 11:49 PM
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
03-01-2013, 11:50 PM
http://nala.villavu.com/downloads/master/77e1b7df5c946796750509bf46c71e8f16986d28/

Latest simba build (Today)

Ashaman88
03-02-2013, 12:25 AM
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
03-02-2013, 01:22 AM
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
03-02-2013, 03:44 AM
fixed logout function, i'll take a look at world switching

Le Jingle
03-02-2013, 05:21 AM
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
03-02-2013, 05:58 AM
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
03-02-2013, 06:12 AM
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
03-02-2013, 02:41 PM
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
03-03-2013, 08:46 AM
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
03-04-2013, 10:47 PM
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
03-04-2013, 10:51 PM
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
03-05-2013, 04:44 AM
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
03-05-2013, 12:23 PM
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
03-05-2013, 12:25 PM
Shoot forgot to finish symbols.simba hehe. I'll get the last few symbols tonight

The Claw
03-05-2013, 01:11 PM
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
03-05-2013, 01:51 PM
you could assign me something :D

Hobbit
03-05-2013, 02:32 PM
I've already sent Wizzup the fonts and a reminder to add them.

DannyRS
03-05-2013, 02:38 PM
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
03-05-2013, 02:44 PM
I'm going to guess same updated but different folder in includes folder.

Ashaman88
03-06-2013, 02:21 AM
Great I overwrote my symbol.simba file on accident that had 75% of symbols done... FML!

DannyRS
03-06-2013, 09:30 AM
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
03-06-2013, 06:53 PM
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
03-06-2013, 06:58 PM
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
10-26-2013, 07:42 AM
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.