Idea: EQ Choosing - Statrating

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Idea: EQ Choosing - Statrating

#1 Post by MiesterMan »

I'd been trying to work it out in my head how it would function but have been unable.

There is an addon for RoM that compares items and tells you how much more pdef, pattack, etc an item has taking into consideration all the stats on the item and the actual properties of the item. It also tells the calculated dps of weapons as well as the heal bonus amount the magic damage of the weapon will effect.

I wanted to somehow use this in the bot to detect before selling if I should wear the item (as an upgrade to what I already have) or not. I think this would be easy enough to do through a game addon but since this would require romscripts to wear the items I didn't want to have to use romscripts to detect them as well.

Really I have no idea where to start with adding this to the bot so, thx for anything you can do.
kanta
Posts: 424
Joined: Thu Nov 11, 2010 4:08 pm

Re: Idea: EQ Choosing - Statrating

#2 Post by kanta »

You would also need to put in a stat priority check. If it has more stam but less str, for example, you may or may not want to use it. I also think it would be better to have the equipment check done before selling. Maybe as you loot the items or possibly a check before opening the merchant window.
Scout/Knight/Rogue 70/66/66
kanta
Posts: 424
Joined: Thu Nov 11, 2010 4:08 pm

Re: Idea: EQ Choosing - Statrating

#3 Post by kanta »

You'll need to get some info from a coder more skilled then I but.... It looks like you'll have to read the tooltip info and pull values from that. I was trying to look through the code of various files, starting with Rock5's mail functions which lead me to check other files having to do with autosell (don't ask for my logic on the subject shift) which lead me to inventory.lua..... If you want to look at what I was checking, open the file and search for "CInventory:autoSell". The answer is in here somewhere.... I see references to read the right tooltip, which won't help because the defense/attack rating is on the left side which I couldn't find a reference to read it. There are, however, ways I saw to read if it has stats on it. I dunno, just a shot in the dark. I see the info but no idea how to incorporate it into the function you want to make.
Scout/Knight/Rogue 70/66/66
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Idea: EQ Choosing - Statrating

#4 Post by lisa »

I haven't checked out the addon but if you want to use any addon in collaboration with rombot you will need to adjust the code to act similarly to the event monitor.
Have a browse through rock's event monitor code and see if you can determine how the bot gets the info from the addon and work from there.

good luck =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: Idea: EQ Choosing - Statrating

#5 Post by MiesterMan »

For the most part finished: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2571

The more people that use it and give me feedback, the better it'll get. Sadly not all the info available in tooltips is available through memory locations yet. I've been trying to understand what points to what per the addresses and functions but I just can't seem to figure it out. This function will rely on IGF and a new function I made to look at equipment tooltips too.
Post Reply