Signup Now
Results 1 to 5 of 5
  1. #1
    Wind Powered Robin Hood's Avatar
    Join Date
    Feb 2014
    Posts
    23
    Reputation
    10
    Rep Power
    0

    HUD map shows incorrect sprites

    1. What OS you are at? Windows 10

    2. Real PC or VPS? Real PC

    3. Using WindAddons? Which version? No

    4. Which version of WindBot? WindBot for Client 11. Beta 45

    5. Which version of Game Client? 11.04.4391

    6. Do you have a Dedicated Graphics Card? Yes. GeForce GTX 980

    7. Detailed description of the problem. WindBot does not display correct map sprites when drawing a HUD map with setfillstyle('map', ...)

    8. If applicable, a GIF of the action hosted on imgur.com.

    Map should display what is seen in Tibia client's minimap. This works correctly in Tibia 10 with WindBot 10.x

    9. Do this happen in WindBot for Client Version 10.x too? No

    10. Debug Log. Not Applicable

    11. Comments. No

  2. #2
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    @Robin Hood

    Could you provide a sample?

  3. #3
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Are you using it on OTS?

  4. #4
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,202
    Reputation
    180
    Rep Power
    10
    A sample would be appreciated indeed.

  5. #5
    Wind Powered Robin Hood's Avatar
    Join Date
    Feb 2014
    Posts
    23
    Reputation
    10
    Rep Power
    0
    @Imba It's in real Tibia.

    Here's the sample:
    init start
    local mapx = $clientwin.left + 5
    local mapy = $clientwin.top + 597
    local mapwidth = 270
    local mapheight = 270
    local mapzoom = 3
    local maptransparency = 20
    local mapposxoffset = mapwidth / 2 / mapzoom
    local mapposyoffset = mapheight / 2 / mapzoom
    init end

    --Map
    setfillstyle('map', $posx-mapposxoffset, $posy-mapposyoffset, $posz, maptransparency, mapzoom)
    drawrect(mapx, mapy, mapwidth, mapheight)

    --Self Dot
    setfillstyle('color', 0xffffff)
    setbordercolor(0x000000)
    drawcircle(mapx+(mapwidth / 2)-(mapzoom / 2), mapy+(mapheight / 2)-(mapzoom / 2), 2 * mapzoom, 2 * mapzoom)

 

 

Posting Permissions

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