Pointer always NULLED

07/11/2021 08:36 Hikari Kuina#1
Hello eveyone, I was leeching the Madrigal Gift System from AS Flyff but when testing I ran into a problem and I debug the client the pointer as shown in the image that I attached is always nulled and can't execute the line of code. I check the icon which is the .tga is existing in the right location(Theme\\Default). I dunno why it is nulled.

Does anyone have an idea what can I do to fix the problem? Thank you for helping me.

07/11/2021 09:53 Naltalah#2
The g_pPlayer check makes no sense there.
Also the texture is null on that location because the breakpoint triggered before AddTexture was executed.
07/11/2021 10:34 Hikari Kuina#3
Yeah I did remove the g_pPlayer function. I also fixed the problem it's because of the app_madrigalgift was define only but has no content in resdata.inc.