EDIT: Ok, nevermind, it doesn't cause a problem anymore for whatever reason.
Uck... this requires SDK @.@
Anyway.. what you have to edit is...
def maxsp
sp = 0
sp += $game_actor[ID_of_ACTOR].sp
return sp
end
This should work unless SDK /totally/ redefines how you get the actor's SP... or I'm just being dumb XD
So replace
def maxsp
sp = 0
@actors.each do |actor|
sp += actor.seph_partysp_gmactr_maxsp
end
return sp
end
With your code? Because I seem to be getting an error when I try to use it.
(http://i8.photobucket.com/albums/a3/omegapirate2000/anothererrorbaww.png)
Did you put the ID # of the actor that the SP is taken from inside the []?
Yep
Should be "$game_actors", not "$game_actor". Shit happens. xD
Well now I'm getting problems at startup with the stack level being too deep on line 99 of Game_Actor.
Something to do with an exp list, I have no idea why that would be a problem, but apparently it is.
EDIT: It will also, seemingly at random, say the problem is at line 100.
Quote from: omegapirate2000 on October 21, 2008, 10:19:54 am
Well now I'm getting problems at startup with the stack level being too deep on line 99 of Game_Actor.
Something to do with an exp list, I have no idea why that would be a problem, but apparently it is.
EDIT: It will also, seemingly at random, say the problem is at line 100.
Then it could very well be on line 98 or earlier, it's giving you the message based on what line it last read, most compilers will occasionally read a few lines before they crashes completely...
at least that's my first thought, it could be that there's errors on both of the line you mentioned... but check some of the other lines in that vicinity.
Yeah it just gives them from all over that area.