Save-Point
MACL - Method And Class Library - 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: MACL - Method And Class Library (/thread-2362.html)



MACL - Method And Class Library - Trickster - 03-08-2008

Method and Class Library
Version 2.3

What is this?

This script set provides a utility for other scripters by: adding extra methods, classes & modules to prevent other scripters from "reinventing the wheel" and adding methods, classes & modules for other scripters to use. It also provides a set of commonly used constants so setup will not be as much as a hassle among scripts.


Installing the MACL

Simple copy and paste the MACL Complete text file from below into your game. Paste it below Scene_Debug. Make sure this is the first script after Scene_Debug unless you use the SDK, then put this directly after the SDK.


Files
You have a number of options available to you:
MACL Complete

Optional Macl Components
MACL Header
---individual MACL sections follow---

Required for the Screenshot Module

.zip   screenshot.zip (Size: 52.89 KB / Downloads: 0)

What Can I do to Help?

If you have something you want to submit, then post here but read the section in the documentation on this topic. If you find a bug with any item in the library also post here. All of your help is appreciated.


Edit by DerVVulfman
Important Note:

Discovered by Steel Beast 6Beets, a bug exists within the MACL system, particularly within the 'macl_rgss_character.txt' file itself.  Or lines 5622 to 6055 of the complete script file.  It prevents the changing of the Game_Player's graphic to "" (empty/erased) when one is using the Change Graphic command in the Move Route event system.  This bug does not occur when using the Change Actor Graphics event command.

To fix, either remove the MACL sections as identified above, or insert the following code into the default  Game_Character 2 script as instructed:

1) Head down towards line 321 in Game_Character 2.  It should be in the move_type_custom method.
2) Below the line that reads ''@character_hue = command.parameters[1]", add the following

Code:
if self.is_a?(Game_Player)
  @battler.character_name = command.parameters[0]
  @battler.character_hue = command.parameters[1]
end



RE: MACL - Method And Class Library - Megalukes - 04-02-2021

Does anyone still have this script somehow? Thank you in advance!


RE: MACL - Method And Class Library - DerVVulfman - 04-02-2021

To my surprise, Trickster's DropBox links had just died. Comically, and this is NOT an April Fools joke, I had prepared for this eventuality some years ago. I just re-linked every one of the above scripts to my Box.Com uploads from 2014.

Yep, I had prepared for this over six years ago. Links repaired.


RE: MACL - Method And Class Library - Megalukes - 04-02-2021

(04-02-2021, 04:09 AM)DerVVulfman Wrote: To my surprise, Trickster's DropBox links had just died.  Comically, and this is NOT an April Fools joke, I had prepared for this eventuality some years ago.  I just re-linked every one of the above scripts to my Box.Com uploads from 2014.

Yep, I had prepared for this over six years ago.  Links repaired.

Hahaha, thanks a lot mate! You're awesome.