Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.
Post by dbcm
MajkiiTelini wrote:Magic reports false positive unneeded junction in situation, where the speeds are same in the opposite direction: permalink to example
Thanks. The catch there is that both segments got connected with B points.

Will add that to my TODO list.
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
DarknessLover wrote:cant install wme magic to
Strange, i just open a new chrome tab with this URL and it works:
https://waze.xpto.org/magic/magic.bundle.user.js
Screen Shot 2018-01-11 at 08.44.32.png
(154.13 KiB) Downloaded 619 times
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
atrophicshiner wrote:Even with Show your changes unticked, I still get the dialog box displaying my changes when hovering over the save button.

WME Magic 1.0.48.1515153580.36d8b68.Ω - Chrome 63... - OSX
Do you see any javascript problem on the console?

Try the latest version plz. It's V50
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Olestas wrote:Chrome keeps downloading the script file, instead of installing it. Can you just copy script contents here? So I could create new script and copy data inside?

I was only able to install script by copying contents of file, which were displayed in tampermonkey for like 1 second before starting file download.. then I created new script and pasted contents there.. now it works. But it did not install on its own.
Try the solution i left here and let me know if it worked.
https://waze.xpto.org/magic/#install
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
BruceQC wrote:I'm having the same issue as DarknessLover. If I just click on this link, http://waze.xpto.org/magic//magic.bundle.user.js , the script dls, but won't install. I get this error.
http://prntscr.com/hx0oor
Thanks!
Server is behaving correctly:
$ curl -sI https://waze.xpto.org/magic/magic.bundle.user.js | grep Content-Type
Content-Type: application/javascript

Try installing Magic following these steps:
https://waze.xpto.org/magic/#install
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
iainhouse wrote:My apologies. If you're using Chrome, I'm not sure why Windows Scripting Host is poking it's nose in. Possibly there's a file association involved. I'm guessing that the install is failing in TamperMonkey; then the Javascript source code is downloaded as a file; then WSH is set as the default handler for .js files and is trying to run the code. It's heavily minified and it wouldn't surprise me at all if WSH chokes on it.

This has prompted me to try some experiments. Note that I installed the new version earlier today without problems. So I removed Magic, then re-installed it - and got an error myself! The error about "cannot install from this site". That was followed by the download bar appearing at the bottom of Chrome as the file simply downloaded as a normal download.

After a bit of experimentation, I think I found a factor that I haven't seen mentioned before by any of the other people who have experienced problems. The script would not install if I had a WME window open. I tried several times and it seems that, if you have a WME window open, it somehow interferes with the installation of the script. I've now been round several times and been able to consistently install/re-install without WME windows open.

So my suggestion is to try this:
  1. Make sure Magic is uninstalled from Tampermonkey (and not installed in any other way)
  2. Copy the installation link https://waze.xpto.org/magic/magic.bundle.user.js to your clipboard
  3. Close Chrome completely
  4. Reopen Chrome with a fresh tab. If you have tabs set to open with Chrome, close them. If one of those was WME, I'm not sure what will happen. ;)
  5. Paste the link into the address bar
  6. Wait for the page to fully load and show the code. Because it's minified and all on one line, this will take TamperMonkey a while to handle - maybe 20-30 seconds
  7. Click the Install button
  8. Check the Tampermonkey dashboard to see if it's there
I hope that will work for you. Beyond that, we're definitely into territory where I can't really help much more without setting up a remote desktop sharing session.
Interesting. I've added a warning to the install procedure. Let's C if the rest of the world
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
iainhouse wrote: Also, I would appreciate it if you could contact me about setting up a country configuration for the UK. :)
Send me a PM with your email
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
CreekOfJohn wrote:
Grimace780 wrote:What is meant by "roundabout as a roller coaster" under "you should check this"?
Different segments of the roundabout have different elevations. Typically, roundabouts are flat.
That! :)
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Hi gang, version 61 is now live.

Everything should be live again.
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
shmupi wrote: Shmupi
What version you are now?

Did you changed to the new URL when my server went down?
The URL on tampermonkey should be this one:
https://waze.xpto.org/magic/magic.bundle.user.js
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