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;
}
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))
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.






