DMV Param Distribute (stat)

● ARCHIVED · READ-ONLY
Started by ?????? 87 posts Page 2 of 5 View original ↗
  1. In case I'd saved it incorrectly I went and got it again.  This was my procedure - which is what I usually do.

    go to github

    click on Raw

    Ctrl+A to select 

    Ctrl + C to copy.

    got to Notepad++

    Ctrl + V to paste

    save

    Add to plugins in the JS folder

    Start playtest, use ESC to access menu

    Crash with the error message I gave above.

    EDIT

    Forgot to say which other plugins I'm using.  I'll post either a list or an image in a minute

    EDIT AGAIN

    And here it is

    Spoiler
    Plugin%20list_zpshlrtvcsi.png
  2. Keep up the good work, dekita! Love your script since ACE.
  3. @ksjp17 - Dude, Mv just came out, calm down with the plugins a little, no? :D

    It could be the name you have chosen for the plugins. they should be DMV_Core.js and DMV_Stat_ParamDistribute.js respectively.

    If that does not solve the issue, could you post me your game console - which can be accessed via F8 in game. :)
  4. yh from what ive read some plugins can be a little picky when it comes to their names so we should try and keep to what the author states so no issues are made
  5. The reason I have such a range of plug ins is because I am trying to see if it will be possible to convert an existing project to MV, so I need to know if the various things I've already set up can be done.

    Anyway, here is the console reading.

    Spoiler
    Console%20reading_zpssirlf23n.png
  6. can you disable yanfly core and yanfly equip and tell me if the error still happens please. :)
  7. Even with both of them off it still crashes.
  8. And is the console error the same or what?
  9. Exactly the same.
  10. Well, I mean... It cant possibly say the exact same thing if you disabled both yanfly scripts, cause two of those were mentioned within the error. :/
  11. Sorry, I missed the word 'console' (very tired by that point) so only thought of the ordinary error message.

    Here is the console error

    Spoiler
    Console%20reading_zpsxqilg6ev.png
  12. @ksjp  -  the only thing I can think of, is that some other script is overwriting the clearParamPlus function within Game_BattlerBase / Game_Battler, or Game_Actor..  The error you are getting (on line 426) suggests that something is not allowing the parameter to clear -- OR  - you could be starting the game without an actor in the party?  Or maybe the first actor is blank in the database?

    Basically, here is how the console should print on success..

    good_console.png

    - Notice how the name of the actor (Player) is being printed to the console - BEFORE the line thats causing the errors. And notice, on your console there is no such thing - which suggests your actor isnt there. :/

    Lemme know if any of that information helps? :)
  13. I do have an actor in the party.  This is a couple of minutes in when I first gain control of the player.  I know he's working correctly, because I have walked him around and he has interacted with events to find a couple of items.

    I did a global search of all the plug ins I have installed.  The only plug in that came up with the search term clearParamPlus is yours.  Is there another search term which might yield useful info?
  14. @ksjp - Can you put this snippet into the param distribute plugin file. Just place it below all the other code in the plugin and it should be ok:

    (function(battler){ var distParamPlus = battler.distParamPlus; battler.distParamPlus = function(id) { if (this._dystStatParams === undefined){ console.log("Params was undefined for: " + this.name()) this.clearParamPlusDyst(); } return distParamPlus.apply(this, arguments) };})(Game_BattlerBase);Then, run your game, and let me know if your console still shows error, and if so, what the error is.

    What this snippet basically does, is reassign the values that are showing up as undefined on your end. If the error is still showing up after that, I will have to investigate further..

    Additionally - have you yet tried adjusting the placement of the plugin within the plugin manager thing? like, putting above/below others? :)
  15. Still crashing.  Here is the console reading

    Spoiler
    Console%20reading_zpsqlunbjbn.png
    I've tried moving it around, in fact it's had more moves than someone trying to dodge the bailiff.  Even putting it above all others except MVCommons and your Core doesn't make a difference.
  16. Dude, I just noticed, you havent named your file properly. it should be DMV_Stat_ParamDistribute.js (yours does not have a big P on param, thus, the settings arent being read for the script, thus, the data isnt there to be found, thus, error.
  17. Argh.

    So, I renamed it - and it still crashes with the identical console error.
  18. I really dont have a clue then... :/
  19. One thing I can definitely confirm - it has nothing to do with any other plug in.  I disabled everything except MVCommons your core plug in and this one.  It still crashed with more or less the same error message.  Here it is.

    Spoiler
    Console%20reading%20new_zpscqkjewnq.png
  20. Thanks so much for the plugin! I loved your Perfect Stat system in VX Ace, though I do have a question, on a new game my main hero starts with 8 stat points to distribute, where is the value in the plugin to change it? I rather he start with 0 and only gain 2 or 3 per level. Do they gain their stat points on levelup or is there a plugin command as well that you can increase your stat points?