Saturday 25 February 2023

CR Calc working again - I think

Summary

It should be working again. I had to rewrite a lot of it, change how it works so it might be buggy. If you get any issues please post a comment.

It kind of look messy but I guess I can work on that. 

If you see this message and it's not common knowledge please do spread the word.


Behind the curtain.

Years ago I wrote it in javascript. I don't actually know how to code in js but I managed to cobble it together somehow - twice. Then I stopped playing X11 and didn't even know it stopped working.

I used this plugin called tinymce to allow me to interpret pasting from the X11 page into the text box and read the underlying skill bars in. Somewhere down the line tinymce changed their business model so you have to register, get a key whatever. that killed the whole thing and as I really don't want to do that I had to rework a lot of how it worked to use native js commands (which I didn't even know existed first time around).

Many many thanks to ChatGPT for helping me with the code and being incredibly patient when I was really slow at understanding. 


So it doesn't happen again.

I would like to slap this code in a git repo and give access to anybody who wants to edit, enhance, make it into proper code etc. That would mean it's not really dependent on my interest and probably won't stay broken for so long in future. That said I really don't want to just throw it out there.

If you have any knowledge or interest in coding, and would be interested in maintaining it or potentially resurrect or create new things for X11 (eg data ingestion and stats pages) then post a comment and I'll get back to you. Preference will be given to anybody who posts a good idea for an enhancement or an idea for another project. If we can get 4 or 5 people with a vague bit of enthusiasm nice things could happen.