Golden Sun Hacking Community
June 19, 2019, 07:15:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: 1 2 [3] 4   Go Down
  Print  
Author Topic: Helpful and Unique Patches  (Read 42867 times)
0 Members and 1 Guest are viewing this topic.
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 0
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #30 on: May 21, 2014, 12:28:24 AM »

Do we even understand how those vulnerabilities work yet?
Logged

View Profile WWW
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 0
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4585

« Reply #31 on: May 21, 2014, 01:28:31 AM »

From what I understand, there are a whole bunch of different ability effects that work such as eRes debuffs or instant death. I haven't really researched it yet, but all I know is that it boosts their success rate according to what Teawater says.

As for the 50% HP revive, I'm not sure if that one would work. However, I wouldn't be surprised if all of the % revives share the same function and only define the values to use for HP restoration/success rates; that's what the % healing effects do.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #32 on: May 21, 2014, 02:37:12 AM »

We have a basic idea. As far as design goes, what you really need to know is that each class can have up to three vulnerabilities, and each monster can have up to four. If using the numeric display version, you enter the index number of the secondary effect you wish them to be vulnerable to. Vulnerability to effect = increased chance of the effect occurring. How much the chance is increased, I don't know. But a character or monster probably still retains immunity to standard Stun by having 39 or higher Luck, even if they also have vulnerability to that effect.
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 0
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4585

« Reply #33 on: May 21, 2014, 03:10:51 AM »

From what I understand, having 40+ luck only grants actual immunity to a small collection of effects (poison/venom/curse/death/HP to 1/maybe one or two others), but you'll still be quite resistant to almost everything else.

However, something to note is that certain bosses are actually vulnerable to things like debuffs. Dullahan is vulnerable to Attack 12.5/25% reductions for example. If you're lucky and you land a dull or Eclipse debuff on it, then you can lower its attack. Sad to say that I don't know the ailment success rate for the attack debuff effects (just that recovery has a base of 30% when calculated in the random recovery formula), so it could also be that stat debuffs have a higher success rate than standard ailments.


I'm thinking that we should totally have a topic somewhere to discuss ailment stuff, as there is a lot that we can talk about.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2446

« Reply #34 on: May 21, 2014, 08:05:37 AM »

I'm thinking that we should totally have a topic somewhere to discuss ailment stuff, as there is a lot that we can talk about.
Role already created that topic:  Ailment and Debuff formulas:  http://forum.goldensunhacking.net/index.php?topic=2067.0 = I listed both known effect formulas in that topic. The success rate of an effect, and ailment recovering formulas. I have not listed all the effects that use the former formula, though.


@Jamie: I think it was three vulnerabilities for both Class and Enemies... if I recall correctly. The chance increase of a Vulnerability is +25% ; I think this is only for the effects that use the formula, though. The ones that don't use the formula have a base-chance that doesn't change. (From what I recall from memory.)

Revive to 50%, by the sound of it, probably doesn't use this formula, and therefore, doesn't take into account of the Vulnerability.  Do all Revives have a 100% chance of occurring? If so, then one can logically say they don't need the formula.

Edit again: I almost forgot to mention that buggy version I shouldn't be talking about.
« Last Edit: May 21, 2014, 11:20:44 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 0
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4585

« Reply #35 on: May 21, 2014, 12:59:06 PM »

Oh, oops. Didn't even realize that topic existed!

For revives, nope. I think most of them have a success rate that is equivalent to the amount they heal (so like the revive to 50% HP one for example).


So for this topic (specifically the first post), how do you guys like it?
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
FrozenWrath
The Decieved
Mercury Clan

Let's rock!

Regular Member
*

Coins: 0
Offline Offline

I am: the embodiment of hatred and anger, the Frozen Wrath!
Posts: 50

« Reply #36 on: May 21, 2014, 01:08:07 PM »

[me] approves!
Logged
View Profile
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #37 on: May 21, 2014, 05:30:05 PM »

@Jamie: I think it was three vulnerabilities for both Class and Enemies... if I recall correctly. The chance increase of a Vulnerability is +25% ; I think this is only for the effects that use the formula, though. The ones that don't use the formula have a base-chance that doesn't change. (From what I recall from memory.)
There are definitely four numbers along the bottom for enemies, and I assume all four of them are vulnerabilities. Certainly, I've never had any adverse effects from changing the last of those numbers, which makes me believe that to be the case. Character classes only have three numbers along the bottom in versions of the editor where they couldn't be changed, and three slots along the bottom in versions where they can.
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 0
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4585

