windows_base error help?

● ARCHIVED · READ-ONLY
Started by blakebishop1989 6 posts View original ↗
  1. So everything was fine, went on vacation for a week then i come back open up the game, test a battle even start a new game and i get this?
    windows-error.gif
    for the record i didn't add any scripts or anything between when my game worked during battles and now that it doesn't.
  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.

    This is the relevant bit of code:

    def draw_actor_icons(actor, x, y, width = 96) icons = (actor.state_icons + actor.buff_icons)[0, width / 24] icons.each_with_index {|n, i| draw_icon(n, x + 24 * i, y) } endIt's basically saying there are no icons to display.This could be because there are no states or buffs (but I'd have thought that would be handled already), or because the width being sent in from whatever is calling it is less than 24.

    I would say it's definitely something to do with a script you've added - doesn't necessarily have to be a NEW script, could be one that's been there for a while but is just behaving in a different way because you're playing from a different point in the game. And it'd be one that displays actor details, including icons for states/buffs.
  3. thank you shaz, now that i have more of an understanding i can work with it some. and sorry i thought this was the right forum lol
  4. so i removed all my scripts to slowly add one in to see which was the issue, however i still got the same problem even without scripts now?
  5. perhaps the iconsheet in RTP was damaged? try exporting it and reimporting it, or if you're using a different icon sheet import that one again.
  6. blakebishop1989, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


    Just use the Edit button on your post and add the extra text.


    I don't think it's related to the icon sheet. At this stage, it's just code - hasn't even gotten to the point of trying to draw anything yet.


    Can you zip up your project (don't compress it - just select the top-level folder and zip it up) and load it up to dropbox or somewhere and give us a link? We're just taking shots in the dark here, and it would be much quicker to troubleshoot if we can see your project and poke around in it.