Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Combo Attacks Script Help
#9
\o/ Flipping fixed it! Wouldn't you know it, the problems with the Skill Points being incorrect were found in the "Window_Skill SP Cost" script. XD

Seriously though, I would like to walk you through the steps I used to fix this bug in hopes of teaching you to be a better bug fixer. First, I fiddled with the arrow keys while trying to select a magic skill. The SP Cost changed whenever I pushed the arrow keys, but only up to a certain point. Furthermore I could push the arrow keys the same number of times in the opposite direction to get it back to the normal behavior. Knowing a thing or two about how windows work, I guessed that even though all the skills were drawn correctly, the data list might have had extra entries.

From the scripts you posted, I can tell you thought the very same thing! Nothing I could do to that part of the script could fix it, however. The second thing I noticed was the the window that displayed the SP Cost was separate from the one the displayed the skill names. I did a ctrl+shift+F (find in all) for "EP Cost" to figure out where that window was.

The script that it found was 'Window_Skill Status' which doesn't contain... well, much of anything! However, the script listed right above that one was "Window_Skill SP Cost" and that sounds like something that displays SP costs. Since those were what we were having trouble with, I took a look inside.

And guess what I found? Something about 'draw_item's and 'data.push's that looked like the ones in Win_Skill. The very same thing you thought could be the problem in the second post! So kudos to you for figuring that bit out.

But the 'data.push's in the 'Window_Skill SP Cost' script were a little different than the ones in the 'Combo Attacks Script.' If you would like to try and fix it yourself, that is where you should look. Otherwise, look in this spoiler for the solution.
"The bugfix"

Edit: Unfortunately, there is similar bug when selecting a target...
Reply }


Messages In This Thread
Combo Attacks Script Help - by JackMonty - 03-09-2013, 10:31 AM
RE: Combo Attacks Script Help - by JackMonty - 04-19-2013, 11:05 AM
RE: Combo Attacks Script Help - by MechanicalPen - 04-19-2013, 06:38 PM
RE: Combo Attacks Script Help - by JackMonty - 04-22-2013, 01:13 PM
RE: Combo Attacks Script Help - by MechanicalPen - 04-22-2013, 06:37 PM
RE: Combo Attacks Script Help - by JackMonty - 04-23-2013, 01:56 PM
RE: Combo Attacks Script Help - by MechanicalPen - 04-24-2013, 07:51 PM
RE: Combo Attacks Script Help - by JackMonty - 05-01-2013, 08:41 AM
RE: Combo Attacks Script Help - by MechanicalPen - 05-03-2013, 03:10 AM
RE: Combo Attacks Script Help - by JackMonty - 05-04-2013, 11:04 AM
RE: Combo Attacks Script Help - by MechanicalPen - 05-04-2013, 07:12 PM
RE: Combo Attacks Script Help - by JackMonty - 05-04-2013, 10:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Script compatibility help Lord Vectra 3 3,707 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 13,360 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 14,049 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 14,476 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 7,765 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 9,160 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 8,828 05-31-2017, 05:10 AM
Last Post: Zachariad
   Multi Attack & Combo Display Keeroh 10 12,497 05-15-2017, 06:39 PM
Last Post: DerVVulfman
   Actor names in Quest Script jreagan406 5 7,767 03-07-2017, 08:06 AM
Last Post: JayRay
   Bizarre issue with Lanzer counter script. Steel Beast 6Beets 2 6,702 10-04-2016, 11:46 AM
Last Post: Steel Beast 6Beets



Users browsing this thread: