WT-Fakawi
2011-03-25 19:02:55
When performing actions in runescape nowadays a dropdown number appears on the rightside of mainscreen with the result of the action (when you enable the XP Button. I would like to have a function that reads this value. I have looked in gametab, I see beautiful work on XPBar(!) but alas no GainedXP Function.
It is very handy for combat for example. You know in advance you are going to do a full hit. Which gives you time to select a new NPC.
But there are many many circumstances I see use for a function like that.
Gu3st...
2011-03-25 20:50:32
Might be hard to make as it disappears very quickly, though :(
Bonfield
2011-03-25 21:12:39
why not have the xp screen open, and compare the differences? no need to actually read the red xp that flashes up the screen, if you wanted to read that it like that though maybe use freeze.unfreeze in simba? afaik it captures the client and should be good for something like this
Bad Boy JH
2011-03-25 21:21:32
reflection - interfaces (probably).
WT-Fakawi
2011-03-26 04:25:11
From: Bonfield
why not have the xp screen open, and compare the differences? no need to actually read the red xp that flashes up the screen, if you wanted to read that it like that though maybe use freeze.unfreeze in simba? afaik it captures the client and should be good for something like this
Duh, now why didn't I think of this myself! Brilliant. Thanks!
weequ
2011-03-26 07:38:08
I have done this before. I'll try to find the font I made for you.
Edit: Here:
http://villavu.com/forum/showthread.php?t=56611
Narcle
2011-03-26 11:15:46
From: antti mies
I have done this before. I'll try to find the font I made for you.
Edit: Here: http://villavu.com/forum/showthread.php?t=56611
Font is already with Simba now. Wizzup added it awhile ago.
Wanted
2011-03-26 14:30:11
It won't work properly until simba's '3' "51.bmp" char has been updated
http://code.google.com/p/rs2fonts/source/detail?r=11Comparing the differences in the value is probably a better idea than reading the flying numbers.
WT-Fakawi
2011-03-26 14:43:55
From: IceFire908
It won't work properly until simba's '3' "51.bmp" char has been updated http://code.google.com/p/rs2fonts/source/detail?r=11
Comparing the differences in the value is probably a better idea than reading the flying numbers.
It works great, albeit I disabled The Previous boolean. I want the xp bar open at all time. Great coding! Thank you.
Wanted
2011-03-26 15:00:46
From: WT-Fakawi
It works great, albeit I disabled The Previous boolean. I want the xp bar open at all time. Great coding! Thank you.
It does work great, but if you don't have the right 3 bitmap it's not going to read any 3's and if you have something like
132,593 xp
it's going to read as
1,529
I guess you could manually update the char in your folder.