How can iget the itemlvl and rarity from inboxitem?

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

How can iget the itemlvl and rarity from inboxitem?

#1 Post by Buh » Tue Jan 31, 2017 4:47 pm

Hello

I want to make a (big) tier stones bot. The last thing i must do is to verify the t6 items in my mailbox

Someone have an idea how to solve this to compare, if its >lvl 94 and this item is blue?

Greetings

Buh

PS: In a few months, if i have enough time, i will try to make a bot for the most of the morrok wallinder quests

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: How can iget the itemlvl and rarity from inboxitem?

#2 Post by BlubBlab » Wed Feb 01, 2017 7:24 pm

There are some user function who do analyze items I don't know from one is mine and the other is .. I forgot but a lot older.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Buh
Posts: 45
Joined: Thu Dec 10, 2015 12:39 am

Re: How can iget the itemlvl and rarity from inboxitem?

#3 Post by Buh » Thu Feb 02, 2017 12:12 pm

hey

Thank you for your fast answer. Can you post an example code? Can you imagine?

First i thought i can read the items name and convert it into a link so i can see / extract its id from extraction its rarity/level but this seems to be impossible
The other thing could be the Widget GameTooltip:SetInboxItem(i) to show it on your own screen. But there i cannot get a link of it. Idk why

Do you have an idea?

Greetings

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: How can iget the itemlvl and rarity from inboxitem?

#4 Post by BlubBlab » Thu Feb 02, 2017 3:30 pm

The way the bot do it with you bag is going through a loop in which its reads the memory.

Ah here : http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=6067 and here
http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=2571

Sry I can't help you much I let go of ROM a long time and Rock5 pretty much vanished without a trace .. I'm not sure if he tried the NPC-trade item dub on the official server(and got banned) or lost interest. I'M working these days on my own project which will soon show up on Kickstarter . If I'm found the time I would test run my generalized bot an finish it with implementation of a skill use system and update finally MM2 again after a year.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest