Visionaire suddenly crashes!

  • #10, by kytattooThursday, 07. July 2016, 09:13 8 years ago
    I use few scripts - only to resize some animations, but the crashes appear not in those scenes... I tried to preload animations, but crashes still happen.

    Newbie

    60 Posts


  • #11, by sebastianThursday, 07. July 2016, 09:54 8 years ago
    Any problems with other projects...?

    Thread Captain

    2346 Posts

  • #12, by kytattooThursday, 07. July 2016, 11:21 8 years ago
    I m sorry but when i am to find other projects? )) I dont have any example ones

    Newbie

    60 Posts

  • #13, by sebastianThursday, 07. July 2016, 12:26 8 years ago
    You have a mac, right? You could download the demo of VS which comes with an examplegame or find demogames here:
    http://www.visionaire-studio.net/cms/visionaire4-english.html (scroll to bottom)

    Thread Captain

    2346 Posts

  • #14, by kytattooThursday, 07. July 2016, 20:32 8 years ago
    Thanks) So - i downloaded game about knight and I have played through it for 30 minutes i think - and - NO CRASHES roll That means there is something wrong with my project.. Any ideas what could it be?

    Newbie

    60 Posts

  • #15, by sebastianThursday, 07. July 2016, 20:38 8 years ago
    hmm... could be anything. As a test I would recommend that you save your project under a different name (to be sure you dont mess up anything) and disable all your lua scripts first and check if this changes the behavior of your game. If everything is fine you could try to activate each script separatly until you find some script which could cause this.

    I guess here that it could be some lua script because in a normal game these kind of errors should occour when only using the action parts.

    What is your game resolution? Are there any big animations you use?
    Also you mentioned that you preload a lot of animations. Do you unload them after you dont need them anymore? because they will be kept in the memory until...crash (maybe)...

    Thread Captain

    2346 Posts

  • #16, by kytattooThursday, 07. July 2016, 20:47 8 years ago
    Thanks. I tried to preload and unload animations but that really didnt help, so i deleted all those lines. And about scripts - i think it could be the truth, because as i remember the crashes started when i started to use scripts (but still - there are no EXTRA complicated scripts, only simple "ActiveAnimations["water_ripple"].AnimationSize = 400") BUT i have lot of animations with names like "???? ?????" - i mean there is space and the names are in cyrillic, so i think tomorrow i ll check if it is the problem.

    Newbie

    60 Posts

  • #17, by afrlmeThursday, 07. July 2016, 22:00 8 years ago
    The names could be an issue. The names should ideally be in regular characters, no special characters at all. Preferably in English & you should join words together with - or _ like_so or-like-so.

    Lua script doesn't really like spaces, special characters or ? symbols.

    Imperator

    7278 Posts

  • #18, by kytattooFriday, 08. July 2016, 03:36 8 years ago
    Ok. Thanks you so much. I will try it and let you know

    Newbie

    60 Posts

  • #19, by kytattooFriday, 08. July 2016, 11:41 8 years ago
    I have renamed all the animations and scripts in my project (now there are no spaces in their names) and vuala - it finally stopped crashing all the time! Thank God! And thanks to everybody here!

    Newbie

    60 Posts

  • #20, by afrlmeFriday, 08. July 2016, 12:32 8 years ago
    Nice. wink

    So it was a naming issue then? I know Lua script isn't overly fond of symbols or special characters, which is why I never use them. The spaces don't really matter all that much, it's more just an old web code habit, but it's better safe than sorry.

    Imperator

    7278 Posts