Save-Point
CTB - A Final Fantasy X-like Battle System, Version 3.2 - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: CTB - A Final Fantasy X-like Battle System, Version 3.2 (/thread-2298.html)



CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - archerrin - 08-20-2009

use abbrevs like K.O? o_O


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 08-20-2009

@CeLLeM
I knew that, I was too busy to give you the full solution, eh, eh... ok...

CTB by Charlie - Windows, line 563, change
Code:
draw_actor_state_bordered_2(actor, actor_x + 330, actor_y+1, 40, 14)
into
Code:
draw_actor_state_bordered_2(actor, actor_x + 330, actor_y+1, 80, 14)


line 612, change
Code:
self.contents.fill_rect(actor_x + 330, actor_y, 40, 16, Color.new(0,0,0,0)
into
Code:
self.contents.fill_rect(actor_x + 330, actor_y, 80, 16, Color.new(0,0,0,0))


line 618, change
Code:
draw_actor_state_bordered_2(actor, actor_x + 330, actor_y+1, 40, 14)
into
Code:
draw_actor_state_bordered_2(actor, actor_x + 330, actor_y+1, 80, 14)


lines 854 and 944, change
Code:
cursor_width = 340
into
Code:
cursor_width = 380


These changes give you 40 more pixels, I guess you can figure out the needed changes if you need more space.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - archerrin - 08-29-2009

Hi Charlie im getting a wierd error every time one of my hero dies.
He needs to die within the first turn of monster attack and if he has a status effect called Off guard ( due to being flanked ) for this error to occur. Also wearing an Auto-life ring.

Could you please help me debug?

[Image: ss20090829191658.png]

[Image: ss20090829191644.png]


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 08-29-2009

Do you have an existing item configured as AUTO_LIFE_ITEM_ID ?


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - archerrin - 08-29-2009

I left it as default on tonic and have it in the database as #9.

Here are my other scripts, could they be causing a collision?
[Image: ss20090829230124.png]
[Image: ss20090829230057.png]


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 08-29-2009

Whoa! Those are thousands of lines of code, the problem could be anywhere the Scene_Battle class is involved. You should progress adding scripts one by one and every time test the whole thing. I know that it's a long process, but all those scripts are not guaranteed to work well together. Sometimes you have to renounce to some features in order to keep the project more compact and controllable.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - DerVVulfman - 08-29-2009

See what happens when you remove:
KGC Battle Effects and/or
KGC Remodeled Damage


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - archerrin - 08-30-2009

Soo I made a copy of my project, and deleted all the scripts except for the CBS itself. Still crashes.
Looks like I'll have to live without autolife. I tried on the original CBS project itself adding those status changes but it doesnt crash.. that's wierd.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 08-30-2009

If you have the latest demo you have an installation guide chapter in the instructions. Take a look at it and see if you missed something when you imported the CBS into your project, you know you cannot just copy the scripts, there are other steps needed.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - archerrin - 08-30-2009

Hmmm I didn't read that but then again I pasted my project on top of the CBS project, so it should be fine. So maybe it's a config error? :S