Jump to content
  • Create New...
  • 0

GetMonsterMaxHP has no Member



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
Share on other sites

1 answer to this question

Recommended Posts

  • 0
  • 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.



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
  • Love 1
Link to comment
Share on other sites

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Metin2 Dev Github
  • Activity

    1. 0

      Extended memory pool

    2. 7

      Wear (use) item only on specific map

    3. 4

      Python tool for analyzing average yang drop per hour in each map.

    4. 162

      Plechito - Halloween 2022

    5. 0

      disable quest esc

    6. 7

      Wear (use) item only on specific map

    7. 7

      Wear (use) item only on specific map

    8. 7

      Wear (use) item only on specific map

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.