Xyphien Forums

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

EPIC Boost points plugin! - Boost Pro

EPIC Boost points plugin! - Boost Pro 1.04+

No permission to download

Nat

Villager
Xy$
0.01
I don't know if it's just me, but the plugin commands aren't working. When I try to use them I get this error:
 
Last edited:

TheUnproPro

Boondoggle
Staff member
Resource Team
Partner
Xy$
0.00
I don't know if it's just me, but the plugin commands aren't working. When I try to use them I get this error:
I forgot to mention you can't load from a games save file, this adds data to the characters, meaning that data isn't there in your games save file. start a new game :)
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
I don't have time to test it but try this instead of what you have.
JavaScript:
    var cmds = Game_Interpreter.prototype.pluginCommand;
    Game_Interpreter.prototype.pluginCommand = function (command, args) {
        if (command === 'upp_BpAdd') {
            var id = Number(args[0]);
            var actor = $gameParty.members()[id];

            actor._uppBonusBp += Number(args[1]);

        } else if (command === 'upp_BpAdd') {
            var id = Number(args[0]);
            var actor = $gameParty.members()[id];

            actor._uppBonusBp -= Number(args[1]);
        } else {
            cmds.call(this, command, args);
        }
    }
 

Nat

Villager
Xy$
0.01
Weird, I'm getting the same error still. The only change is that now it has line 134 of upp_boostPro as having the error.
 

TheUnproPro

Boondoggle
Staff member
Resource Team
Partner
Xy$
0.00
Weird, I'm getting the same error still. The only change is that now it has line 134 of upp_boostPro as having the error.
that makes zero sense because all that does is add the actors bonus bp by the number you put o.O Screenshot your event for me?
 

TheUnproPro

Boondoggle
Staff member
Resource Team
Partner
Xy$
0.00
It's literally just a plugin command.
upp_BpAdd 10 5
Yes, actor 10 does exist.
What other plugins are you using? Maybe I can try to find out why this one isn't working for you, this confuses me to no end and I wanna get to the bottom of it if I can :/ Me not being that great of a programmer tho lol, well, we'll see if I can fix it.
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
Okay I believe the problem is that most plugin users don't know the party members starts with 0 not 1 so the best solution for the plugin developer is to subtract one from the plugin command argument 'actor', or tell the plugin user to remember that the first actor starts with 0. This would be the solution for you @TheUnproPro This ensures that if the user puts in 1 for the actor argument then it will really be actor 0. I hope this helps.
JavaScript:
    var cmds = Game_Interpreter.prototype.pluginCommand;
    Game_Interpreter.prototype.pluginCommand = function (command, args) {
        cmds.apply(this, arguments);
   
        if(command == "upp_BpAdd"){
            var id = Number(args[0] - 1);
            var actor = $gameParty.members()[id];
           
            actor._uppBonusBp += Number(args[1]);
        }
       
        if(command == "upp_BpSub"){
            var id = Number(args[0] - 1);
            var actor = $gameParty.members()[id];
           
            actor._uppBonusBp -= Number(args[1]);
        }

    }
 

TheUnproPro

Boondoggle
Staff member
Resource Team
Partner
Xy$
0.00
TheUnproPro updated EPIC Boost points plugin! - Boost Pro with a new update entry:

Mini-patch

This should fix any issues people were having.
Read the rest of this update entry...
[doublepost=1481385008,1481384979][/doublepost]
Okay I believe the problem is that most plugin users don't know the party members starts with 0 not 1 so the best solution for the plugin developer is to subtract one from the plugin command argument 'actor', or tell the plugin user to remember that the first actor starts with 0. This would be the solution for you @TheUnproPro This ensures that if the user puts in 1 for the actor argument then it will really be actor 0. I hope this helps.
JavaScript:
    var cmds = Game_Interpreter.prototype.pluginCommand;
    Game_Interpreter.prototype.pluginCommand = function (command, args) {
        cmds.apply(this, arguments);
  
        if(command == "upp_BpAdd"){
            var id = Number(args[0] - 1);
            var actor = $gameParty.members()[id];
          
            actor._uppBonusBp += Number(args[1]);
        }
      
        if(command == "upp_BpSub"){
            var id = Number(args[0] - 1);
            var actor = $gameParty.members()[id];
          
            actor._uppBonusBp -= Number(args[1]);
        }

    }
Thanks, I'm an idiot, I usually do this (as you can see in other plugins), but I for some reason forgot to do it this time -.-
 

Nat

Villager
Xy$
0.01
It's still giving me the same error report. So I'll just answer the question of which plugins I'm using.
Quite a few, to be honest. Though since there's a few listed in the Developer Tools > Console, I'm going to guess (based off my very limited knowledge of how plugins/scripting works) those are the ones upp_boostPro is having a problem with?
"questsystem" is Vlue's quest plugin (http://daimonioustails.weebly.com/quest-system-mv.html), "recipecrafting" is Vlue's crafting system (http://daimonioustails.weebly.com/recipe-crafting-mv.html), "MOG_Weather_EX" is Moghunter's weather effects plugin, "MOG_CharParticles" is Moghunter's particle effects plugin (both of which can be found in Moghunter's Master Demo: https://atelierrgss.wordpress.com/download-page-mv-01/), "Alpha_ABS" is Pheonix KageDesu's action battle system (http://forums.rpgmakerweb.com/index.php?/topic/66713-alpha-abs-11-beta/), "XDE_AchievementSys" is xDGameStudios' achievement system (http://forums.rpgmakerweb.com/index.php?/topic/55692-xde-xdgamestudios-engine-achievementsys-v12-update-new/), and the last three are YEP plugins (CoreEngine: http://yanfly.moe/2015/10/09/yep-1-core-engine/, ClassChangeCore: http://yanfly.moe/2015/11/27/yep-32-class-change-core/, and X_Subclass: http://yanfly.moe/2015/11/29/yep-34-subclass/).
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
It's still giving me the same error report. So I'll just answer the question of which plugins I'm using.
Quite a few, to be honest. Though since there's a few listed in the Developer Tools > Console, I'm going to guess (based off my very limited knowledge of how plugins/scripting works) those are the ones upp_boostPro is having a problem with?
"questsystem" is Vlue's quest plugin (http://daimonioustails.weebly.com/quest-system-mv.html), "recipecrafting" is Vlue's crafting system (http://daimonioustails.weebly.com/recipe-crafting-mv.html), "MOG_Weather_EX" is Moghunter's weather effects plugin, "MOG_CharParticles" is Moghunter's particle effects plugin (both of which can be found in Moghunter's Master Demo: https://atelierrgss.wordpress.com/download-page-mv-01/), "Alpha_ABS" is Pheonix KageDesu's action battle system (http://forums.rpgmakerweb.com/index.php?/topic/66713-alpha-abs-11-beta/), "XDE_AchievementSys" is xDGameStudios' achievement system (http://forums.rpgmakerweb.com/index.php?/topic/55692-xde-xdgamestudios-engine-achievementsys-v12-update-new/), and the last three are YEP plugins (CoreEngine: http://yanfly.moe/2015/10/09/yep-1-core-engine/, ClassChangeCore: http://yanfly.moe/2015/11/27/yep-32-class-change-core/, and X_Subclass: http://yanfly.moe/2015/11/29/yep-34-subclass/).
If youre getting the exact same error then the actor does not exist. Remember this plugin does not read the actors in the database only the actors you have in your party at the time the plugin command is called.
 
Top