[SNIPPET] WeaponDaT function

Opcode.eXe

Well-Known Member
Joined
Feb 18, 2013
Messages
1,254
Likes
10
Points
38
Location
( ͡° ͜ʖ ͡°)
Website
www.youtube.com
#1
Code:
{
  Change's the Weapon.dat value of Weapon ID to your custom one.
  0AB1: @WEAPON_DAT 4 | -> Change Weapon 24 DAT 0x20 VALUE_TO 45 SIZE_OF_DAT 4 // MaxAmmo in Clip
  Get DAT'S from http://hotmist.ddo.jp/struct.html
}

:WEAPON_DAT
[email protected] += 0x24 //+0x0 - no skill +0x19 - 50% skill +0x24 - 100% skill
[email protected] *= 0x70 // BLOCK SIZE
[email protected] += 0xC8AAB8 // BASE
005A: [email protected] += [email protected]  // (int)
0A8C: write_memory [email protected] size [email protected] value [email protected] virtual_protect 0
0AB2: ret 0
 
Top