SRL Archive - General

Rs_GetUpTextAt fix?


Naike

2009-11-17 07:53:18

It's been working 90% for a very long time, just wondering if it was going to be fixed soon?

Otherwise I make some kind of
IsStringSimiliar(Percent: Integer; S1, S2: String): Boolean;

noidea

2009-11-17 08:02:54

I have noidea, but the point of this post is to tell you you spelled percent wrong :p

Naike

2009-11-17 08:06:16

Procent = Swedish :p

Home

2009-11-17 15:34:14

Prosentti = Finnish =)

~Home :P

Gu3st...

2009-11-17 15:36:20

Is it percent?
Prosent = Norwegian.

Sabzi

2009-11-17 15:54:23

From: Home
Prosentti = Finnish =)

~Home :P


százalék = Hungarian :D
And they say we are language relatives (or whatever it's called) … But I don't really the believer of that.

Naike

2009-11-17 15:56:02

I should infract all of you…
I really should.

Stay on topic, for once.

Home

2009-11-18 10:11:26

Okay Sorry Nick, well for what i use for blue text is count Blueish color in Area. :)

Freddy1990

2009-11-19 12:14:11

I will infract all of you if you keep off-topic, this isn't a spam hole.

From: N1ke!
It's been working 90% for a very long time, just wondering if it was going to be fixed soon?


Hmm, if people don't tell me something doesn't work properly, then why do they expect me to fix it? :closedeyes: I'll look into it

EDIT: There's your problem:
{*******************************************************************************
function GetUpText: String;
By: Freddy1990
Description: Returns text in upperleft corner.
*******************************************************************************}

function GetUpText: string;
begin
Result := rs_GetUpTextAt(8, 8, 25);
end;

Try:
{*******************************************************************************
function GetUpText: String;
By: Freddy1990
Description: Returns text in upperleft corner.
*******************************************************************************}

function GetUpText: string;
begin
Result := rs_GetUpText;
end;

As I already said like a month or 2 ago in the dev section when someone was whining: rs_GetUpTextAt is NOT made to get the text in the upperleft corner as I explained before, it's made to get text with UpChars in other places, like on interfaces.

Naike

2009-11-19 14:09:22

Thank you freddy, I check and get back to you.

Freddy1990

2009-11-19 16:40:07

From: N1ke!
Thank you freddy, I check and get back to you.


Last time I checked it worked nearly 100%, so…

Home

2009-11-19 16:42:48

From: Freddy1990
Last time I checked it worked nearly 100%, so…


People should talk more to Freddy and listen him more, those are my thoughts. :)

Ohh and Hi Freddy :)

~Home

Naike

2009-11-20 16:19:09

From: Freddy1990
Last time I checked it worked nearly 100%, so…


So.. it doesn't work with Rs_GetUpText.
When did you test it last time?

Writeln(Rs_GetUpText); results ";." at Combat style.

It's not a SRL matter, as I've played around with Rs_GetUpTextAt as well, and it actually gave better results :redface:

E: I think I was the one whining, as this is one of the most important functions in whole SCAR I wouldn't say it's whining saying it doesn't work. Only reason we chose Rs_GetUpTextAt in the first place, was because Rs_GetUpText was broken.

Freddy1990

2009-11-22 08:53:37

From: N1ke!
So.. it doesn't work with Rs_GetUpText.
When did you test it last time?

Writeln(Rs_GetUpText); results ";." at Combat style.

It's not a SRL matter, as I've played around with Rs_GetUpTextAt as well, and it actually gave better results :redface:

E: I think I was the one whining, as this is one of the most important functions in whole SCAR I wouldn't say it's whining saying it doesn't work. Only reason we chose Rs_GetUpTextAt in the first place, was because Rs_GetUpText was broken.

I tested it the last time I fixed it, if you would've used it in SRL when it was fixed you would've noticed when it'd broken and then you could've notified me… So next time, don't make me rush to fix something if you don't intend to use it…

