SRL Archive - RS3 Beginner Scripting Tutorials

Gather character information and display them in your script.


fgamer

2015-03-10 19:35:57

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.

KeepBotting

2015-03-10 19:53:45

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

riwu

2015-03-10 19:55:18

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.

fgamer

2015-03-10 21:31:40

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?

Myn

2015-03-23 00:32:05

From: fgamer


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?