Can't read...

● ARCHIVED · READ-ONLY
Started by Koblas 9 posts View original ↗
  1. "Can't read properly 0 of undefined". The problem is that the bug appears to who tries the game but not to me... So I can't understand if I'm fixing it ( also I can't have a screenshot of the problem)
  2. How do you expect us to help then? There are a million of possible reasons why this bug occurs. What's worse, I'm not even kidding.
  3. Poryg said:
    How do you expect us to help then? There are a million of possible reasons why this bug occurs. What's worse, I'm not even kidding.
    There is this particolarity that the bugs doesn’t appear to me but to others. Can you use this information ?
  4. "cannot read property "0" of undefined" only says that it's most probably (and not even 100%, it might not even be, but I assume, because it's most common) about an array. Array is one of core objects in programming and programming languages, so naturally there are a ton of arrays in default MV engine and 3rd party plugins add even more of them. And since the MV engine is object oriented, it could even be an array of one of the in-game objects.
    So no, it won't help, because as I said, I'm not kidding there could be a million possible reasons why this bug occurs.
    The only thing you can do is ask them to elaborate, give more details as to when it happened and stuff. Or you could play from start to finish and see if you encounter this error.
  5. Poryg said:
    "cannot read property "0" of undefined" only says that it's most probably (and not even 100%, it might not even be, but I assume, because it's most common) about an array. Array is one of core objects in programming and programming languages, so naturally there are a ton of arrays in default MV engine and 3rd party plugins add even more of them. And since the MV engine is object oriented, it could even be an array of one of the in-game objects.
    So no, it won't help, because as I said, I'm not kidding there could be a million possible reasons why this bug occurs.
    The only thing you can do is ask them to elaborate, give more details as to when it happened and stuff. Or you could play from start to finish and see if you encounter this error.
    They said that it appears when they fight a specific enemy
  6. Poryg said:
    "cannot read property "0" of undefined" only says that it's most probably (and not even 100%, it might not even be, but I assume, because it's most common) about an array. Array is one of core objects in programming and programming languages, so naturally there are a ton of arrays in default MV engine and 3rd party plugins add even more of them. And since the MV engine is object oriented, it could even be an array of one of the in-game objects.
    So no, it won't help, because as I said, I'm not kidding there could be a million possible reasons why this bug occurs.
    The only thing you can do is ask them to elaborate, give more details as to when it happened and stuff. Or you could play from start to finish and see if you encounter this error.
    But still, my friend tried the game, and he doesn’t get the bug... I mean some people get it some other not...
  7. There must be a way to trigger it, but if you can't get it 100% of the time, then it's quite hard to suggest anything. The easiest thing I can suggest is to tell them to open rpg_managers.js, search for f8 and delete
    Utils.isOptionValid('test').

    Then when they get this error, they'd hit f8 and show the console screenshot of this error.
    That's really the only way to precisely locate the error.
  8. I've moved this thread to Plug-In Support. Thank you.



    Tech support is for getting the maker to run.
  9. Have you maybe given them a second version of the game after adding some plugins, and they are trying to load games they'd started & saved in an earlier version?

    Adding a plugin and resuming a game started & saved prior to adding the plugin is a very typical cause of this.

    Do you have a list of your plugins?


    Koblas said:
    They said that it appears when they fight a specific enemy

    mmm ... and it doesn't happen when YOU fight that enemy? Can you please open your core.js script in the js folder, and tell us what version it says in the first few lines? If it doesn't say, it's 1.0.0
    Are you using any Yanfly battle plugins?