[Script] WME RA Util

Had to restart Windows for an update, and the script started to work again magically. Weird thing, 'cause restarting the browser didn’t solve it.

Well, thanks for your efforts, dudes :+1:

Working fine for me too.

The script does not work on New Editor version 2.177

+1

+1

Not sure why you are +1ing this, there was an update 5 hours ago that fixed the issues :?

Let me see… Maybe because that wasn’t posted anywhere, and the script didn’t auto updated here?

But anyway, thanks for the hint :+1:

Crazy idea, you could manually check for udpates before posting. :roll_eyes:

Surely, but people fail sometimes. A “Did you checked for updates?” would have driven me to a less sarcastic reply :grin:

I manually checked for update and my current RA Util version is 2023.07.17.01, but it still does work with WME.

Tried uninstalling RA Util and reinstalling it, and enabling RA Util as the only script running. Still the same.

The problem description is as follows:
Every time I have RA Util enabled, when I click a segment, the left panel becomes empty.
Disable RA Util then refresh the page, it works again.

The error thrown in developer console isWME RA Util.user.js:948 Uncaught TypeError: Cannot read properties of undefined (reading 'geometry') at DrawRoundaboutAngles (WME RA Util.user.js:948:45) at init (WME RA Util.user.js:303:13)when it tries to dorbounds.extend(jsegment.geometry.bounds);but jsegment is undefined

Hope this information is helpful for your troubleshooting. Do let me know if you need anything (debug log/error messages) from me.

I appreciate all the details :grinning:

I will take a look. I thing it has to do with the Roundabout Angles script I included when the author left the community. You can try disabling that feature for now (select a roundabout segment and uncheck the option on the RA Util window)

Works now after disabling “Enable Roundabout Angles”. Thanks for the great tip!

Does not work for me.
The script doesn’t even open.
https://waze.com/en-US/editor?env=il&lat=31.86573&lon=34.79872&s=8522365927422&zoomLevel=20&segments=860601

// ==UserScript==
// @name WME RA Util
// @namespace https://greasyfork.org/users/30701-justins83-waze
// @version 2023.07.18.02

For me it’s working at this roundabout.
Which Browser are you using? Possible you can try to deactivate all other scripts and enable one for one to test if there is an intercompability with another script.

I am using Chrome. You are correct. There is another script which interferes with this one.
WME Roundabout Junction BoxI notified the script writer.
Thanks,

With the current version I am able to resize and move RAs, but I cannot move junction nodes in or out. When I do, I get a fail to save error. This is in production & beta.

Tested and it’s working for me in both prod and beta. Try without other scripts

Nope. Only script I’m running. Version 7.29.002

This is the RA I’m working on.

No issues here

https://i.imgur.com/u8NVltd.gif

Make sure TB is disabled.

I haven’t had TB enabled in a week or more.

Not sure what happened. Disabled all scripts again except RA Util and was able to edit. Added the other 8 scripts back in and could still edit. The only error I saw in the console before was the actual save error.

Dunno.