Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Widescreen View #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A popular option in my last project, MiniBot, was the Widescreen View.
Using the same addresses for World Only View, this option allows users, who
can't drag their game-window-size bar down to the max, stretch the game
window to cover the gray areas. I'll attach a photo to show you what I mean.

This code will stretch the game window
ScreenRect = Memory_ReadLong(Client, GameWindowRectPointer)
ScreenRect = Memory_ReadLong(Client, ScreenRect + &H18 + &H4)
ScreenBar = Memory_ReadLong(Client, GameWindowBar)

RectX = Memory_ReadLong(Client, ScreenRect + &H14)
RectW = Memory_ReadLong(Client, ScreenRect + &H1C)
Memory_WriteLong Client, ScreenRect + &H14, 5
Memory_WriteLong Client, ScreenRect + &H1C, Memory_ReadLong(Client,
ScreenBar + &H74) - 10 'offset &H74 holds the width of the screenbar

This will put it back to normal
Memory_WriteLong Client, ScreenRect + &H14, RectX
Memory_WriteLong Client, ScreenRect + &H1C, RectW

I would add it myself, but I didn't know if you guys would want it added to
the api or not.

Original issue reported on code.google.com by joebingham07@gmail.com on 1 Nov 2008 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago
You can certainly add this if you think it will be useful. Doesn't look like 
too much
work ;).

Original comment by ian320 on 1 Nov 2008 at 11:11

GoogleCodeExporter commented 9 years ago
Seems like this has already been added sometime ago...

Original comment by geancarl...@gmail.com on 23 Nov 2008 at 8:02

GoogleCodeExporter commented 9 years ago
This isn't World Only View, this is Widescreen View, which hasn't been added. 
I'll
probably add it later today though.

Original comment by joebingham07@gmail.com on 23 Nov 2008 at 8:49

GoogleCodeExporter commented 9 years ago
Oh sorry, I added it today.If you can, please test it and close this issue 
afterwards.

Original comment by geancarl...@gmail.com on 26 Nov 2008 at 1:10

GoogleCodeExporter commented 9 years ago

Original comment by geancarl...@gmail.com on 29 Nov 2008 at 10:13