Announcement

Collapse
No announcement yet.

Modifier System Underway

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Modifier System Underway

    Click image for larger version

Name:	modifiers.png
Views:	1
Size:	20.3 KB
ID:	163755

    I've started the new Modifier system. Basically, in the expanded code box, you can choose your modifier value and it will show you the code for it.

    Hackers, when you add codes, there is a new box for modifiers. Basically, you put your modifiers in, one for each line, with the value:description like this:
    Code:
    00:Nothing
    01:Machine Gun
    0A:Nuclear Warhead
    And then your code needs question marks. So your code would just look like "1234:??".

    Click image for larger version

Name:	modifiers2.png
Views:	1
Size:	12.7 KB
ID:	163756
    There are also range modifiers, that are specified with min-max,step like this:
    Code:
    0-9,1
    If you don't specify a step, 1 is assumed.

    All numbers are assumed to be hexadecimal.

    Right now, all modifiers are still in the notes, except for the one in the picture. I can try to move them systematically, and I will, but that may cause problems. I'll try my best, but chroniclers and hackers should keep their eyes peeled for such cases. It's simple enough to just edit a code and make it right.

    Post any problems with the system in this thread and I will take a look at it.
    Please put all complaints in writing and submit them here.

    Above link not working? Try here.


  • #2
    BTW, I changed the range control from standard HTML5 to a jqueryui slider. That should help with browser compatibility. Plus, it behaves better.
    Please put all complaints in writing and submit them here.

    Above link not working? Try here.

    Comment


    • #3
      uh looks pretty comely, nice work sir.
      dood
      dood! im a uniter, not a divider dood

      Comment


      • #4
        Awesome!
        Doakan untuk MH370 / Pray for M370

        Comment


        • #5
          I processed all codes with a "?" in them (except for the few that already had modifiers).

          Modifier codes not processed:
          • Any that use something other than a "?" for a place holder, like an "X" or "#"
          • I haven't done support for multiple modifiers per code, and not sure that I will
          • (Most likely) any that don't substitute a hex digit, such as a genie code "ASXEP?"


          Keep these things in mind:
          • There are several hundred thousand modifier codes. They're not all going to have been processed perfectly, though I wrote the script to be as accurate as I could.
          • No db fields were altered except the modifier field, so there should be no irreparable damage.
          • If selection mods couldn't be found in the note, a range was assumed. The max value is the same amount of F's as ?'s. So if the code was 123456:00??, the assumed range is 0-FF,1.
          • The notes were not altered, so the mod options are still listed in them. However, when adding or editing codes, the mods are not required in the note. I didn't strip them out for two reasons, a few of the notes may not have made sense without them, and also if there was a mistake in the processing, I can easily redo it.


          I may introduce the bitfield modifier type, even though it probably won't be used very much. I'll most likely use checkboxes for the control.

          EDIT:
          I processed the "X" codes, being careful not to process any game genie or ARMAX codes, since they include X's (except snes).
          Please put all complaints in writing and submit them here.

          Above link not working? Try here.

          Comment


          • #6
            The recent changes had caused some bugs with the export system, but I just fixed them. Tonight I will work on transferring the selected values to the export system so the exported files reflect the values you choose.

            EDIT:
            Done. That took less effort than I expected.
            Please put all complaints in writing and submit them here.

            Above link not working? Try here.

            Comment


            • #7
              I just tried exporting some codes into FCEUX cheat format, and the codes made by me with a "??" as value were not exported. The other codes from other hackers with an undefined value were exported fine though.

              Page in question:
              http://gamehacking.org/?game=29610#

              My "Movement Modifier" codes were not found on the exported cheat list, but my other codes (such as Max Money) were fine.

              In other words, all codes were exported fine, except my Movement Modifier codes. Is it maybe because they have a note?
              Last edited by ReyVGM; 03-15-2014, 12:30:58 AM.

              Comment


              • #8
                Originally posted by ReyVGM View Post
                I just tried exporting some codes into FCEUX cheat format, and the codes made by me with a "??" as value were not exported. The other codes from other hackers with an undefined value were exported fine though.

                Page in question:
                http://gamehacking.org/?game=29610#

                My "Movement Modifier" codes were not found on the exported cheat list, but my other codes (such as Max Money) were fine.

                In other words, all codes were exported fine, except my Movement Modifier codes. Is it maybe because they have a note?
                It's because you haven't set a modifier. If the value can be anywhere between 0 and FF, just make the modifier "0-FF,1" - that means 0-FF with a step of 1.
                Please put all complaints in writing and submit them here.

                Above link not working? Try here.

                Comment


                • #9
                  Rey, and everyone else-

                  I made a default for the modifier system, so if you don't specify a range it assumes a full range with a step of 1. You can still specify a custom range if you want, obviously.
                  Please put all complaints in writing and submit them here.

                  Above link not working? Try here.

                  Comment


                  • #10
                    Got it, thanks!

                    Comment


                    • #11
                      I just realized something, I need to edit some of the exports to support the modifier system. For instance, with MESS you can actually choose your mods in the emulator. So, this weekend I'll do that too.
                      Please put all complaints in writing and submit them here.

                      Above link not working? Try here.

                      Comment

                      Working...
                      X