Please login or register.

Login with username, password and session length
Advanced search  

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed. Find out how you can help in the Recruitment section.

Pages: [1]
Emmy [Posts: 197]
  • View Profile
  • share
  • [February 20, 2017, 03:19:07 PM]
Elemental ability/Masshex weirdness
« on: February 20, 2017, 03:19:07 PM »
So I've been attempting to code a single ability that changes its element based on the tile that the user is on.  But it's breaking all elemental spells with unpredictable results. :'(

Fftorgasm patch:


Main routine code/documentation:


Also pasting the routine code as it is into masshex and updating branches, pressing "encode" then "decode" results in weird results.  Possible bug?

Emmy [Posts: 197]
  • View Profile
  • share
  • [February 21, 2017, 06:50:35 PM]
Re: Elemental ability/Masshex weirdness
« Reply #1 on: February 21, 2017, 06:50:35 PM »
After about a dozen more attempts to make this, i'm 99.99% sure that the problem is not knowing how to properly make/work with custom tables. :(  It doesn't seem to matter if I'm hardcoding this to an ability slot or if i'm just writing a new formula.  It doesn't seem to matter if I'm making the formula use the regular elemental routines or making a custom clone of it that refers to a byte that should only be loading from my table, etc.  It's loading the same crap data, not my table, every time. :'(  I have no idea what I'm doing wrong. :'(

Another attempt with new custom routines:

French Maid
Xifanie (Webmistress) [Posts: 4163]
  • View Profile
  • Final Fantasy Hacktics
  • http://steamcommunity.com/id/Xifanie
  • share
  • [February 21, 2017, 08:15:00 PM]
Re: Elemental ability/Masshex weirdness
« Reply #2 on: February 21, 2017, 08:15:00 PM »
Code: [Select]
lui r1, 0x8016
addu r1, r1, r2
lui r1, 0x0001
addu r1, r1, r1
lbu r4, -0x19E8(r1)

no idea what this is, but it sure looks damn wrong

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Internet Cool
    Dokurider [Posts: 2794]
    • View Profile
    • http://steamcommunity.com/profiles/76561198023738783/
    • share
    • [February 21, 2017, 08:32:29 PM]
    Re: Elemental ability/Masshex weirdness
    « Reply #3 on: February 21, 2017, 08:32:29 PM »
    It's MassHex's fault, Xif.

    And yeah, I'm using the latest version (v13).
    French Maid
    Xifanie (Webmistress) [Posts: 4163]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [February 21, 2017, 10:32:41 PM]
    Re: Elemental ability/Masshex weirdness
    « Reply #4 on: February 21, 2017, 10:32:41 PM »
    Did you just upload that picture twice? ...why? =_=

    Also, Alt + PrintScreen for only the current window. Works even with dropbox.

    And god it fucking sickens me that I pay $10 a month for an IRC server that we can administrate, moderate, have an unlimited amount of channels on, but apparently you're all on Discord or whatever. =_=
    I only learned about it 2 weeks ago for the first time.

    Or maybe it's FFHacktics chatting without that fucking bitch Xifanie?

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Andrew [Posts: 205]
    • View Profile
    • share
    • [February 21, 2017, 11:41:19 PM]
    Re: Elemental ability/Masshex weirdness
    « Reply #5 on: February 21, 2017, 11:41:19 PM »
    It's mostly Arena modders/players in our Discord channel.  We do not spend our time badmouthing you, I promise you this much.  In fact, whenever your name is mentioned in our channel, it's usually because we're talking about ASM.  After all, you did make the tournament hack *and* the memory card generator, two things that are essential for Arena!

    Discord is something we wanted to try out because it has voice support, which makes discussing pretty much anything a breeze, especially if there's a lot of people online.  Most of our vocal discussions are of the game-balancing variety, so this is why we've stuck to using Discord.

    I hope that this clears-up any misconceptions.

    - Andrew
    Emmy [Posts: 197]
    • View Profile
    • share
    • [February 23, 2017, 03:29:08 AM]
    Re: Elemental ability/Masshex weirdness
    « Reply #6 on: February 23, 2017, 03:29:08 AM »
    So, after putting my last attempt at writing the ability into an older version of masshex, it now works as intended. :)  Pretty sure the problem is whatever the hell is causing masshex to do this, and it's loading junk data from god knows where:

    lui r1, 0x8016
    addu r1, r1, r2
    lui r1, 0x0001
    addu r1, r1, r1
    lbu r4, -0x19E8(r1)

    Marking topic as solved. :)
    Glain [Posts: 445]
    • View Profile
    • share
    • [March 01, 2017, 06:06:02 PM]
    Re: Elemental ability/Masshex weirdness
    « Reply #7 on: March 01, 2017, 06:06:02 PM »
    A bit late to the party here, but this was caused by a bad lbu statement in your input (offset too high: 0xe618; maximum is 0x7fff). I discussed the specifics in the MassHex thread here.
    Pages: [1]