- Joined
- Feb 2, 2011
- Messages
- 382
- Reaction score
- 200
Ok skills Octects
octects for skills Eg Tiger Maw level 1:
01000000010000000000000001000000
the first 8 are the amount of skills 01000000 = 1
the next 16 is the skill 0100000000000000 = 1
the last 8 are the skill level 01000000 = 1
heres how to get the skill hex
configs.pck > skillstr.txt
we use this but remove that last digit
11 "^ffffffTiger Maw (Level %d)
so we use 1 convert to hex (double 8 bytes) > 0100000000000000
add its level, im gonna do level 1
1 > (double 4 bytes) > 01000000
"010000000000000001000000" = level 1 Tiger Maw
now lets add
21 "^ffffffDraw Blood (Level %d)
so take 21 - the last digit > 2
to hex (double 8 bytes) > 0200000000000000
add the level, im gonna do level 10 this time
10 > (double 4 bytes) > 0a000000
"02000000000000000a000000" = level 10 Draw Blood
put them together: so now we have
01000000000000000100000002000000000000000a000000
now all we are missing is the 1st 8 which is the amount of skill we have 2 so its
2 > (double 4 bytes) > 02000000
0200000001000000000000000100000002000000000000000a000000
2 skills | tiger maw level 1 | draw blood level 10
02000000 0100000000000000 01000000 0200000000000000 0a000000
hope that is clear enough...
octects for skills Eg Tiger Maw level 1:
01000000010000000000000001000000
the first 8 are the amount of skills 01000000 = 1
the next 16 is the skill 0100000000000000 = 1
the last 8 are the skill level 01000000 = 1
heres how to get the skill hex
configs.pck > skillstr.txt
we use this but remove that last digit
11 "^ffffffTiger Maw (Level %d)
so we use 1 convert to hex (double 8 bytes) > 0100000000000000
add its level, im gonna do level 1
1 > (double 4 bytes) > 01000000
"010000000000000001000000" = level 1 Tiger Maw
now lets add
21 "^ffffffDraw Blood (Level %d)
so take 21 - the last digit > 2
to hex (double 8 bytes) > 0200000000000000
add the level, im gonna do level 10 this time
10 > (double 4 bytes) > 0a000000
"02000000000000000a000000" = level 10 Draw Blood
put them together: so now we have
01000000000000000100000002000000000000000a000000
now all we are missing is the 1st 8 which is the amount of skill we have 2 so its
2 > (double 4 bytes) > 02000000
0200000001000000000000000100000002000000000000000a000000
2 skills | tiger maw level 1 | draw blood level 10
02000000 0100000000000000 01000000 0200000000000000 0a000000
hope that is clear enough...
Last edited: