New|Life wrote:Nerrazzuri wrote:You have to translate all the language by yourself, and you will not be able to trace where is the error/mistakes you make when compile fail. Unless you know what are you trying to do. (but if you know what are you doing, you don't need to disassemble DLL right?)
Anyway if you are interested to make a PyPQ bot for yourself/SEA members, i suggest you looking this few APIs
PostMessage - Send Virtual keys to selected window such as MapleStory.exe.
SendInput - A much powerful key sending API which will work on arrow keys.
And learn how pointers work. I don't mean the pointers in game, the pointer for C++.
example of pointer dereference :
*(unsigned long*)X where X is a variable/fix value you declared previously.
I see... by the way what is the relationship/difference between API and function? I will read through all your guide @ elitehack

, really lust for programming knowledge

. Really thank you Nerra for willing to explain things to me =)
API is Application Programmable Interface, which mean, some "function" that already integrated into C++ libraries. While functions you mentioned is something you code yourself.
For example
Code: Select all
int Calculate (int Index, int X, int Y)
{
switch (Index)
{
case 1: return X + Y;
case 2: return X - Y;
case 3: return X*Y;
case 4: return X/Y;
}
}
and in your main function you can write
Code: Select all
int _tmain(int argc, _TCHAR* argv[])
{
int A = 2, B = 10, C, Index;
printf("1. Addition, 2. Deduction, 3. Multiplication, 4. Division\n");
scanf("%d", &Index);
C = Calculate(Index, A, B);
printf("The answer is : %d\n", C);
system("PAUSE");
return C;
}
C will depends on what you want to do with the calculation. If you choose 1 it will be addition, 2 will be deduction and so on.
bestrobber97 wrote:Off topic:
Nerrazzuri do you support Inter Milan? Bcos Nerrazzuri is the nickname of Inter Milan lols.

Yes, I did support Inter Milan.

thats why my nick is nerrazzuri. But the nick for Inter Milan is Nerazzurri, Italy is Azzuri.