ItemShop Wheel of Fortune

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

ItemShop Wheel of Fortune

#1 Post by C3PO »

Hello,

I tried to make a script that plays the "Wheel of Fortune", but I don't know how to access the frame and the play button. Has someone maybe an idea?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: ItemShop Wheel of Fortune

#2 Post by lisa »

Well I don't know the ingame functions to play it just yet but I can tell you what you will win before the wheel stops spinning lol

32Bit OS only, the 64 bit will be different.

Code: Select all

memoryReadIntPtr(getProc(),0xA015EC,{0x2B4,0x75C,0x14,0x2E0,0x1C})
that is the ID of the item you will get, if you do 0 as last offset instead of 0x1C it is the base for the wheel game itself and you can see all items available in that spin and no idea what the other stuff means at this stage.

Looks like this
wheel1.png
I can tell you after 24 characters 18 of them got the fireworks package.
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
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: ItemShop Wheel of Fortune

#3 Post by C3PO »

lisa wrote:Well I don't know the ingame functions to play it just yet but I can tell you what you will win before the wheel stops spinning lol
but they are set after you started the wheel or ... otherwise it would be cool to know that you shouldn't play ;)
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: ItemShop Wheel of Fortune

#4 Post by rock5 »

Maybe you can change the ID and get a different item. :D
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: ItemShop Wheel of Fortune

#5 Post by lisa »

rock5 wrote:Maybe you can change the ID and get a different item. :D
That is the first thing I tried, didn't work though lol
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
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: ItemShop Wheel of Fortune

#6 Post by C3PO »

lisa wrote:Well I don't know the ingame functions to play it just yet but I can tell you what you will win before the wheel stops spinning lol

32Bit OS only, the 64 bit will be different.

Code: Select all

memoryReadIntPtr(getProc(),0xA015EC,{0x2B4,0x75C,0x14,0x2E0,0x1C})
that is the ID of the item you will get, if you do 0 as last offset instead of 0x1C it is the base for the wheel game itself and you can see all items available in that spin and no idea what the other stuff means at this stage.

Looks like this
wheel1.png
I can tell you after 24 characters 18 of them got the fireworks package.
Lisa could you please tell me what the addresses would be for x64?

thx
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: ItemShop Wheel of Fortune

#7 Post by lisa »

C3PO wrote:Lisa could you please tell me what the addresses would be for x64?
I'll need to update a 64bit machine, I might have time later tonight.
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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: ItemShop Wheel of Fortune

#8 Post by lisa »

give this a try, didnt get to do a full test but seems ok

Code: Select all

memoryReadIntPtr(getProc(),0xA015EC,{0x164,0x540,0x14,0x2BC,0x1C})
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
Post Reply