Golden Sun Hacking Community
April 22, 2018, 08:52:54 AM *
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 33484 times)
0 Members and 1 Guest are viewing this topic.
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
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: 32
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: 4566

« 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: 32
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: 4566

« 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: 28
Offline Offline

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

« 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: 32
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: 4566

« 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: 32
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: 4566

« 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: 28
Offline Offline

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

« 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: 32
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: 4566

« 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: 28
Offline Offline

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

« 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: 32
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: 4566

« 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 113 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
April 20, 2018, 02:46:36 PM
KyleRunner: Atrius!!
April 19, 2018, 11:29:46 PM
Atrius: @Fox, I tried, but for some reason Mario Golf won't boot, and Mario Tennis crashes when you patch out the text compression, and I'm not sure why...  The normal text loading functions in them are basically the same as the ones in the Golden Sun games.
April 16, 2018, 07:44:36 AM
Drake baku: So it took about halve a hour of letting my lap stay off for it to suddenly work again
April 16, 2018, 07:31:28 AM
Drake baku: All of a sudden fox his editor gets errors. When trying to start it, thing worked fine yesterday...
April 14, 2018, 01:04:37 PM
Fox: @Mario Golf/text editing = Nope... And it may be awhile yet. I think I looked into it before... (at least for GS1)... but usually is the case when I come across a particular problem, that it can delay a solution for an extremely long time.
April 12, 2018, 04:27:14 PM
KyleRunner: Gee... never used discord...
April 12, 2018, 06:03:23 AM
Drake baku: I take it back, found it
April 12, 2018, 06:02:01 AM
Drake baku: But there is no discord link to be found
April 12, 2018, 06:01:44 AM
Drake baku: Everyone is on discord
April 11, 2018, 09:44:06 PM
KyleRunner: Fox, what about that tool for editing text in Mario Golf? Didi you finish it? If not, can you make a version of gstoolkit compatible with it?
April 11, 2018, 07:41:25 AM
Drake baku: Mauw
March 30, 2018, 07:26:11 PM
Salanewt: Hi!
March 29, 2018, 07:37:45 PM
ThanatosTheDark: YYEEEOOOOOO
March 12, 2018, 02:21:06 AM
Fox: say*
March 12, 2018, 02:20:53 AM
Fox: I saw we need an event this April Fools/Easter... because two holidays are in one, why would we not want to miss having something special? (Unfortunately, there's no one here to make an event be successful.)
March 12, 2018, 02:18:17 AM
Fox: And since that's the case...  I have thought of another fun experiment idea. - What if we had an auction on who should run this site, and waited for 10 people to bid and also for a bare minimum of 24 hours. Who would bid the highest, and how much would that bid be? - The idea is more for lulz (Maybe for April Fools?), and a theory to get an idea of how much the site might be worth as well.
March 11, 2018, 03:02:31 AM
Fox: Creepy, isn't it?
March 10, 2018, 02:19:04 AM
Fox: It's frog legs now.. It's something that's dead, but somehow still manages to wiggle.
March 09, 2018, 04:12:17 AM
JamietheFlameUser: I think this place is still dead.
March 02, 2018, 09:43:18 AM
Pkmn-Master: Lol I haven't been here in like 6 years. How is everyone?

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.069 seconds with 22 queries.