Jump to content

Recommended Posts

int _block_exp (lua_State * L) // disable experience to INT 
{ 
    LPCHARACTER ch = CQuestManager :: instance (). GetCurrentCharacterPtr (); 
    ch-> block_exp = true; 
    return 0; 
} 

int _unblock_exp (lua_State * L) // experience enable INT to 
{ 
    LPCHARACTER ch = CQuestManager :: instance (). GetCurrentCharacterPtr (); 
    ch-> block_exp = false; 
    return 0; 
}

questlua_pc.cpp:2815: error: expected initializer before 'int'

questlua_pc.cpp:2829: error: expected unqualified-id before '{' token

questlua_pc.cpp:3043: error: expected `}' at end of input

when i added this it gave me all these errors

if anyone can help me to fix this please thanks

Link to comment
https://metin2.dev/topic/19973-c-anti-experience-source-problem/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

i got it right thank you , but ! theres a problem man .. when i use the anti exp i get like 20 30 lvl instead of losing exp and none is giving me an answer about that , i tried this source thing but still nthg .. idk what else to do i tried more than 15 quests and same 

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.