Saturday, April 28, 2012

Hex Post 3 (Neko-Sentai) - Altered Size Schedules Fix

Alright this was infuriating, my "Empty Dusters" H2H weapons were freezing my game for seemingly no reason at all so I spent forever debugging and found out something that is apparently required for this new on off weapon effect crap.

Code:
2177 3030 8705 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
4000 0000 5000 0000 A000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0001 0000 0000 0000 0000 0000 0000 0000 
0102 0000 0000 0000 1E04 0000 0000 0000 
6772 3030 0000 0000 1E04 0000 0000 0000 
6772 3031 0000 0000 1E04 0000 0000 0000 
6772 3032 0000 0000 1E04 0000 0000 0000 
6772 3033 0000 0000 0002 0000 0000 0000 
0001 0000 0000 0000 0000 0000 0000 0000
This is your basic schedule, for the weapon effect. During my infuriating session with this I discovered that the green number before the even number of the block size is the odd number. in this case it is 11 lines, so 5 is the even number ( = 10) and to add one you add an 87 in front of it. If its even you will add a 07 in front of it.

I noticed the numbering system is different depending on /what type/ of block you are sizing, it just happens in this case for the main schedules it is 87 odd, 07 even wheras if we were sizing an effect block it would be a different numbering system. Easy to figure out though by looking through other effect blocks, you're bound to come across an even and an odd to get the numbers.

Anyways back to what was fucking my shit up is the red number. It is apparently reading HOW MANY LINES??? are in the schedule STARTING FROM ZERO (top line = 0, then 1,2,3,etc)

In the example it is 11 lines, so starting from 0-1,2,3,4,5,6,7,8,9,A = 11 total lines. So A0 goes in that byte.

I did not change this and the effect was constantly freezing my game at random intervals ._.; (Tested by spamming up down to unequip reequip in wardrobe) But it seems to be working fine now. Ugh

No comments:

Post a Comment