EDIT:
Walk here
Walk here
Walk here
Walk here

Stats
Stats
Quest List
Achievement Diaries
Inventory
Inventory
Worn Equipment
Worn Equipment
Prayer List
Prayer List
Magic Spellbook
Magic Spellbook
Magic Spellbook

Notes
Notes
Notes
Music Player
Emotes
Options
Clan Chat
Ignore List
Objectives


Chop down Tree / 1 more options
Chop down Tree / 1 more options
Chop down Tree / 1 more options
Chop down Tree / 2 more options






Walk here
Walk here
Walk here
Walk here
Walk here
Walk here
Public Quick Chat / 1 more options
View Game / 2 more options
View Private / 3 more options
View Trade / 3 more options
View Assist / 3 more options
Report Abuse


Quest List
Combat Styles
Punch
Punch
Punch
Kick
Combat Styles
Combat Styles
Block
Block
Auto Retaliate
Auto Retaliate
Auto Retaliate
Auto Retaliate


Options
Options
Ignore List
Friends List
Report Abuse
Report Abuse
Objectives
Report Abuse
View Trade / 3 more options
View Clan / 3 more options
View Private / 3 more options
View Public / 4 more options
View Game / 2 more options
View All
Walk here / 1 more options
Turn run mode on / 1 more options
Log Out
Advisor
Advisor

Walk here
Ok
Open link
Open link
Ok
Ok
Open link
Open link
Open link
Open link
Walk here / 1 more options
Walk here
Walk here
Walk here
Walk here
Walk here / 1 more options
Walk here / 1 more options
Walk here
Walk here


Abort
Abort

Quest List
Quest List
Give random objective
Clear objective
Give random objective
Give random objective


Quest List

View Quest Journal / 1 more options
View Quest Journal / 1 more options
View Quest Journal / 1 more options
View Quest Journal / 1 more options
View Quest Journal / 1 more options
View Quest Journal / 1 more options
Reverse group order
Reverse group order
Filter quests
Filter quests
Worn Equipment
Prayer List
Prayer List
Prayer List
Activate




Activate
Activate

Achievement Diaries
Worn Equipment

Remove Members object / 1 more options
Remove Members object / 1 more options

Remove Gloves / 1 more options
Remove Members object / 1 more options
Show Price-checker

Show Price-checker
Show Equipment Stats
Show Equipment Stats

Show Items Kept on Death
Show Items Kept on Death
Remove Members object / 1 more options
Remove Members object / 1 more options
Remove Zamorak kiteshield / 1 more options
Remove Zamorak kiteshield / 1 more options


Inventory
Emotes
Emotes
Music Player
Notes
Notes

