Golden Sun Hacking Community
December 16, 2017, 08:45:45 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]   Go Down
  Print  
Author Topic: Game Crash from falling Z-coordinate and retreat glitch  (Read 323 times)
0 Members and 1 Guest are viewing this topic.

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« on: September 08, 2017, 06:09:37 PM »

https://www.youtube.com/watch?v=Ki_aclH14a4

Found by fx (definitelynotfx on twitch)

Going into the ICG state in this particular room and jumping around will cause your Z coordinate to descend infinitely. Entering retreat mode and then save/reset will cause a game crash on load. Apparently it causes the glitch out making noises similar to https://www.youtube.com/watch?v=BPwQR8xeEGU
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« Reply #1 on: September 08, 2017, 09:19:09 PM »

Oh cool... About the infinite falling thing... But doesn't the crash happen without the ladder glitch as well? Hmm...

I'll look, but it wouldn't surprise me if both rooms used different map code files and that's why. No idea, yet, though.


Edit:  They do use different map code files. But not sure which part causes the crash yet.


Edit:  It is possible this could be similar to the mirror puzzles.... there's pointers to 02009AA9... see the objects at 02030EBC... will look a little further, though.
Those are the Lift blocks.
« Last Edit: September 08, 2017, 09:39:06 PM by Fox » 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...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« Reply #2 on: September 08, 2017, 09:34:52 PM »

I played around trying to get the crash just by lowering the Z-coordinate, but I was unable to replicate it. It definitely is because of the infinitely falling Z-coordinate. It is probably similar to the Anemos sanctum crash.
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« Reply #3 on: September 08, 2017, 09:48:06 PM »

I tried it again.
I went to the Retreat Map (Went to World Map and back just to make sure it sets it correctly.)
Then I went to that room.
(Did not bother with ladder glitch... even though I did try that a little earlier.)
I Retreat Glitch.
Save.
Restart.
(Made sure Debug Mode was on because that's what I usually use/and since it can affect sanctum warping.)
And I get a crash.

So unless I did something wrong (doubt it), there's definitely a crash not involving glitching the z-coord.  (At the minimum.) ... (Doesn't prove changing the coords can't cause a crash, but anyway.... I need to investigate those Lift blocks.... since those are like the only "objects" here... (Other than chests/Isaac)  ... Like 4 objects in list (if ignoring Isaac)... and two of them (Lift blocks) appear to be at (0,0)?)

^I mean, the code pointers in the NPC data ... when called... when a different map code file is used... would cause a memory leak  (depending on pointer) ... (What do you call it when you skip putting stuff in the stack/take it out as though it were there?) ... which basically messes everything up.... esp. when return addresses are put in the stack, and some values that aren't return addresses are treated as such.
« Last Edit: September 08, 2017, 10:09:33 PM by Fox » 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...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
Today at 05:19:46 AM
Majora: Perfect. Thank you!
Today at 04:45:37 AM
Atrius: Also, you can put use [nobbc][/nobbc] to show bbcode without it being parsed.
Today at 04:22:03 AM
Atrius: The bbcode wasn't designed to handle "https://youtu.be/" links.  It should be fixed now.
Today at 01:06:01 AM
Majora: Read that sometimes SMF doesn't like YouTube's https links, seems to have the same issue with http as well
Today at 01:04:59 AM
Majora: Sorry lol, didn't realize it would embed the player into the chat. At least that works! tl;dr: embedded YouTube videos fail to appear in forum posts
Today at 01:04:07 AM
Majora: Just noticed this, not sure if it's already been mentioned but it looks like the forum is breaking embedded YouTube links in posts using BBCode [youtube][/youtube] tags
December 13, 2017, 09:19:38 PM
Fox: Okay, so that Summon Night games adds the fram number to the seed, before generating another seed via mul/add....  (GS1-GS3 never adds the fram number.) ... So um, that makes sense! ;  Summon Night:  ((seed + frame) * 0x343FD + 0x269E3C) >> 0x10 ; Which is also on the list here: https://en.wikipedia.org/wiki/Linear_congruential_generator
December 12, 2017, 11:10:45 PM
Fox: Yes, and there could be contests. Maybe ones where 1st/2nd/3rd place get a cash reward, but eh. Dunno.... Kind of thinking about making a topic about how people got their job, and what was their experience. (e.g. Did they use references of people already working in the job, and various other things.)
December 09, 2017, 04:24:14 AM
Majora: Import old forum posts for reference, perhaps take posts containing important info like documentation away from the old stickied forum post model and make them into their own pages on a site with an in-built search bar. Might help with SEO, too. If nothing else, perhaps whipping them into PDFs and hosting them via Scribd? The possibilities are boundless when it comes to restructuring a site
December 09, 2017, 04:20:02 AM
Majora: Just a nice idea to have even if it doesn't come to fruition. Updating, modernizing, always a good idea. Could probably do something pretty nifty using a good Wordpress theme
December 09, 2017, 04:15:45 AM
Majora: Would be kind of neat to do something like that for GSHC. Could change it up a bit to show all tweets/instagram posts/facebook posts/golden sun subreddit posts all in one sidebar. It would be cool in that it gives the site it's on (and the topic in general) appear more lively and active, which is a plus
December 09, 2017, 04:14:19 AM
Majora: That does sound interesting. One cool thing I've seen some sites use is a sort of unique take on a sidebar option that acts like a social media integration (like, "See GSHC's latest Tweets"). It displays activity from a variety of related sites, such as Reddit, Twitter, Instagram, etc.
December 09, 2017, 12:58:53 AM
Fox: And the way it'd work via code is not that all users would instantly get nicknames the minute you register... but rather, the moment you view a name if it doesn't have a nickname, it gets one. (My Thoughts.)
December 09, 2017, 12:53:55 AM
Fox: (I was thinking that it would be "Name (Nickname)" ... The nickname is what you first known the user as, and you can change that yourself... and the Name is what the user wants to be called... Something like that.
December 09, 2017, 12:47:56 AM
Fox: So like... for starters, one idea I had was to make it so anyone can name anyone... much like how it works on Skype, and you (the namer) would be the only one to see it, and such...
December 09, 2017, 12:45:02 AM
Fox: Would need to be carefully thought out and tested, though.
December 09, 2017, 12:43:02 AM
Fox: I'm thinking I could make it so that name changes can happen whenever... (Without any limit)... Since I believe there's a way to do it with minimum confusion. (I think.) Hmm....
December 09, 2017, 12:31:36 AM
Fox: (I mean an offline version... at least initially.)
December 09, 2017, 12:25:01 AM
Fox: Now that I have thought about it a bit more, would I be right to assume that GSHC would be one of the most interesting websites to administrate, or no? It's sad to see not much going on with it. == I almost want to make a concept website at some point. :D Anyway, how is everyone doing today?
December 06, 2017, 12:12:59 AM
Fox: Like... Start using Github or something... Do like how many of those other projects such as Citra (WIP 3DS Emulator) does. Etc.

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