![]() |
BackstabFix
asm, katek... resp xD
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
funny thing.. kation tells me all the time that coding in c++ is better than coding in asm, and here we go - he posts asm code ^^
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
Yes, most of my extender is written in c++ got 2 or 3 hooks in asm, but there are some things that cant be done via c++ or are much better/easier in asm (example if you need to get something from xmm2 etc), i cant see where's the point in forcing extender to be c++ only. For most cases for me coding in c++ is just faster and sometimes safer than doing that in asm.
p.s GotDamageBy is not getting only 2 parameters(pCreature/pEnemy) ;P. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
Quote:
Originally Posted by Kation View Post p.s GotDamageBy is not getting only 2 parameters(pCreature/pEnemy) ;P. am yes.. it also gets' an int and a bool in the end... wtf are they? ) Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
Code:
Code:
double Creature::GotDamageBy(CCreature* creature, CCreature* attacker, double damage, int dmgType, bool dmgFlag);Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
CCreature::GotDamageBy only has 4 arguments not 5. Where'd you get the 5th?
Code: Code:
mov ebx, r9dВосстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
Quote:
Originally Posted by Ascian View Post CCreature::GotDamageBy only has 4 arguments not 5. Where'd you get the 5th? Code: Code:
mov ebx, r9d(screams like that master yoda) use the force, my young jedi... look for 5th parameter on the stack and let the force be with you... Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
Quote:
Originally Posted by Ascian View Post CCreature::GotDamageBy only has 4 arguments not 5. Where'd you get the 5th? Code: Code:
mov ebx, r9dCode: Code:
.text:00000000007AF6B8 mov byte ptr [rsp+20h], 1 ;unk2Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
nice share,but why c++ much harder?
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (3 Days Ago); точное время не сохранилось. Открыть источник. |
BackstabFix
Quote:
Originally Posted by songaiyun View Post nice share,but why c++ much harder? well what if u need something from a register that isnt an argument register or on the stack? u cant get it with C++... with 32bit you could use inline asm and get it but not with 64bit... example http://www.postpacific.com/forums/sh...ad.php?t=10239 now you could do some of that code with C++... void AVE_Hook(int idontcare, wchar_t *wcSkillBuffer) { if (!wcscmp(wcSkillBuffer, L"ave_stealth")) { // now what? } } but now what do u do? u cant get rbp (CSkillInfo pointer) so u cant set the abnormal ID for fixing packets and making it so u can connect the new chronicle clients u can easily do most of it with just C++, but for adding the new stuff that is needed to make a real extender... u NEED asm... Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (3 Days Ago); точное время не сохранилось. Открыть источник. |
| All times are GMT. The time now is 01:58. |