Jump to content

Recommended Posts

Hey Dev´s :)

I have a problem to compile my game with the sash system.

I edited my char.cpp and added this codes.

Spoiler
addPacket.awPart[CHR_EQUIPPART_ACCE] = GetPart(PART_ACCE);
 
and this:
Spoiler
 
pack.awPart[CHR_EQUIPPART_ACCE] = GetPart(PART_ACCE);
 
and this:
Spoiler
 
SetPart(PART_ACCE, t->parts[PART_ACCE]);
 
and this:
Spoiler
 
SetPart(PART_ACCE, GetOriginalPart(PART_ACCE));
 
and this:
Spoiler
 
WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const
{
    switch (bPartPos)
    {
        case PART_MAIN:
            if (!IsPC())
                return GetPart(PART_MAIN);
            else
                return m_pointsInstant.bBasePart;
        case PART_HAIR:
            return GetPart(PART_HAIR);
        case PART_ACCE:
            return GetPart(PART_ACCE);
        default:
            return 0;
    }
}
 

But i get everytime the error that PART_ACCE are not declared.

I hope anyone can help me :)

Best regards

Link to comment
https://metin2.dev/topic/8080-error-sash-system-source-compile/
Share on other sites

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.