Add note
Delete / 1 more options
Delete / 1 more options
Delete / 1 more options
Music Player
Click to play Anywhere / 1 more options
Click to play Animal Apogee / 1 more options
Click to play Ambient Jungle / 1 more options
Click to play Ambient Jungle / 1 more options
Click to play Altar Ego / 1 more options
Click to play Alone / 1 more options
Click to play Al Kharid / 1 more options
Click to play The Adventurer / 1 more options
Click to play 7th Realm / 1 more options
Click to play Al Kharid / 1 more options
Click to play Ardougne Ago / 1 more options
Click to play Artistry / 1 more options
Click to play Attack4 / 1 more options
Click to play Autumn Voyage / 1 more options
Click to play Bandit Camp / 1 more options
Click to play Aztec / 1 more options
Click to play Attack6 / 1 more options
Click to play Attack6 / 1 more options
Click to play Attack5 / 1 more options
Click to play Attack4 / 1 more options
Click to play Attack5 / 1 more options
Click to play Attention / 1 more options
Click to play Baroque / 1 more options
Click to play Beyond / 1 more options
Click to play Barbarianism / 1 more options
Click to play Black of Knight / 1 more options
Click to play Blistering Barnacles / 1 more options
Click to play Bolrie s Diary / 1 more options
Click to play Book of Spells / 1 more options
Click to play Body Parts / 1 more options
Click to play Bone Dance / 1 more options
Click to play Bounty Hunter Level 3 / 1 more options
Click to play Camelot / 1 more options
Click to play Castlewars / 1 more options
Click to play Cave of the Goblins / 1 more options
Click to play Cavernous Mythology / 1 more options
Click to play Chompy Hunt / 1 more options
Click to play Chamber / 1 more options
Click to play The Chosen / 1 more options
Click to play Command Centre / 1 more options
Click to play Conspiracy: Part 2 / 1 more options
Click to play Competition / 1 more options
Click to play Claustrophobia / 1 more options
Click to play Creature Croelty / 1 more options
Click to play Crystal Cave / 1 more options
Click to play Dead Quiet / 1 more options
Click to play Davy Jones s Locker / 1 more options
Click to play Desert Island Bear / 1 more options
Click to play The Desert / 1 more options
Click to play Desert Smoke / 1 more options
Click to play Dogs of War / 1 more options
Click to play Distant Land / 1 more options
Click to play Dorgeshuun Deep / 1 more options
Click to play Dogs of War / 1 more options
Click to play Dragontooth Island / 1 more options
Click to play Dusk in Yu biusk / 1 more options
Click to play Dreamstate / 1 more options
Click to play Elven Seed / 1 more options
Click to play Espionage / 1 more options
Click to play Espionage / 1 more options
Click to play Espionage / 1 more options
Walk here Ownings4 (level: 3) / 5 more options
Walk here Ownings4 (level: 3) / 5 more options
Walk here Ownings4 (level: 3) / 5 more options
Stats
Stats
Stats
Stats
Stats
View / 1 more options
View / 1 more options
View / 1 more options
View / 1 more options
View / 1 more options

View / 1 more options


Walk here
Walk here
Walk here Ownings4 (level: 3) / 5 more options
Walk here Ownings4 (level: 3) / 4 more options
Chop down Tree / 3 more options
Walk here
Chop down Oak / 1 more optionsl
Walk here / 1 more options
Walk here / 1 more options


Walk here Qmotion6 (level: 42) / 3 more options
Walk here Qmotion6 (level: 42) / 3 more options
Walk here
Walk here
Walk here
Attack Giant spider (level: 2) / 3 more options
Walk here / 1 more options
Walk here / 1 more options
Walk here
Walk here
Walk here
Chop down Tree / 1 more options
Attack Giant spider (level: 2) / 5 more options
Chop down Dead tree / 2 more options
Walk here
Walk here
Walk here
Walk here / 2 more options


Walk here / 1 more options
Chop down Tree / 2 more options
Chop down Tree / 2 more options
Chop down Tree / 1 more options
Chop down Tree / 4 more options
Chop down Yew / 3 more options
Chop down Tree / 5 more options
Chop down Tree / 1 more options
Chop down Tree / 4 more options
View / 1 more options
View / 1 more options
View / 1 more options
View / 1 more options
View / 1 more options
View / 1 more options
Worn Equipment
Turn run mode on / 1 more options


Walk here

Turn quick prayers on / 1 more options
Turn quick prayers on / 1 more options

Worn Equipment
Achievement Diaries
Read Journal
Read Journal
Read Journal
Read Journal
Read Journal
Read Journal

Inventory
Remove Members object / 1 more options
Achievement Diaries
Inventory
Achievement Diaries
Use Air talisman / 3 more options
Wear Ghostspeak amulet / 3 more options
Use Coins / 2 more options
Wear Ghostspeak amulet / 3 more options
Dunno, seems to work fine to me…

Sir R. M8gic1an

2009-11-22 09:04:49

It really depends on what scar you are using… with 3.21 and SRL Dev RS GetUpText is working nearly perfect, only it sometimes misinterprets it suchs as

Mine Rock -> Mine R.ck

~RM

