SamSuka
akabur
akabur

patreon


An exception has occurred. (BEEN SOLVED!)

A couple of years ago, when I discovered "ren'py" for the first time I was completely blown away by it's simplicity and more importantly by it's absolute lack of any "unexplained" bugs or crashes... Well in the past couple of weeks I have been proved wrong harshly. Well complaining about it surely won't do any good for anyone. I am just happy that I have an opportunity to let Xaljio take care of the problems like this. The downside of that is that I have to wait. For example right now Xaljio is on a business trip somewhere and all I can do is send him a letter and just wait... Still it worries me... This is not some difficult problem that I can't explain because of my lack of programming skills. That would be totally fine. But what I have here is a simple function that's been working since day one suddenly refusing to work the way it should and crushing the game constantly. A similar problem (similar in a way that it was mysterious and odd) happened few weeks ago. Back then I thought it was because I updated "Ren'Py". This time I did not update it... I did not touch the codes... The game just won't work anymore... Well, I suppose I'm will have to occupy myself with something else while I am waiting for Xaljio's reply... This is so unsettling... :( Shall we talk some development related specifics now? The title screen and the game logo is ready and icon are ready. I though I would share the tittle screen with you as soon as it's complete but I've changed my mind :) Also I was about to put it those two missing scenes when this problem with "ren'py" suddenly surfaced. Meaning that I am almost done with that as well. Next thing one the agenda would be gallery and extras. Then some item descriptions stuff. Proper items pricing. A screen that will display players gold and another one that will display the day counter. And after that testing and tweaking. And finally a few sub-quests that I mentioned before. To be honest all this is a child's play. I mean, sure it probably will take some time, but most of the work is done. And that is why it is so irritating to have this weird problem to deal with... And that Xaljio bastard could not choose a worse time for his stupid business trip... :( http://youtu.be/T0XMkKwi9Ck

Comments

Says the guy who supports my work with his hard-earned coins.

AKAMAN

Even if i didn't provide any help whatsover, i'm glad that it worked out for ya.

artisticMink

Woulda been even faster through IM ;). But you knew the solution. Only needed a fresh perspective and pair of eyes :). Again. More than glad to help man!

Double A

Yeah... I made the post... And 20 minutes later you guys already solved the problem. Pretty damn impressive.

AKAMAN

Ha-ha... It makes perfect sense then. The thing been resolved though... Whew...

AKAMAN

There was a mistale on my part: two separate things defined as d3. Dammit...

AKAMAN

I'm so glad I could help man. It helps to have a lot of minds on one problem sometimes when stuck. We can often overlook the simple solution!

Double A

Yes, I did. And that's what has been causing the crashes... Dammit... Can't believe I would miss things like this after using Ren'Py for two years now...

AKAMAN

Can you post the exact exception the compiler is giving you?

Double A

This was just a general expression of misery at the poor luck you have had recently.

Mozambiqued

Have you used d3 anywhere else in.in your code? That would cause an error. Try switching D3 to something else like d13

Double A

Define is most likely a preprocessor thing. Renpys compiler crawls trough your code and replaces every occurence of d3 with Dissolve(0,3). So, if you look at what Renpy includes for your d3, you may find out what overwrites it and are therefore able to solve the problem. But that's just my first guess, it might be as well a completly different issue. Probably your computer is possesed, there's still haloween in parts of the world.

artisticMink

This does not work: define d3 = Dissolve(0.3) But this does: define d7 = Dissolve(0.7) Try explaining that T_T ...

AKAMAN

Yeah... Well I hope Xaljio will be able to figure this out. I am thinking that maybe it is a hardware problem of some sort... With my laptop I mean... Well, we'll figure it out.

AKAMAN

What? What happened?? 0_0 (This will not affect the release "date".)

AKAMAN

There is nothing to debug. There is a function that does not work anymore that's all. A simple and unbreakable thing is broken... 0_0 It maybe be a problem with my computer... that's the only logical explanation.

AKAMAN

Well, I don't think this will effect my timetable much... Still you patience is appreciated.

AKAMAN

Replacing the thing is not a problem. But who is to say that the thing I replace that thing with is not going to stop working as well? The problem here that something that is supposed to be working - does not.

AKAMAN

shit happen, it's ok, it's part of the making, I hope you can solve the problem soon, don't worry, I'm ready to wait as much as needed :)

Dorago

Give this a look if you don't already have: goo.gl/UVQNrv, also <a href="http://goo.gl/OCKvRR" rel="nofollow noopener" target="_blank">http://goo.gl/OCKvRR</a> . Enable ren'pys debug mode with config.developer = 1. You may then define a location for your debug log with config.log = C:/path/to/my/log.txt. By using renpy.log(d3) or renpy.watch(d3) you can now inspect the content of your constant. Also renpy *should* write more detailed crash information into the log. You probably already did this, but better safe then sory. It might be either a syntax problem or a compiler cache problem. I doubt that it's a runtime problem.

artisticMink

NOOOOOOOOOOOO000000000000000000ooooooooooooooo!!!!!

Mozambiqued

Another freeware piece of software you can use is Agent Ransack which can search all of your files for a specific string to make sure you've replaced all of the iterations you need to replace. Pretty sure it allows replace functionality as well...

Double A

Nothing is as bothersome as having an error in something that worked before, hope you find a solution soon. Best wishes

Ace

If you're problem is that, why don't you just do a find and replace in all of the files changing "with d3" to "with Dissolve(0.3)? If you use Sublime Text there's an option to change it to all of the files so it'll take all of 10 seconds to change. That's being said, it would be good for me to see the exact exception as otherwise it'll be difficult to come up with exactly what the problem is (the video has it too blurry, and I don't have your code files to look at). My guess is it has something to do with Unity's actual Dissolve function. Also, make sure your file is saved and that you've refreshed it! Hope this helps!

n1ghtfox

As a programmer, this is exactly the sort of things we could help you with! I'm sort of teasing but also, it's very true :p. What exactly is the error? Either way I hope it gets fixed soon !

Double A


More Creators