Results 1 to 6 of 6

Thread: Gather character information and display them in your script.

  1. #1
    Join Date
    Mar 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default Gather character information and display them in your script.

    Is it possible to gather information about the amount of XP someone has with his current logged in character?

    If so, how?
    I want to script a paintproggy wich displays a player his current level plus how many times he leveled running the bot.

  2. #2
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    BMWxi's getLevelFromXp() might be just what you're looking for, https://villavu.com/forum/showthread.php?t=108474

    He explains usage and practicality in the thread
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  3. #3
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    tabStats.getSkillInfo({skill}, INFO_CURRENT_XP)
    tabStats.getSkillLevel()

    chatbox.getXPBar() gets you the xp on the xp tracker but requires it to be positioned at the certain place.

  4. #4
    Join Date
    Mar 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Awesome, thanks for the information!
    I'll release the script I'm creating soon.

    I called it "All-in-one fisher"
    it contains a GUI including the following locations:
    Draynor Village. (Net fishing) (supports powerfishing & banking)
    Barbian Village. (Net fishing, fly fishing) (supports powerfishing & banking)
    Karamja. (Net fishing, Harpoon fishing, cage fishing.) (supports powerfishing & noting)
    Al kharid. (Net fishing) (supports powerfishing & banking.)
    I've added a fresh paintproggy. Containing the following information:

    Total EXP gained: **** EXP (** Levels gained)
    EXP/Hour:
    Fishes caught:
    Fishes/Hour:
    Profit: I currently have to change the price for one fish manually. I was hoping to find a function wich is collecting G.E data.
    Profit/Hour: Profit per hour made, calculating on how many fishes you've caught.
    Time ran:

    Also I'm finding out if it's possible to add a small button wich allow people to minimize the paintproggy.

    I was asking myself if it's possible to collect a character his current location, no matter where..
    And make the script walk 'm to the selected location?

  5. #5
    Join Date
    Mar 2015
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by fgamer View Post

    I was asking myself if it's possible to collect a character his current location, no matter where..
    And make the script walk 'm to the selected location?
    Yeah, could anyone guide us how to find current player location?

  6. #6
    Join Date
    Aug 2013
    Posts
    63
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Quote Originally Posted by Myn View Post
    Yeah, could anyone guide us how to find current player location?
    Simba Code:
    sps.getPlayerPos();

    put that into your script so that you can find the player position.

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
  •