Results 1 to 16 of 16

Thread: Rs_GetUpTextAt fix?

  1. #1
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Rs_GetUpTextAt fix?

    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
    Code:
    IsStringSimiliar(Percent: Integer; S1, S2: String): Boolean;
    Last edited by Naike; 11-17-2009 at 01:06 PM.

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

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

  3. #3
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Procent = Swedish

  4. #4
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Prosentti = Finnish =)

    ~Home :P

  5. #5
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Is it percent?
    Prosent = Norwegian.

  6. #6
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Home View Post
    Prosentti = Finnish =)

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

  7. #7
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I should infract all of you...
    I really should.

    Stay on topic, for once.

  8. #8
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

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

  9. #9
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

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

    Quote Originally Posted by N1ke! View Post
    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? I'll look into it

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


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

    Try:
    SCAR Code:
    {*******************************************************************************
    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.
    Last edited by Freddy1990; 11-19-2009 at 05:28 PM.

  10. #10
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  11. #11
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by N1ke! View Post
    Thank you freddy, I check and get back to you.
    Last time I checked it worked nearly 100%, so...

  12. #12
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Freddy1990 View Post
    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

  13. #13
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Freddy1990 View Post
    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

    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.
    Last edited by Naike; 11-20-2009 at 09:22 PM.

  14. #14
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by N1ke! View Post
    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

    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:
    Code:
    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...
    Last edited by Freddy1990; 11-22-2009 at 02:03 PM.

  15. #15
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    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

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  16. #16
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    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:
    Code:
    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...
    Last edited by Freddy1990; 11-22-2009 at 02:35 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •