Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [RMXP] Showing skill gained by leveling up on battle result
(05-06-2021, 03:21 AM)DerVVulfman Wrote: 1)  No worries.  Though I think you left only moments before I posted the fix.  Seriously, you were up till roughly 3am?

2) Heaven forbid, they are not the same.  But we have a thread for it:  ACBS  (Atoh's CBS).. More advanced ... easily.

Ahahaha I think I went to bed at 5 am.

I'll check the thread but I think I might be too scared to swap my battle system in the middle of my game, might break a lot of things haha

Again, thanks for the help!
You'll have more breaks using Blizzard's  TON OF FIXES script.  It isn't F12 compliant.  By way of F12, I mean the F12 player reset button built into the RPGMaker line of engines.  And by that, I mean you will run into the dreaded F12 stack issue bug if you hit the F12 button.  I told bliz about it last year, and fixing it is relatively easy though time consuming.  He is just...

We have more than one lazy scripter in the realm. Laughing

[font=Georgia]Alias is the best method of adding new code into a script when a 'super' command cannot work, much better than rewriting the whole method.[/font]

Start the game and hit F12 in the TITLE screen.
Error message says 'stack level too deep'  and points to line 1258 in 'Tons of Addons 2'
The script is the BITMAP class.  You NEVER just alias a hidden class like BITMAP. (*explanation later)
The alias command is the culprit:  alias init_font_override_later initialize.
The alias needs to only run ONCE when you start Game.exe and not every F12 restart, so we need to put it in an if...end block:
if @tonfixes2_bitmap_init.nil?
 alias init_font_override_later initialize
 @tonfixes2_bitmap_init = true
Essentially, it says "Hey, if the[font=Arial] @tonfixes2_bitmap_init value doesn't even exist[/font]", set up your alias statement and then create the [font=Arial]@tonfixes2_bitmap_init[/font] value and set it to true.  The first time you run the game, it runs the alias.  Fine.  And if the player hits F12, will NO LONGER alias it a second time!  That was the problem.

* Explanation (I said later, right?)
Hidden classes are NOT meant to reload. So aliasing methods related to the Sprite class itself (I discovered in 2007), Bitmap, Font, Windows and the like require this consideration.  And if you are aliasing parent class methods, you need to watch out too.  For example, if you are touching up a custom menu and you choose to alias the 'draw_actor_graphic' class within Window_Base by using an alias command within your custom class, you can run into problems.

But the above method does work.  Still, the Tons of Fixes  (HAHAHAHAHAHAHA!) requires tons of F12 fixes that you'll need to apply in this very manner.  Once you do this one, run it again and you'll find another spot needing another F12 fix.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]


I didn't even knew about the F12 key !

I'll try to fix all thoses F12 bugs !

Thanks for the info !

Possibly Related Threads…
Thread Author Replies Views Last Post
   ACBS - Atoa Custom Battle System and TP System zlsl 2 109 10-20-2021, 05:09 AM
Last Post: zlsl
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 4,969 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Skill Cooldown script Fenriswolf 11 6,367 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 5,527 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 5,582 08-08-2019, 02:50 PM
Last Post: aeliath
   YAMI Battle symphony + Holder add on (Loop casting anim) Starmage 0 2,679 03-01-2018, 09:03 AM
Last Post: Starmage
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 2,298 02-14-2018, 04:25 PM
Last Post: Starmage
   Atoa Individual Battle Commands Geminil 3 3,923 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Scan skill should show states Tumen 5 5,252 05-02-2017, 03:33 AM
Last Post: DerVVulfman
   Dervvulfman's Skill Tree (Micko's) Passive Skill Malfunction! reiji1337 6 5,513 04-28-2017, 03:27 AM
Last Post: reiji1337

Users browsing this thread: