Jump to content

City of Data v2.0


UberGuy

Recommended Posts

Nice! Also, you did break things, sorry. I was coming here to report it, and turns out it's visible in your screenshot just now. Durations aren't showing correctly at all. Basically everything with a non-instant duration is showing as 'for s'.

Edited by BillyMailman

Pinnacle refugee. Powers and math guy.

Link to comment
Share on other sites

  • 2 weeks later

Apologies if anyone hitting the site around mid-day today got broken pages. I added some increased site security settings that I had to then loosen since they initially broke a bunch of the site's functionality. Oops.

 

Tag me if you see any new breakage, as it's possible I overlooked something.

 

I'll likely clean up some of the things that broke today so that more strict rules can be (re)applied in the future, but that probably won't happen until I take the to revamp the site more thoroughly. I'm not talking about changes to how the site works for end users. This is more implementation-only stuff, like what version of Vue.js is used to render the dynamic content.

 

Suggested improvements or new features I haven't gotten to yet will still be a thing, of course. :classic_smile:

  • Thumbs Up 1
Link to comment
Share on other sites

  • 2 weeks later

The help pages appear to be broken (on Chrome? haven't tested other browsers).

 

43713365_ScreenShot2022-05-02at5_40_31PM.thumb.png.b8c394cd6ab5f9ea1a846b75bcb6a318.png

 

Inspecting shows this error:

 

Refused to frame 'https://cod.uberguy.net/html/help/overview.html' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.

 

Link to comment
Share on other sites

On 5/2/2022 at 5:48 PM, AlishaShatogi said:

The help pages appear to be broken (on Chrome? haven't tested other browsers).

 

Bah. I noticed that before and thought I had fixed it... Clearly not.

 

I believe it's fixed now. It loads for me currently in Chrome. I did have to force refresh my browser, but that was immediately after I made changes to the CDN configuration, so hopefully 10 minutes after I did that, everyone should see it no matter what.

 

 

Link to comment
Share on other sites

  • 3 weeks later

Can’t remember if I got this answered…

 

 

@UberGuy do you know why new Fault shows a 6 second recharge for the cone power but 20 seconds for the other part of the power? An obsessive proc rate calculator wants to know!

Link to comment
Share on other sites

  • 3 weeks later

So quick life update - I got married! This has been in the pipeline for a good year and a half, but we planned basically the whole thing ourselves so my free time the last couple of months has been spent getting everything ready for that. The dual good news is that it all went amazingly awesomely, and now I should have more time again for CoH and CoD.

 

My first order of business will be to get the latest Beta and Live builds out. That should happen tomorrow. Then I plan to get back into working some features I've wanted to work on forever, updating the site help, and publishing the JSON data maps (not necessarily in that order).

  • Like 2
  • Thumbs Up 3
Link to comment
Share on other sites

Current Alpha (Cryptic) data has been uploaded. If there's anything anyone wanted to check about stuff that's currently in testing, it should be there now. 

  • Thumbs Up 1
Link to comment
Share on other sites

and Congratulations!!

"Homecoming is not perfect but it is still better than the alternative.. at least so far" - Unknown  (Wise words Unknown!)

Si vis pacem, para bellum

Link to comment
Share on other sites

Congratulations, Uber!

 

...of course, this is me, so I saw that because I was coming here with a bug report anyway. All versions of Twilight Grasp are failing to show what the Execute Power bit is executing, which they used to do at some point in the past. Poking around, it looks like it's every Execute Power, Fulcrum Shift is also failing to display properly.

 

image.png.1c1283fcc8111176f87207496ff002ab.png

Pinnacle refugee. Powers and math guy.

Link to comment
Share on other sites

Posted (edited)
10 hours ago, BillyMailman said:

 

...of course, this is me, so I saw that because I was coming here with a bug report anyway. All versions of Twilight Grasp are failing to show what the Execute Power bit is executing, which they used to do at some point in the past. Poking around, it looks like it's every Execute Power, Fulcrum Shift is also failing to display properly.

 

 

Hopefully that won't be too hard to find the source of. Off the top of my head, that sounds like something I may have broken when I last touched the attribmod parsing back in April. Thanks as always for the report!

Edit: Hrm, nope, the logic is good, what's different is the data.

"params": {
  "type": null,
  "count": 1,
  "category_names": [],
  "powerset_names": [],
  "power_names": [
    "Redirects.Dark_Miasma.Twilight"
  ]
},

 

That "type" field should be "Power". I will have to go digging into the parser to figure out what's going on there. I have an idea where the issue is.

Edited by UberGuy
  • Thumbs Up 1
Link to comment
Share on other sites

Posted (edited)

Found it. I had upgraded a software library in the Python side of the extracter/parser which had a breaking API change. If you wanted to set a default value for a missing field, you used to set it using a parameter named "missing". The new version changed the parameter name to "load_default".

 

I thought I had changed this parameter everywhere, but I overlooked that I use it a couple of different ways, which meant my search/replace didn't catch all of them. Apparently sending the old parameter name was not an error.

 

Without the right default behavior, missing fields defaulted to Python None / JSON null. Nothing that checked the "param.type" value to trigger special display behavior would match, well, ever. This broke display on nearly 8,000 powers that use "params" to identify powers executed, granted, given to pets, etc.

 

The fix has been uploaded and should be visible within 10 minutes of this post going up.

image.png.2bfc1787795946eb4bee08fe82126947.png

 

 

Edited by UberGuy
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later

Working on getting the latest Cryptic patch updated. This one included some powers data changes. I'm up to speed on what changed and had code changes ready so this shouldn't take  long.

Link to comment
Share on other sites

It's there now.  :classic_smile: It didn't take all this time, but it did take a bit just to figure out what actually uses the new stuff on Alpha to validate my changes worked.

 

As is often the case, I spent more time coming up with a new icon than I did coding.

  • Haha 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...