Freddy1990

2009-11-22 09:07:12

From: Rasta Magician
It really depends on what scar you are using… with 3.21 and SRL Dev RS GetUpText is working nearly perfect, only it sometimes misinterprets it suchs as

Mine Rock -> Mine R.ck

~RM


SCAR 3.22 has rs_GetUpText fixed, not 3.21 … And as I said, rs_getUpTextAt doesn't compensate for certain things which causes it to fuck up every now and then…

This is from rs_GetCustomSizeUpText:
Walk here
Walk here
Walk here


Graphics Settings
Graphics Settings
Graphics Settings
Walk here
Walk here
Attack Giant spider (level: 2) / 2 more options
Attack Giant spider (level: 2) / 2 more options
Attack Spider (level: 1) / 4 more options
Walk here / 1 more options
Walk here
View Game / 2 more options
View Game / 2 more options
View Private / 3 more options
View Clan / 3 more options
View Trade / 3 more options
View Assist / 3 more options

Walk here
Objectives
View / 1 more options
View / 1 more options
Friends List
Message Svenekillen / 2 more options
Message Clyptic / 2 more options

Objectives
Objectives
Objectives


Clear objective
Clan Chat
Options
Toggle Run
Toggle Split Private Chat

Toggle Number of Mouse Buttons

Emotes
Raspberry / 1 more options
Raspberry
Yawn
Shrug
Panic
Blow Kiss
Panic
Music Player
Click to play All s Fairy in Love and War / 1 more options
Click to play 7th Realm / 1 more options
Click to play All s Fairy in Love and War / 1 more options
Click to play Alternative Root / 1 more options
Click to play Ambient Jungle / 1 more options
Click to play Arabian3 / 1 more options
Click to play Arma Gonna Get You / 1 more options
Click to play Armadyl Alliance / 1 more options
Click to play Attack3 / 1 more options
Click to play Attack3 / 1 more options
Click to play Attack3 / 1 more options
Click to play Aye Car Rum Ba / 1 more options
Click to play Background / 1 more options
Click to play Bandos Battalion / 1 more options
Click to play Book of Spells / 1 more options
Click to play Bounty Hunter Level 2 / 1 more options
Click to play Catch Me If You Can / 1 more options
Click to play Chamber / 1 more options
Click to play The Chosen Commander / 1 more options
Click to play Clan Wars / 1 more options
Click to play The Columbarium / 1 more options
Click to play Crystal Cave / 1 more options
Click to play Creature Cruelty / 1 more options
Click to play Dangerous Logic / 1 more options
Click to play Dead Quiet / 1 more options
Click to play Desert Heat / 1 more options
Click to play The Desolate Isle / 1 more options
Click to play Don t Panic Zanik / 1 more options
Click to play The Enchanter / 1 more options
Click to play Expanse / 1 more options
Click to play Expanse / 1 more options
Click to play Expanse / 1 more options
Walk here Dejonas007 (level: 4) / 3 more options
Walk here Dejonas007 (level: 4) / 3 more options
Walk here Dejonas007 (level: 4) / 3 more options
Walk here
Notes
Notes
Prayer List
Prayer List
Cast Charge Fire Orb
Autocast Water Bolt / 1 more options
Autocast Magic Dart / 1 more options
Autocast Flames of Zamorak / 1 more options
Cast Enfeeble
Autocast Saradomin strike / 1 more options
Cast High Level Alchemy
Autocast Wind Wave / 1 more options
Walk here
Chop down Tree / 2 more options
Chop down Tree / 2 more options
Chop down Tree / 2 more options
Walk here
Walk here
Walk here
Walk here
Attack Giant spider (level: 2) / 2 more options
Walk here
Walk here
Attack Goblin (level: 2) / 2 more options
Chop down Tree / 2 more options
Chop down Tree / 2 more options
Chop down Tree / 2 more options

EDIT: If you could provide me with a proper case where things go wrong, I'd have something to go on…