Results 1 to 5 of 5

Thread: Fourhundredbillion Questions

  1. #1
    Join Date
    Feb 2008
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Fourhundredbillion Questions

    How are you doing? I am working on a first script, and have found myself looking for a bunch of things. I don't know where to search, so I figured that the cheat community would be a nice place to start. My inquiries are as follows:

    1. How to read text from the chatbox (InChat)?
    2. How to read quantity of stacked items (in bank, notes, etc.)?
    3. How to read only the first line of the chatbox, rather than looking for strings in the entire block of chatbox text?
    4. Where can I find an organized list of coordinates for the sections of the screen? (ie. MSX1, MMX1, MCX1, MIX1, etc.)

    Thank you!



    Bonus question: Also, how can XP and level be interpreted from the Skills tab/ where to find legit documentation on this?
    Last edited by icantsing4u; 10-19-2009 at 02:54 AM.

  2. #2
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. If InChat('text') Then
    2. GetQuantity or something, not sure.
    3. GetLastChatText(Variable);
    4. Not sure. Just substitute the first letter (ie. Main Screen = MSX1/Y1/X2/Y2).
    5.

    SCAR Code:
    function GetXP(Skill: Variant): Integer;
    By: Nielsie95
    Description: Returns current xp for a skill. Returns -1 if failed.

    GetXP('strength');

    GetSkillLevel('strength');

    ~Sand

  3. #3
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    5. Core\Globals.scar
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  4. #4
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    GetAmount

    GetAmountEx (Examine)

    http://www.villavu.com/forum/showthread.php?t=48320

    and


  5. #5
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    1. How to read text from the chatbox (InChat)?
    SRL/core/Chat.scar

    2. How to read quantity of stacked items (in bank, notes, etc.)?
    SRL/core/Amount.scar

    3. How to read only the first line of the chatbox, rather than looking for strings in the entire block of chatbox text?
    SRL/core/Chat.scar

    4. Where can I find an organized list of coordinates for the sections of the screen? (ie. MSX1, MMX1, MCX1, MIX1, etc.)
    SRL/core/Globals.scar

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
  •