Crash Reporting System

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Crash Reporting System

#1 Post by PyTom »

I'm considering implementing a crash reporting system, intended for use with released games. The idea is that, when crashing with an exception, Ren'Py would launch a small game (call it creport) that would:

- Collect information about the crash, including the traceback.txt and opengl.txt files.
- Display to the user a dialog explaining that a crash has occured, and asking if they want to send a report to our crash-reporting server.
- The user's choices will be "Yes", "No", and "Never ask me again.".
- If the user picks yes, then the report would be uploaded via HTTP to a web server.

Once on the web server, the crash reports would go into a database, where the game-maker could look at them at his or her leisure.

The web side of things would be a hosted solution. Access to it would be free for freely-redistributable games, and $20/mo/account for other games (especially commercial ones).

My question is: Does this seem like a direction I should pursue? And for the commercial game-makers out there - would this be a service you'd consider using (and paying for)? I don't think it would be technically hard to implement, but if nobody wants it, I probably won't bother.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Crash Reporting System

#2 Post by jack_norton »

Yes, if you remember I asked for such a thing months ago. My idea was simpler though, that it would automatically compose an email with the traceback.txt, ready to be sent.
Actually what I would pay $20/month for would be a complete system like that one + a launcher/autoupdater. Like the one I made, but with a small program that then launches the "full program" (like the commercial MMO programs). Why? Because that way the launcher program could also update the main program. So for example if you make an update to renpy.exe itself the launcher would still be able to download the latest version.
The "launcher program" would just do that basic thing (connect, check for new version, and download) so doesn't really need to be updated to latest renpy versions (unless crashes of course).
With my system, you can't autopatch the calling program itself, so now that you made 6.11d I need to reupload the whole demo anyway and ask people to redownload everything... :oops:
So your crash reporting system is interesting (but probably really useful only during testing, for older games I have no problem at all, so I wouldn't pay $20/month once the game is out because wouldn't make sense).
But for what I described above, yes for sure I would pay that amount :)
follow me on Image Image Image
computer games

Wintermoon
Miko-Class Veteran
Posts: 701
Joined: Sat May 26, 2007 3:41 pm
Contact:

Re: Crash Reporting System

#3 Post by Wintermoon »

$20/mo? No thanks, I'll write my own if I need it. (I think you are seriously overestimating how poorly small indie games sell. For every success, there are several games that fail to sell even ten copies per month, especially toward the end of their life. Business is harsh, and newcomers always underestimate the difficulties.)

For free? Maybe. I'm still not happy about the game contacting a central server that I don't control, but it might produce more/better crash reports than a forum thread and I probably wouldn't bother implementing my own system for a free game.

Edit: rather than logging in, I'd rather have the crash reports emailed to me directly. I want to be able to respond to them within 24 hours, and I want to be able to respond to crash reports long after the game is released, but I don't want to commit to logging in to some website every day for the rest of my life.

IceD
Veteran
Posts: 433
Joined: Sun Feb 01, 2009 6:15 pm
Contact:

Re: Crash Reporting System

#4 Post by IceD »

If it's for free, why not? It might be preety useful for some developers. I don't go that far if it comes to pro dev, so i can't say anything about price, but 20$ doesn't seem that much for such an option, especially if you get it for a life-time per product. There are propably people who wouldn't have big problems doing it themselves, but even when it comes to proffesional developing, not every dev is a high-skilled programmer.

As for the overall idea, it would be good if there was an option for the traceback mailing, but rather than for every each traceback, it could gather them all on the server and send a combined e-mail once a week. I wouldn't be happy if my mailbox became spammed with tracebacks :D Even if a chance for that is preety microscopic, such an option would be definately better, if it's only possible, of course :)

Ren

Re: Crash Reporting System

#5 Post by Ren »

IceD wrote:If it's for free, why not? It might be preety useful for some developers. I don't go that far if it comes to pro dev, so i can't say anything about price, but 20$ doesn't seem that much for such an option, especially if you get it for a life-time per product. There are propably people who wouldn't have big problems doing it themselves, but even when it comes to proffesional developing, not every dev is a high-skilled programmer.
But from what I understood, the service would cost you 20$ a month, which seems a bit expensive. As Wintermoon pointed out, I doubt many developers make that much money when they sell their games, at least in most cases.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Crash Reporting System

#6 Post by jack_norton »

Well I understood $20/month PER GAME. If is just $20/month unlimited product then of course. But in my specific case I would pay more for the autoupdater thing :)
follow me on Image Image Image
computer games

User avatar
papillon
Arbiter of the Internets
Posts: 4107
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Crash Reporting System

#7 Post by papillon »

I can't see paying $20/month for that, although it's the caterpillar's opinion that matters really because he does the renpy coding. :) I can't imagine that given my current games setup there are sufficient error reports being filed to justify that sort of pricing structure. Filing reports to a server somewhere makes it all feel a bit distant, as opposed to now when people with problems just come talk to me or post on the forums. Certainly if there are people who have errors but are too shy to report them it *might* be useful to have such an option but I have no way of knowing if such people exist!

But automatically prompting the user to send the error report somewhere else and then not letting me see it would be... very frustrating.

A big error collection system would be most useful, imo, for someone running a "free" game that's either ad-supported or has paid add-ons, because something like that might have a substantially larger userbase (even though most of them pay nothing) and therefore a more formal way of organising bug reports would be handy.

Spiky Caterpillar
Veteran
Posts: 253
Joined: Fri Nov 14, 2008 7:59 pm
Completed: Lots.
Projects: Black Closet
Organization: Slipshod
Location: Behind you.
Contact:

Re: Crash Reporting System

#8 Post by Spiky Caterpillar »

I'd likely wind up rolling my own system - it's more convenient to me to have the tracebacks arriving on my own server than added to a remote database somewhere, and that way I can readily tweak the system whenever I come up with new ways to overcomplicate it. Like integrating it with an autoupdator. (Which I've been putting off writing because I expect dealing with cryptographic signatures to be a bit of a nuisance)
Nom nom nom nom nom LEAVES.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Crash Reporting System

#9 Post by jack_norton »

I really think the email system I suggested should be fine for most uses. That's what they were using with popular titles at BFG using Emmanuel modified PTK (hanako knows who I'm talking about), so if that works for a multi-millionaire company, should be enough for indies :D
follow me on Image Image Image
computer games

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Crash Reporting System

#10 Post by Aleema »

$20 a month seems high, but you probably only need one or two month's monitoring to get all the major bugs out, so if it's too expensive, don't do it for forever. I'm not releasing any commercial games, so hopefully I and many others would qualify for free, but it sounds absolutely wonderful if it could be.

Short answer: I would love it for the Free/Free, Commercial/$20 pricing.

You could even bump free up to $5 a month or something reasonable, since you would be putting a lot of effort into the system. But for my poor brethren, I will hope you pretend I never said that. ;)

Post Reply

Who is online

Users browsing this forum: piinkpuddiin