Open Violet-Vibes opened 4 years ago
Have you tried changing the height
variable? 0 would be a good start
https://github.com/wodim/wow-discord-rich-presence/blob/master/script/wow.py#L34-L36
seems it cuts off the first square when i try height 0, any ideas?
Notice on how the debug, the first square is half
I'm not able to try it out right now, but I've been looking for the same thing and got the same result with height 0. I might've found a thread that can be of assistance: https://stackoverflow.com/questions/34139450/getwindowrect-returns-a-size-including-invisible-borders
Honestly I have no idea, I haven't touched the code in a long time (and this part sucks since it should work automatically but I never got around to fixing it)
https://github.com/wodim/wow-discord-rich-presence/blob/master/script/wow.py#L38-L39
Try to remove the +8 and -8 part
That seems to have done the trick, thanks!
On Tue, 8 Sep 2020 at 23:24, wodim notifications@github.com wrote:
Honestly I have no idea, I haven't touched the code in a long time (and this part sucks since it should work automatically but I never got around to fixing it)
https://github.com/wodim/wow-discord-rich-presence/blob/master/script/wow.py#L38-L39
Try to remove the +8 and -8 part
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wodim/wow-discord-rich-presence/issues/2#issuecomment-689143964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUWN2DSOTDZ2SZ5F5LM7BTSE2OH5ANCNFSM4RAHNFKQ .
On another note, would it be possible to extend the information shown, such as Class, Level, Race, server?
I mean, it would, but you would have to make the changes yourself...
Understandable, was hoping you could nudge me in the right direction :P
On Wed, 9 Sep 2020 at 09:43, wodim notifications@github.com wrote:
I mean, it would, but you would have to make the changes yourself...
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wodim/wow-discord-rich-presence/issues/2#issuecomment-689373231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUWN2BFDV5CZUQ3GXCOOLDSE4WY5ANCNFSM4RAHNFKQ .
Change https://github.com/wodim/wow-discord-rich-presence/blob/master/IPC%20(WotLK)/IPC.lua#L94-L128 so it returns something different, like "$WorldOfWarcraftIPC$Level 80 Hunter|Warmane Icecrown$WorldOfWarcraftIPC$"
, obviously using the correct API calls from https://wow.gamepedia.com/World_of_Warcraft_API. The Python script won't need to be modified.
Thank you, I'll play around with it
On Wed, 9 Sep 2020 at 11:39, wodim notifications@github.com wrote:
Change https://github.com/wodim/wow-discord-rich-presence/blob/master/IPC%20(WotLK)/IPC.lua#L94-L128 so it returns something different, like "$WorldOfWarcraftIPC$Level 80 Hunter|Warmane Icecrown$WorldOfWarcraftIPC$", obviously using the correct API calls from https://wow.gamepedia.com/World_of_Warcraft_API. The Python script won't need to be modified.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wodim/wow-discord-rich-presence/issues/2#issuecomment-689450148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUWN2BS26OKGW4RA36O34LSE5EL7ANCNFSM4RAHNFKQ .
is it possible to make this script work while having wow in windowed maximized mode?