This may sound silly, but I'm new to RGSS3. Will the game crash if I fix this typo?
(RGSS3)Game_Followers - follower typo at line 98, 104, 110
RGSSx Script SupportAce default scripts have no typo in them, they have been stable for decades.
If you place the lines and typo's in question here and telly why you believe that to be a typo, then we can analys the code - but I haven't installed Ace anymore so I can't check directly.
If you place the lines and typo's in question here and telly why you believe that to be a typo, then we can analys the code - but I haven't installed Ace anymore so I can't check directly.
Yes. Even before I encountered this, VXAce still run normally. So I was just wondering whether it'll ruin the run if I "fix" . It's Game_Followers under Game Objects
Code:
#--------------------------------------------------------------------------
# * Determine if Moving
#--------------------------------------------------------------------------
def moving?
visible_folloers.any? {|follower| follower.moving? }
end
#--------------------------------------------------------------------------
# * Determine if Gathered
#--------------------------------------------------------------------------
def gather?
visible_folloers.all? {|follower| follower.gather? }
end
#--------------------------------------------------------------------------
# * Detect Collision
#--------------------------------------------------------------------------
def collide?(x, y)
visible_folloers.any? {|follower| follower.pos?(x, y) }
end
end
In programming (no matter the language) if a function is mispelled, then it can only run if its definition is mispelled in exactly the same way. The except from above does not contain a definition of visible_folloers, so I can't tell.
There are two possibiliti8es here:
1) the definition is also mispelled and if you correct the spelling here but not in the definition the game will crash because it has no definition for the corrected typo.
2) the functions are never used in the engine (yes, there are a few functions that are dead code) and that is the reason why the typo was never found - and changing anything would do nothing because the code is already dead.
There are two possibiliti8es here:
1) the definition is also mispelled and if you correct the spelling here but not in the definition the game will crash because it has no definition for the corrected typo.
2) the functions are never used in the engine (yes, there are a few functions that are dead code) and that is the reason why the typo was never found - and changing anything would do nothing because the code is already dead.
An old saying goes: You don't need to fix it if it isn't broken.
I know this is hard to ignore for some people. I'd be tempted to correct this myself... However, I wouldn't, unless things don't work because of it.
The things is: If this needed to be corrected, it wouldn't have worked right without it being corrected.
I know this is hard to ignore for some people. I'd be tempted to correct this myself... However, I wouldn't, unless things don't work because of it.
The things is: If this needed to be corrected, it wouldn't have worked right without it being corrected.
Okay thank you
Agreed. I am just curious that's why I made a thread about it.
as I have it, it says "folloers is a typo, but left because of compatibility", which leads me to believe it's a VX/XP typo, not Ace.
so, the devs knew about it and left it be.
so, the devs knew about it and left it be.
Okay. This matter is solved 😀
This thread is closed due to being reported as solved. If you need it reopened, let us know. Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/rgss3-game_followers-follower-typo-at-line-98-104-110.168763/