Jump to content

Recommended Posts

Hello , i want implant Target Information , so i have a Problem and i cant fix it with my knowledge.
 

 

He say " GetMonsterMaxHP has no Member" 
When i do DWORD in PythonNonPlayer.h then he say i cant define it outsite of the class.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/25354-getmonstermaxhp-has-no-member/
Share on other sites

  • Forum Moderator

You can't define a class function inside another.

You could do it just with lambdas, struct or other gnu extensions, but that's not relevant for your case.

 

Solution:

Move function GetMonsterMaxHP:

DWORD CPythonNonPlayer::GetMonsterMaxHP(...)
{
	[...]
}

Outside of GetMatchableMobList function, should look like this:

This is the hidden content, please

 

Edited by VegaS™
  • Metin2 Dev 2
  • Good 1
  • Love 2
  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.