Signup Now
Results 1 to 3 of 3
  1. #1
    Wind Powered Wario's Avatar
    Join Date
    Mar 2017
    Posts
    44
    Reputation
    9
    Rep Power
    0

    Save HUD position to chardb

    Hello,

    I use this script: https://forums.tibiawindbot.com/show...ivate-Messages

    If I move the HUD to other location on the screen and close the bot, the next time I use this persistent in ANY script, the HUD will be in the same place I moved it to.

    I believe that it must have something to do with this line:
    Code:
    local tempPos = $chardb:getvalue('AWE.PM', 'POSITION')
    It saves the position to chardb file.

    What I want is to do the same thing to the MonitorMyHunt and the MonitorMyStats that comes in the HUDs tab in WindBot.

    Can someone help me?

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by Wario View Post
    Hello,

    I use this script: https://forums.tibiawindbot.com/show...ivate-Messages

    If I move the HUD to other location on the screen and close the bot, the next time I use this persistent in ANY script, the HUD will be in the same place I moved it to.

    I believe that it must have something to do with this line:
    Code:
    local tempPos = $chardb:getvalue('AWE.PM', 'POSITION')
    It saves the position to chardb file.

    What I want is to do the same thing to the MonitorMyHunt and the MonitorMyStats that comes in the HUDs tab in WindBot.

    Can someone help me?
    I believe it should run on Windbot 10 and not run on Windbot 11. If it is ...https://forums.tibiawindbot.com/show...l=1#post507591

  3. #3
    Wind Powered Wario's Avatar
    Join Date
    Mar 2017
    Posts
    44
    Reputation
    9
    Rep Power
    0
    Quote Originally Posted by Cisco View Post
    I believe it should run on Windbot 10 and not run on Windbot 11. If it is ...https://forums.tibiawindbot.com/show...l=1#post507591
    Hello, again, Cisco!

    Well, I got your point.

    Turns out that I have a very high ppi screen, so I use Windows at 200% DPI, and I use these HUDs on any script I use. What happens is that MonitorMyStats is placed a little bit above of where it should, and MonitorMyHunt is placed right in the middle of the screen, so everytime I load any script, I have to move these HUDs to their right place. And with the RecentPM script, it doesn't happen. I moved it once and everytime I use it, it's always on the perfect position.

    I'm testing Windbot 11, but I use Windbot 10 aswell, and this happens on both.

    Do you know how to make this modification on the code?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •