cursey / kanan-new

A reimagining of Kanan for Mabinogi written in C++
The Unlicense
147 stars 69 forks source link

[IDEA] Skip annoying messages on login #79

Open LoneDev6 opened 5 years ago

LoneDev6 commented 5 years ago

Hello, would be really helpful to hide the annoying messages that popup on login:

Maybe we could find these two boxes struct in memory and trigger the click event of close buttons (like we did with the autologin feature).

Tachiorz commented 5 years ago

This will require moving some classes from SecondaryPassword.hpp to general header for convenience. Should be pretty trivial to implement taking SecondaryPassword as example.

Another little problem, have to do it once and reset on character select (detect character select view creation? some easier way?)

LoneDev6 commented 5 years ago

Thanks! It's really difficult since the "Is your Cumulative Level under 1000?" message is an image and I can't really think about what I should look for in the game memory. I think I could find the image in game unpacked resources but would take ages, right? xD

LoneDev6 commented 5 years ago

I think one of these game classes is the one called to draw the message, because seems that it's like a big button, not a normal window. If you click anywhere it closes, not just clicking the X button: Classes:

events: