Golden Sun Hacking Community
April 28, 2017, 12:08:08 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  
  Show Posts
Pages: [1] 2 3 ... 114
1  Golden Sun Hacking Community / Feedback / Re: Fatal error on homepage on: April 25, 2017, 09:18:08 PM
You would think, but no, it uses the incorrect spelling.  The Downloads_ at the beginning of the function name is new though since it's been updated to the newer version.
2  The Editor / Golden Sun: The Lost Age Editor / Re: Error message on: April 15, 2017, 03:21:47 PM
You might need the files I've attached to this post, put them in the same directory as the executable.  It's supposed to automatically extract them as needed, but if it's in a place where it can't create them that error could happen.
3  Golden Sun Hacking Community / News & Announcements / Re: Important announcement regarding forum malware attack on: April 02, 2017, 02:20:28 PM
I've completed my clean up of the Malware, I'm pretty confident that we're clean now, additionally, I've made sure we have the latest security updates installed on the forum.

I'm still not sure how it happened in the first place, it's possible the attack didn't even originate on this site.  One of the dangers of using a shared hosting environment is that things can leak over from other sites on the server.  Regardless, I'm going to be keeping a closer eye on things for a while.
4  Golden Sun Hacking Community / News & Announcements / Important announcement regarding forum malware attack on: March 21, 2017, 12:17:47 AM
Hey everyone, I've got some bad news and some good news.


The bad news: It's just been discovered that goldensunhacking.net was infected with malware around the end of February in 2016.

The good news: There is no indication so far that the attacker was trying to target user data, or impact normal site visitors in any way.



I'm still sifting through everything to determine the damage, but fortunately what I've analyzed so far indicates that the attacker was just using our server as a proxy.  What that means is that they were masking their IP address as our server's to access other sites.  I haven't found anything yet that would indicate regular users of the site would have been impacted by the malware, but I will keep you updated if I discover anything that indicates otherwise.



21 Mar Update

I've found code that could have been used to redirect traffic coming in specifically from the search providers Google, Yahoo, MSN, AOL, and Bing, or replace all of the links on the site with different links for traffic coming from those same search providers.  It appears to have never been configured properly though, and would not have been functioning.  So far this is the only code I've found that could have impacted normal users, but again it would have required additional set up that was not performed, and would not have been functioning.

Although there are still no indications that user data was targeted, I'm continuing my analysis of all of the site's files to make sure, and will keep you informed.  I have no estimate for when I'll get the site up and running again, making sure everything is clean is my main priority right now.
5  Golden Sun Games / Golden Sun: The Lost Age / Re: Collision Stuff on: January 17, 2017, 01:07:49 AM
Weird.  I'm not sure why it's letting you slide into the wall, but I do know for sure that movement in Golden Sun is calculated in 3 Dimensions so as soon as you're moved onto the wall tile you're pushed up on the Z-Axis (which visually overlaps the Y-Axis, I play with it some in this video) to the height of the wall.
6  The Community / Introductions / Re: HELLO PEOPLES! I've made a mod but that's not the point =3= on: January 16, 2017, 06:17:26 PM
Welcome to the forums, WhiteMageMonk.  Sorry about the technical difficulties we've been having that made getting on difficult.  I hope you'll enjoy your time here.
7  Golden Sun Hacking Community / Feedback / Re: Trouble with verification email on: January 16, 2017, 06:07:16 PM
I found the problem and fixed it, verification and other emails should send successfully now.
8  Golden Sun Hacking Community / Feedback / Re: Trouble with verification email on: December 27, 2016, 02:52:04 PM
I just approved his account
9  The Editor / Golden Sun Hacking / Re: How does Golden Sun piece NPC speech audio together? on: October 19, 2016, 03:26:18 PM
I don't know much about it, but I do know that in the first Golden Sun game the code for handling voices is around 0x080815AC.  I believe the data array starting at 0x0809E9F0 is used to set the voice type according to the character/sprite.
10  The Community / Open Discussion / Re: It's been a long time. on: October 06, 2016, 02:09:39 PM
Menaus... I remember that name.  Welcome back!
11  The Editor / Golden Sun Hacking / Re: Unusual Hack Ideas on: October 06, 2016, 06:52:48 AM
Nice, that's your custom engine right?  I feel like I'd have to slap someone if they went trough the trouble of hacking a Golden Sun or TLA ROM to add that functionality.

Eh, who am I kidding...  It IS more impressive if you managed to hack it into an official ROM, but you've got the skills to and might as well make your own engine at that point.
12  The Editor / Golden Sun Hacking / Re: How does Golden Sun handle movement? on: September 25, 2016, 05:01:08 PM
Hello again.

I actually did a lot of work on figuring out exactly how movement worked in Golden Sun.  It's been a while so my memory is pretty fuzzy, but I still have some code lying around I wrote to mimic it for my Flash tech demo.



The basic code for movement I did was separated into two functions, one for handling input for the player, and another one that EVERY character in the engine used to handle movement.

The function for the player
Note that keyDirectionHeld would be set to 1 if they corresponding key was held, and 0 if not.

Code:
xMove = keyRightHeld - keyLeftHeld;
yMove = keyDownHeld - keyUpHeld;

// Does the player want to move?
if (xMove != 0 || yMove != 0) {
dirMove = direction(0, 0, xMove, yMove); // Calculate direction player wants to move

moving = true;

if (keyRunHeld)
speedMax = 1.5; // Running max speed
else
speedMax = 1; // Walking max speed

if (speed > .25) {
if (keyRunHeld)
animation = 5; // Animation 5 is the running animation
else
animation = 2; // Animation 2 is the walking animation
} else {
animation = 9; // Animation 9 is the idle animation
dirFace = dirMove; // Force facing direction to direction player wants to move;
}
} else {
moving = false;
speed = 0; // Player stops immediately when buttons are released
animation = 9; // Animation 9 is the idle animation
}


This one handles movement of ALL characters

Code:
if (moving) {
speed += acceleration;
if (speed > maxSpeed)
speed = maxSpeed;
} else if (speed > 0) {
speed -= acceleration;
if (speed < 0)
speed = 0;
}

if (speed>0) {
xPrevious = x;
yPrevious = y;

// This function moves the actor the distance of "speed" in the direction of "dirMove"
// It also handles collisions, and sliding the character around obstacles
moveDirection(speed, dirMove);

// Face the character the direction they're moving
if (x != xPrevious || y != yPrevious)
dirFace=direction(xPrevious, yPrevious, x, y);  // Calculates direction between 2 points
}

In Golden Sun's engine, "acceleration" is 0.25 for the player.

moveDirection(distance, direction) is where the character's position is actually changed, and collisions are handled.  Here's a post I made a while back that goes into the details of how collisions work in Golden Suns engine.  There's a lot of good info later on in that topic too.


Additionally, the character's sprite facing direction is eased so they turn gradually instead of instantly.
Code:
if (dirFace != dirSprite) {
// Normalize dirFace so the sprite turns the quickest way to face correctly
if (dirFace - dirSprite > 180)
dirFace -= 360;
else if (dirFace - dirSprite <= -180)
dirFace += 360;

// Calculate direction change
dirChange = dirFace - dirSprite;
if (dirChange > 22.5)
dirChange = 22.5;
if (dirChange < -22.5)
dirChange = -22.5;

// Add direction change, normalizing output between 0 and 360
dirSprite = (dirSprite + dirChange + 360) % 360; 
}
13  The Editor / Golden Sun: The Lost Age Editor / Re: Editor Help: Swapping Character Models/Icons on: December 13, 2015, 12:12:55 AM
Considering the way that compression format 2 works it would be much safer to convert the sprites to a different format than to try reworking how the NPC class works.

In format 2, ALL of the sprites in the set have to be decompressed to memory before any of them can be displayed.  In any of the other formats only the one sprite from the set being shown has to be decompressed.  Format #2 is much more memory heavy than any other format.
14  The Editor / Golden Sun: The Lost Age Editor / Re: Editor Help: Swapping Character Models/Icons on: December 12, 2015, 11:28:17 PM
Yeah, I just tried turning Felix and Jenna's battle sprites into Saturos and Menardi. All I saw was Jenna's staff floating in the air. I either need to find a way to reformat their compression values or hex edit the sprites over each other.

Sprites highlighted in red in the list when you're selecting battle sprites for party members are in a compression format that will not work.

Alpha v0.5 of the editor can convert sprites to different formats.


The compression values represent the format the sprites are compressed in.  You can kind of think of the difference like the sprites being compressed in .gif, or .png format (in reality though, the games formats don't match either of those)  Format 2 is a special format only used by enemies in battle that will not work at all in many other places, including for party members in battle.
15  The Community / Open Discussion / Re: "Post bomb" for all GS forums on: December 11, 2015, 12:16:32 AM
*does a thing*
Pages: [1] 2 3 ... 114
Cbox
Today at 03:06:05 AM
Rolina: Once I'm done with data collection, I'll post a summary of my findings, and will begin by proposing a set of modification categories and their associated values.  Problem is, it'll use my system, so I'll need those more familiar with the two casting systems (MPP and INT) to translate the intent of the modifers properly.
Today at 03:03:18 AM
Rolina: ---extra turn, it's good now because of my proper hard mode" nonsense method of fixing the lower difficulty curve of the games.  I think the first thing to look at is the Size and Type of enemies.  A small plantoid should have substancially different than a medium goblinoid, imo.  Especially when you start factoring in other modifiers, such as body shape, the role in combat, monster tier level, and even manual tweaking.  Sometimes, a turtle just needs that extra 10% defense to really make sense.
Today at 02:59:39 AM
Rolina: Yeah.  I was getting data so I can use the trendlines as a basis for an enemy creator using my system.  As it turns out, it may turn into a tool for the GSHC before then just to get some consistant statistical variatino added in.  Between that and your AI project, we could probably do a lot to help with widening the scope of enemies in the game.  Could lead to a proper increase in difficulty that has nothing to do with something simple like "so guys I upped theier stats and gave them all an---
Today at 01:53:24 AM
Lord Squirtle: The "lack of enemy variation" part specifically.
Today at 01:49:27 AM
Lord Squirtle: Lol, that's starting to sound like one of the reasons why I'm planning an AI overhaul.
Today at 12:32:55 AM
Rolina: I thing it goes a long way to explaiing why battles are on the easier side - just a pure lack of enemy variation.  When the big bad dragon shares the same statistical layout as a freaking grub with a stick... well, I figure something should be done about that.  Luckily, we're here to correct such lazy design.
Today at 12:30:41 AM
Rolina: And PP is even worse.  It looks like it's completely divorced from level for most monsters, with them gaining PP based on what and how many spells they have on their movset, usually around 20 for most non-damaging spells.
Today at 12:29:30 AM
Rolina: Been doing some data collectino with enemy stats.  Less than a fifth of the way through so far, and.... well, from the trends I've been noticing, the results look kinda... depressing.  Most monsters seem to follow the same statistical trends, regardless of what type of creature it is.  Could be a bird, a beast, or a freaking turtle - the ratio of Health, Attack, Defense, and Agility appears to be following the same ratios.
Yesterday at 11:36:37 PM
Fox: Sounds like you got what I got way back?  Guess that means the error's still there.
Yesterday at 09:43:50 PM
Caledor: Menu Box patchs for TLA is up. sadly i got an error after uploading so i tried again without checking and now there are 2 patches. If someone could delete the second one i'd appreciate it.
Yesterday at 12:17:52 AM
Fox: (e.g. The process of reomving, replacing, adding, and/or moving around current ability effects to other index numbers.... ETC.)
Yesterday at 12:15:33 AM
Fox: Or an Ability Effect editor, even.... But I imagine most of those would involve have patches applied to help with compatibility, and what not.?
Yesterday at 12:10:36 AM
Fox: Hm. Oh! Did Atrius's Editor contain code from the April Fools version? Might be cool to have that, I'm guessing? - And yes, tools... even specific feature tools... Like an Intellect Editor, maybe.... If it was practical. (Not saying doable, but practical.)
April 26, 2017, 11:58:08 PM
Lord Squirtle: And yeah, "far less user-friendly" as an argument relies on the current lack of tools that could make using that easier.
April 26, 2017, 11:57:26 PM
Lord Squirtle: Since the GS editor is actually slower than using a hex editor is when it comes to classes, especially if you are mostly copying or tweaking existing classes to make full lines for them.
April 26, 2017, 11:56:18 PM
Lord Squirtle: Well I mean, it's the kind of effect that could easily be applied to a number of abilities if one wants. Having to open up a hex editor to use it for each of those abilities would take some time, and wouldn't really be as worthwhile as it can be for classes.
April 26, 2017, 11:50:27 PM
Fox: Far less user-friendly? Hm? I would say it depends on the tools/and such... For example, still haven't gotten my Exporter project done....
April 26, 2017, 10:07:39 PM
Lord Squirtle: But what I was thinking of doing with the unused effects was figuring out which ones are still available and combining them; averaging out the differences between each one so they make up for the ones that are missing.
April 26, 2017, 10:05:36 PM
Lord Squirtle: I may consider moving the effects to the end of the effect list, since I moved the pointer table and added some empty space on the end. My main concern with that is that it would be far less user friendly.
April 26, 2017, 08:06:20 PM
Fox: Heh... Starting to make me want to add the Ability Editor to my own Editor now... So I can do that, and have chance values listed for each and every one. (So it is more specific than Atrius's editor.)

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.11 seconds with 20 queries.