Hello.
I made a simple script in v studio this is my func :
Code:
extern "C" __declspec(dllexport) int Suma(int a, int b);
int Suma(int a, int b){
return a+b;
}
I compile this to PlikDLL and want to use this func in metin2.
So i injected dll file, and next inject my python script :
Code:
import PlikDLL
import chat
cos = PlikDLL.Suma(10,5)
chat.AppendChat(chat.CHAT_TYPE_INFO, str(cos))
Is problem because my Python script dont find PlikDLL libary
What i should do?
--------
In the future i need to make a dll which returns int value, how to send this value to python func ?
------
Is possible to track metin2, to find a hook what is actually running ?
Like pickup items etc.
Regards.