SO©OJvI FTB2 STjZ8™ jZiPPiN
Welcome!

Hey, have you not signed in yet? Did you not make an account? Don't you dare hover your mouse over the "Don't show this message again" button, and instead sign in or make an account on this amazing and AWESOME site!

Admins:
HEAVY_ARTILERY
Miroco23
DaddyDayCare247
Knockout-KOD


FTB2 STjZ8 RiPPiN: The Next BIG Thing
 
HomePortalRegisterLog in
Welcome! Enjoy your stay, and have a great time!
Affiliates
Top posters
HEAVY_ARTILERY
 
GazaLord
 
DIjZTY_RUMORS
 
Knockout-KOD
 
-_-OIiviIG-_-
 
-Legend-ODST-
 
TACTICAL_BOMBERS
 
Miroco23
 
Cody-_-
 
Dij2ty_J3abii
 
Statistics
We have 134 registered users
The newest registered user is SwornLeader

Our users have posted a total of 1459 messages in 608 subjects
Search
 
 

Display results as :
 
Rechercher Advanced Search
Affiliates
   
 

Share | 
 

 How To DMA

View previous topic View next topic Go down 
AuthorMessage
xX-Tiempo13-Xx



Posts : 21
Join date : 2010-11-03

PostSubject: How To DMA   Sun Nov 07, 2010 12:35 pm

(I DO NOT TAKE CREDIT FOR THIS)


Lets try to punch some information threw your heads.

For all that you don't know the format of DMA it is as so:

0xFFFFFFFF 0xPointer you have found
0xYour Offset 0xModded values

Ok well lets break it down a little more..

DMA'd data is usually stored in a list with other DMA'd things that relate to it. For example if you were looking for ammo you might see a something like this:

0x00502358 0x08E73444 ;pointer

0x00673444 0x0000007A ; weapon ID
0x00673448 0x00000003 ;number of clips
0x00673450 0x00000013 ;ammo in current clip

The pointer shows where the start of the data is currently stored. The offset of where ammo from the start is 0x00000008 (00673450 - 00673444 = Cool. You can use a special pointer code format like this:

#Inf Ammo
0xFFFFFFFF 0x00502358
0x00000008 0x7FFFFFFF

This will get the address that is stored at the pointer 00502358 at store 0x7FFFFFFF at the offset of 0x8 from that address.

If you don't understand that, well you fail to begin with, but heres the most simple way i can put it.

The first line of the infinite ammo code tells the cpu to load the routine for a certain weapon by specifying the address for that weapon. The second line of the code includes the offset of 8, which is how many addresses it has to move to get to the address that controls the ammo, then it tells the cpu to set the value stored at that address to 7FFFFFFF


Well ask questions.

-oDc WarCrazy
Back to top Go down
 
How To DMA
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
SO©OJvI FTB2 STjZ8™ jZiPPiN :: Tutorials :: Tutorials-
Jump to: