list runes installed in gear or in bag but not drop runes

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

list runes installed in gear or in bag but not drop runes

#1 Post by beanybabe » Wed Jul 15, 2015 3:12 am

Has anyone ever made a script to log the runes installed into gear on there chars. Just got to wondering were all the runes are I have used. Is this even possable ?

Athrawes
Posts: 2
Joined: Thu Jul 02, 2015 10:16 pm

Re: list runes installed in gear or in bag but not drop runes

#2 Post by Athrawes » Wed Jul 15, 2015 1:06 pm

You could parse the item links to get the IDs of the embedded runes (I think you'd have to temporally unequip your equipment to get those links though). There might be a fancier way to read those from memory, but that's something I don't know how to do ^^

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: list runes installed in gear or in bag but not drop runes

#3 Post by rock5 » Wed Jul 15, 2015 2:00 pm

I believe the bot records runes so you should be able to search your inventory. They are stored in item.Runes and include the rune name and id. Eg.

Code: Select all

Command> table.print(inventory.BagSlot[61].Runes)
table: 0513E840
1:      table: 0513EA70
        Name:   Harm III
        Id:     520163
2:      table: 0513EAC0
        Name:   Endurance III
        Id:     520123
3:      table: 0513EB10
        Name:   Loot X
        Id:     520730
  • 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
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: list runes installed in gear or in bag but not drop runes

#4 Post by beanybabe » Thu Jul 16, 2015 6:34 pm

I checked the logs and do not see a rune list I may need to turn on some thing or be missing a function you have.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: list runes installed in gear or in bag but not drop runes

#5 Post by rock5 » Fri Jul 17, 2015 6:27 am

It doesn't save it to the logs. As you can see from my previous example code, I was showing you that the runes are included in the inventory class info. So you don't need to parse item links as Athrawes suggested, you can search the inventory class instead.

This is how you can print all the runes in your bags.

Code: Select all

for _,item in pairs(inventory.BagSlot) do 
    if item.Runes and #item.Runes > 0 then
        printf(item.BagId) 
        for _,rune in pairs(item.Runes) do
            printf("\t"..rune.Name)
        end
        printf("\n")
    end
end
The same can be done with equipment, and the bank too I guess. Then you just need to decide how you want to log that info to a file.
  • 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
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: list runes installed in gear or in bag but not drop runes

#6 Post by beanybabe » Fri Jul 17, 2015 4:15 pm

Your getting over my head. Im more of a BASIC and assembler programmer and the arrays and classes are a bit confusing yet to me. Ill play with it and see if it makes magic in my computer. I need to figure it out anyway to better handle vendor inventory. The wp I'm working on its best I keep private for now. I'm sure people have done the vendor part of the code, but not like I need it to handle multiple vendors at one time so I'm grinding at it till it works.

Also the "Y" coordinates are bouncing up and down sporadically, so often I have had to manually edit the Y coordinates out. I keep hoping someone will add a disable-Y-coordinate flag that can be inserted at top of a wp

Again thanks for the info, ill hit the books..

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: list runes installed in gear or in bag but not drop runes

#7 Post by rock5 » Sat Jul 18, 2015 1:37 am

Unless the y value is off by a lot, it shouldn't make much difference. 1 thing that can could the y value to go up and down is if you are mounted or not.
  • 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
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: list runes installed in gear or in bag but not drop runes

#8 Post by beanybabe » Sat Jul 18, 2015 2:54 am

I just noticed it on wp I have used may times that the char will just get stuck like it cannot see the wp and it runs back and forth a few times. It started happening recently again. Some patch you did a log time ago cleared it up in most areas but it seemed to have reappeared.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: list runes installed in gear or in bag but not drop runes

#9 Post by rock5 » Sat Jul 18, 2015 4:45 am

I tried with a mount that made me 14 higher and it still had no problem. I suspect the problem you have is because you are putting too much load on your computer. Are you running too many clients at once?
  • 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
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: list runes installed in gear or in bag but not drop runes

#10 Post by beanybabe » Mon Jul 20, 2015 9:55 am

Just 1 client. fast network and computer.
I have noticed it with the Get_Player_Position also if when not moving the y will jump around. This seems to happen more in some zones like sascilla steeps in xaveria and a few other places.

It seems to be server related. I notice it creating wp also on a flat surface the y coordinate will jump 1 up and down. This does not happen every day and some events seem to make it happen more.

It just worries me as when the char hits one of these spots it will run back and forth until it gets past it.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: list runes installed in gear or in bag but not drop runes

#11 Post by rock5 » Mon Jul 20, 2015 11:30 am

Going up and down 1 shouldn't cause a problem. Maybe the server is slow and you have high pings? Maybe play with the ping showing so that when you have the problem you can look at the ping and see if it's the cause. I think Ctrl-X displays the ping but I'm not 100% sure.
  • 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
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: list runes installed in gear or in bag but not drop runes

#12 Post by beanybabe » Mon Jul 20, 2015 11:52 am

Usualy it does not act up but then again I have removed the Y cord from most of the affected wp. The only time y is really needed is flying, swimming or to check for falling. I was just hoping there could be an easy way to turn it off and on as needed. I had to edit hundreds of wp to keep the char from running around brain dead. Its not so important these days the servers are so low pop. It may be a feature to think about for a future game.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: list runes installed in gear or in bag but not drop runes

#13 Post by rock5 » Mon Jul 20, 2015 12:01 pm

It's just that it's not supposed to be happening. But I'll keep it in mind and if other users start having similar problems then I'll look into it more carefully.
  • 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

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: list runes installed in gear or in bag but not drop runes

#14 Post by noobbotter » Mon Jul 20, 2015 12:24 pm

I almost feel like I remember reading somewhere that some servers had done something to fluctuate their y values, but of course don't recall where I saw/heard that. Anyone else recall hearing something like that?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests