Difficulty with row script

● ARCHIVED · READ-ONLY
Started by Exias 11 posts View original ↗
  1. Please only link to the scripts, don't copy them into your posts - there are a lot of reasons for this, one one probably happened here:

    You deleted or added lines, because when I try to find the line from the bug picture, I find a comment line that has no methods to be executed.

    So the script as it is in your project is different from the one you posted here - I suggest you first check if the error is still there if you replace you project's version of the script with the original script again.

    If the bug still happens, give us the corrected error message with a link to the script as it is in your project.

    My first guess would be that you're missing a space in the line where the bug really happens, but I can't check that with the bungled copy above because I can't find the correct line there...
  2. I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


    1. Don't post scripts here. Link to them at their original site


    2. If you DO post scripts here (because you wrote them or they're not available at the original site) use code tags to preserve the formatting.


    3. If it's a long script, wrap it (including the code tags) in spoiler tags so it doesn't automatically force the reader to scroll.
  3. I've removed the script and replaced it with the link to the site. I also pasted the script again and am still getting the error at line 271:


    draw_face(actor.face_name, actor.face_index, x + (actor.row - 1) * 20, y, enabled)


    If I delete this line altogether it removes the error as well as the characters pictures. Thanks for moving this to the right spot~
  4. that is a different line than the original error message.


    Can you please give us a screenshot of the current error message?


    Do not rewrite it here, a screenshot is better because sometimes even a space in the error message can make a difference in finding the cause.


    Edit:


    also, are you using the default battle system or other battlescripts as well?
  5. I'm using the default, but I'm beginning to think I may have to use a custom one for this script to work. And my mistake, it's line 295.

    bug.png
  6. Then check where you changed the script - line 295 in the original script is a comment line that has no command to be executed and simply cannot cause this message, so the script in your project has to be different from the linked one somewhere...


    Can it be that you got the wrong script, because the error message says the bug happens in an unnamed script slot - and there probably are dozens of unnamed script slots in your project (always name your scripts!!!)


    Please check through all unnamed slots (even those where you believe nothing would be there) and check for scripts there, this might also be the cause of the error
  7. Ah thank you, that took care of that one, but the nil class error has popped up again. The script is copy and pasted directly from the page, so I'm beginning to think it may need something like a prerequisite done by the same author to run.
  8. did you start a new game with the script, or do you try to load a saved game? Always start new games after adding a new script...
  9. Thank you, that fixed it, I shall keep that in mind! =)
  10. Was just about to ask that myself. We're getting sloppy, Andar - that should have been our first question :)


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.