Jump to content

Recommended Posts

On 12/22/2023 at 2:54 AM, V3ct0r said:

Hello @Andy,

 

Yes, there is the problem in the pkodev.mod.reward.client\dllmain.cpp file.

 

Change


// bool CCommandObj::IsAllowUse()
bool __cdecl IsAllowUse()
{
    return false;
}

to


// bool CCommandObj::IsAllowUse()
bool __cdecl IsAllowUse()
{
    return true;
}

and rebuild the mod using Visual Studio version 2019 or newer.

@V3ct0r can you make some guides to add your mods in src?


xbx3.png

Share this post


Link to post
Share on other sites
On 3/4/2024 at 9:43 PM, Ximboliex said:

@V3ct0r can you make some guides to add your mods in src?

Hello @Ximboliex,

 

I don't plan to make such guides. It's difficult to explain, and the approaches to modding existing binaries and modifying source code are somewhat different. You can look in the mod source codes to which functions of the client (or server) source codes to add changes.

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.


×
×
  • Create New...