« Reply #38 on: May 21, 2014, 05:38:06 PM »

Well yeah, but it could also be a regular unused value that wouldn't do anything anyway. Which, seeing as Teawater has researched those a fair bit, could be pretty likely.

Also yay, Scarlet likes it! Guess I'll consider that to be the general layout for these topics if nobody else has anything to say then. I might consider putting everything in a spoiler when there are more patches though, but even then it would only be a single spoiler.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2446

« Reply #39 on: May 21, 2014, 07:12:13 PM »

@Salanewt: Yeah, researched them a fair bit... The numbers at 080B0712 and 080B0736 give it away, too! Since both are the number 2... which means check 0, 1, and 2. ; The final/fourth number is likely unused, seeing that it's always 0. (And it might be that way for data aligning. Since 32-bits are 32-bit aligned, 16-bits are 16-bit aligned, 8-bits are 8-bit aligned, etc... usually.)
« Last Edit: May 21, 2014, 07:14:58 PM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #40 on: June 09, 2014, 03:36:58 PM »

So I noticed something annoying: If you give a damage-dealing ability the effect "Instantly end round", the effect doesn't trigger if the target is killed by the attack.

It would be really cool to have a patch that fixed this, so that the secondary effect still activated even if the target died. I'm trying to have cinematic finishing moves that can only be used one per turn because they instantly end the turn when used, but it doesn't work if it can fail just because it killed the target (when it hits over 2000 damage in a single attack, that's gonna happen pretty often).
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 0
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4585

« Reply #41 on: June 10, 2014, 03:23:24 PM »

Hm... I haven't really looked into the effect, but I would expect that it checks to see if the target is still alive or not. Not sure why they would do this unless the effect itself could bypass the whole "end battle when one team is dead" thing.

But yeah, I should be able to work on that in the near future. I'm thinking of adding Chronos as a Disco Sun summon later, and it would be cool to let to deal some minor damage to the enemies or something.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2446

« Reply #42 on: June 11, 2014, 09:24:29 AM »

Look in the Ability Effects section of the Damage Formula. I believe that entire section is skipped when you kill the enemy? (The exception is with two functions that list the effects.) (Maybe so you don't go applying Status Effects like poison when the enemy is already dead.)

The function that list exceptions for Revives probably doesn't work on enemies that are alive. (Dunno.)
The function that list exceptions for when the user gains HP/PP might be the way to go, not entirely sure, though.

The latter has a listing of the 4 effects: 31, 32, 60, and 69.


I think the general way effects are coding in is that..
-There's a start a turn function for the multiplier type effects.
-The ailment success function is only for success chances for the effects. There's a call in the damage function before the damage type code is done, and there's a call in the Start a turn function thingy... both seem to do the same thing. (The one in the Start a turn function is only used in certain case(s) and caries the result over for use in the damage function when it is used.)
-The damage formula includes the after-damage effects. This is only applied in certain cases. One of those cases being if Ailment Success is True. Probably the main place where effects have a chance? Ailment Success may also be used for the Effect Only damage type and maybe for some other effects in other areas of the code? (I mentioned the Start a turn function earlier.)
-There were two functions that list effects. The Revives list, and User recovers HP/PP effects list.
-There might be some other places(?), but I haven't listed them.

-
« Last Edit: June 11, 2014, 10:55:33 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #43 on: June 11, 2014, 05:33:01 PM »

I would think that you could make "Instantly End Round" work even if the ability kills by looking at the code for "May inflict delusion on all enemies". Which, to my recollection, still works even if the attack kills the primary target.
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 0
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4585

« Reply #44 on: June 14, 2014, 12:46:25 AM »

Hm... Done!

Teawater: Sweet, thanks for the advice! The way it's normally coded is pretty weird, but not in a bad way it seems. It has a check for "if equal than 60, branch" before an "if greater than 60, branch" check, but the second check just goes to another check. I didn't even need to expand or relocate the function to add this exception!

Jamie: As far as I can tell, both of the delusion effects use the same code; the second one probably uses a secondary function to apply it to all targets. If you change the second delusion effect's pointer, then you could change that effect into something like "inflict curse on all enemies" or something.

Well anyway, here's a fix. Could you please let me know if it breaks either the Lull or any of the HP/PP drain effects? If it works without a hitch, then I'll make a page for it in the downloads section and update the first post.








* KO Compatible Lull.ips (0.03 KB - downloaded 202 times.)
« Last Edit: June 14, 2014, 01:05:33 AM by Lord Squirtle » Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Pages: 1 2 [3] 4   Go Up
  Print  
 
Jump to:  

Cbox
June 17, 2019, 01:49:41 PM
Salanewt: Two weird posts about hacking in a week.
June 17, 2019, 04:34:53 AM
Salanewt: Lol.
June 16, 2019, 06:54:57 AM
Fox: This place is depressingly too quiet.
June 03, 2019, 07:55:18 PM
Fox: I wonder if Atrius would be interested in how my map editor would be shaping up... even if it is a bit.... messy.  - As for Textcomp being compatible with more games.... maybe some day = I would like to do that...., but it isn't on my priority list right now, unfortunately. :(   
May 29, 2019, 10:55:32 PM
KyleRunner: Fox, could you, please, make your Textcomp compatible with more games (Mario Golf and Tennis)? 
May 27, 2019, 10:10:08 PM
Caledor: I released a patch that does just that. It's in the download section
May 26, 2019, 04:47:43 AM
ryancaesar12345: and how to change a elemtal color like steam normal violet change to blue?
May 25, 2019, 02:53:49 PM
ryancaesar12345: i saw in reloaded too many icon replace or changes and shade and flash decrease block damage 60 and 90 to 50 and 60 i think summon % hp damage decrease class separation change the treasure items the effects are change 
May 25, 2019, 02:22:15 PM
Fox: Another thing about the Separation Patch and why we need PC based class type charts = With Atrius's patch = If you set all eLevels to 0, ... then when you get djinn of just one type, and each PC becomes something... well... Jenna/Piers would have the same base classes as Felix/Sheba... ... but this is concept-wise to show that something may be given up.....
May 25, 2019, 02:12:36 PM
Fox: "overwritting it" I mean the data in the buffer... not the originally file you loaded. - That only ever gets overwriting via the Save/Save As buttons.)
May 25, 2019, 02:07:44 PM
Fox: That being said, any newer version made, won't necessarily be compatible to an older version of gsmagic. It all depends on what I do.
May 25, 2019, 02:04:52 PM
Fox: The way I have it now - there's a bit of a space limitation for world map editing... that if the data covers more than what it originally does, it will let you know... (Although, it may only tell you after already overwriting it.) - So I'll need to eventually do fixes for that. But as this is an experiment editor, I'm still willing to release partial completions at times... for sake of concept,
May 25, 2019, 01:59:36 PM
Fox: (The absolute latest version of my editor is WIP/has not been released.... and I was hoping to feature World Map tilemap editing.)
May 25, 2019, 01:55:00 PM
Fox: (Careful with some editors though.... as you'll need to understand GBA is little endian... so some hex editors might show the data as Big Endian.... basically little endian is reverse bytes. (so AA BB CC DD as 8-bit/bytes.... becomes DDCCBBAA as a 32-bit)
May 25, 2019, 01:51:30 PM
Fox: tla editor... bt rather... to google for a hex editor... such as HxD, Windhex, Hex Editor Neo, etc... and use that.... Or you could just do it in VBA's memory viewer for temporary edits. (You can still save the ROM section by saving a dump, and changing from .dmp to .gba, though... but that takes a bit to explain.)
May 25, 2019, 01:49:40 PM
Fox: I thought maybe I would need to clarify.  - gsmagic is my experiment editor.  It can be found on this forum. (e.g. http://forum.goldensunhacking.net/index.php?topic=2805.0 has it, but is not the latest version of my editor.) ; Those patches - applying them is for making them easier to edit via a hex editor.... Since originally it is done in assembly... a bit of a mess for editing.... , so those patches turn that data into table(s).... ; When I say "hex editor" = No, I don't mean to use the 
May 25, 2019, 01:27:51 PM
ryancaesar12345: i dont understand a thing simple success rate and simple summon  .ips files how to understand? by patch in original rom and view in gs tla editor?
May 25, 2019, 01:26:12 PM
ryancaesar12345: gsmagic? what is that and is that a editor where i can download that?
May 25, 2019, 01:03:43 PM
Fox: gsmagic only really supports GS2 (U) as well... While there is minor support for GS1 (Mainly to view maps), can't really say it counts yet.
May 25, 2019, 01:00:10 PM
Foxhttp://forum.goldensunhacking.net/index.php?action=downloads;sa=view;down=59 = And the Simple Summons thing... (Hex editor experience expected..) ... For all three of the hex editor experience stuff... I mean just basic knowledge should be enough to get by.

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.158 seconds with 23 queries.