EMO Style ForumPro - Hos Geldiniz
[1.298] Disable experience loss in Ardream AND Bifrost! Uyeols10

Join the forum, it's quick and easy

EMO Style ForumPro - Hos Geldiniz
[1.298] Disable experience loss in Ardream AND Bifrost! Uyeols10
EMO Style ForumPro - Hos Geldiniz
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Giriş yap

Şifremi unuttum

Istatistikler
Toplam 203 kayıtlı kullanıcımız var
Son kaydolan kullanıcımız: crayzboy76

Kullanıcılarımız toplam 1186 mesaj attılar bunda 862 konu
Tarıyıcı
 Kapı
 Indeks
 Üye Listesi
 Profil
 SSS
 Arama
Arama
 
 

Sonuç :
 


Rechercher çıkıntı araştırma

RSS akısı


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


Anahtar-kelime

kutu  loot  pointer  

Kimler hatta?
Toplam 4 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 4 Misafir

Yok

[ Bütün listeye bak ]


Sitede bugüne kadar en çok 217 kişi C.tesi Tem. 29, 2017 1:46 am tarihinde online oldu.
En son konular
» İnternetten Para Kazandıran Oyun ! Ödeme Alt Limiti Yok ! DEV KONU
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeCuma Ağus. 29, 2014 8:33 am tarafından Hello EMO

» goldenchase.net maden yaparak para kazanma
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeCuma Ağus. 29, 2014 8:18 am tarafından Hello EMO

» etichal hacker görsel egitim seti
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeÇarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO

» KO TBL Source C#
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimePtsi Ara. 09, 2013 6:36 am tarafından Hello EMO

» x86 Registers
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeC.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de WYD
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeÇarş. Tem. 10, 2013 7:25 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de CS Metodo²
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeÇarş. Tem. 10, 2013 7:23 am tarafından Hello EMO

» [Tutorial] Aprendendo basico deASM OLLYDBG
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimeÇarş. Tem. 10, 2013 7:22 am tarafından Hello EMO

» Basic C# DLL injector
[1.298] Disable experience loss in Ardream AND Bifrost! I_icon_minitimePtsi Tem. 08, 2013 7:48 am tarafından Hello EMO

Reklam

[1.298] Disable experience loss in Ardream AND Bifrost!

Aşağa gitmek

[1.298] Disable experience loss in Ardream AND Bifrost! Empty [1.298] Disable experience loss in Ardream AND Bifrost!

Mesaj tarafından Hello EMO Çarş. Şub. 23, 2011 8:52 am

[quote name='twostars' timestamp='1296421699' post='176']
Basically, CUser::Attack already has a check for disabling experience loss in a zone (dynamic), however it's not very useful in the case of multiple open zones. So, we'll need to add our own.

In CUser::Attack we'll find the call to CUser::ExpChange at 00496956.
Kod:
00496956    E8 CBB7F6FF   CALL 00402126

Since the call is 5 bytes long, we'll replace it with a jump to our code-cave (which will also be 5 bytes, as it will be a far jump), which I've got at 00499233:
Kod:
00496956    E9 D8280000   JMP 00499233

Upon going to the code-cave, we'll need to make sure that we can access the pointer that was used before to get to the current zone. We're just doing this again as a precaution, as there is one case where eax is re-used (so it wouldn't point to the data we want it to anymore).
Kod:
00499233    8B87 98800000  MOV EAX,DWORD PTR DS:[EDI+8098]

To save bytes, we'll conveniently store the zone ID in CL.
Kod:
00499239    8A48 3C      MOV CL,BYTE PTR DS:[EAX+3C]

Now we can go through our zone blacklist, starting with Ardream!
Compare the zone ID to 0CA (202 - Ardream).
Kod:
0049923C    80F9 CA      CMP CL,0CA

If the zone is Ardream, we'll jump to our "don't take experience" case, down below.
Kod:
0049923F    74 0C        JE SHORT 0049924D

Now we compare the zone ID to 1F (31 - Bifrost).
Kod:
00499241    80F9 1F      CMP CL,1F

If the zone is Bifrost, we'll jump to our "don't take experience" case, down below.
Kod:
00499244    74 07        JE SHORT 0049924D

Since the zone is none of the above, we'll call CUser::ExpChange() to do all the experience stuff!
Kod:
00499246    E8 DB8EF6FF   CALL 00402126

Jump back to the code in CUser::Attack() (this jumps down to the actual jump at the end of the "don't take experience" case below to save bytes).
Kod:
0049924B    EB 03        JMP SHORT 00499250

This is our "don't take experience" case. This line cleans up the stack (3 DWORDs are passed into CUser::ExpChange(), they were pushed onto the stack but we aren't going to call CUser::Attack(), so we'll take them back off the stack!).
Kod:
0049924D    83C4 0C      ADD ESP,0C

Jump back to CUser::Attack().
Kod:
00499250   ^E9 06D7FFFF   JMP 0049695B


Code recap

Jump to code-cave from CUser::Attack():
Kod:
00496956    E9 D8280000   JMP 00499233

Our code-cave:
Kod:
00499233    8B87 98800000  MOV EAX,DWORD PTR DS:[EDI+8098]
00499239    8A48 3C      MOV CL,BYTE PTR DS:[EAX+3C]
0049923C    80F9 CA      CMP CL,0CA
0049923F    74 0C        JE SHORT 0049924D
00499241    80F9 1F      CMP CL,1F
00499244    74 07        JE SHORT 0049924D
00499246    E8 DB8EF6FF   CALL 00402126
0049924B    EB 03        JMP SHORT 00499250
0049924D    83C4 0C      ADD ESP,0C
00499250   ^E9 06D7FFFF   JMP 0049695B

Have fun!
[/quote]
Hello EMO
Hello EMO
EMO Team
EMO Team

Cinsiyet : Erkek
Burçlar : Yay
Yılan
Mesaj Sayısı : 935
Puan : 372493
Rep Puanı : 18
Doğum tarihi : 28/11/89
Kayıt tarihi : 21/07/09
Yaş : 34
Nerden : EMO WorlD
İş/Hobiler : RCE Student / Game Hacking / Learn Beginner C#,C++,Delphi
Lakap : EMO

https://emostyle.yetkinforum.com

Sayfa başına dön Aşağa gitmek

Sayfa başına dön

- Similar topics

 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz