I was wondering why I would get a 05 code when I found an address I had it create code. It was a 05 instead of 04. I'm a nood still I thought 05 types were dvar codes made from ramdumps. I don't really care as the code created is simple and will not work as a 04 for some reason.
Thanks learn something new everyday I missed that some where and this is the first address that I have found that was 81 so far. I was under the impression 05 was for dvars but now i know better.
Look at the pretty colors at the bottom of the code type doc on Gecko Codes. It shows you how a code type is split up, in bits instead of hex.
http://www.geckocodes.org/index.php?arsenal=1#CodetypeDetail
Code types are actually 7 bits, but two hex digits (like 05) are 8 bits. That last bit is actually *not* a part of the code type, it's a part of the address.
---
If you read the old code type doc's introduction, it will mention that only the first 7 bits of the ba are added to the address (NOTE: there are some errors in the old code type doc; use the Gecko Codes for code types).
Quote from: http://wiird.l0nk.org/codetypes.htmlba : Base Address. Set at 0x80000000 each time the code handler is executed. Each time the ba is added to a code address, the code handler do : address = address + (ba & 0xFE000000)
This means the only legal values for ba are 80000000, 90000000, and 92000000. If you try to put 81000000 into the ba, you will actually get 80000000.
thanks i see how it works I just need now is to do a break point as it only locks a set number and I still want it to increase similiar to another code I made for another game.