Shartak

Out of Character => General Discussion => Topic started by: Simon on October 16, 2016, 06:56:22 PM



Title: Shartak Underworld moved
Post by: Simon on October 16, 2016, 06:56:22 PM
Those who use the Shartak Underworld at http://www.philosoph.us/misc/shartak/underworld/ (and via the Greasemonkey script) need to be aware that it's moved as of a few minutes ago.

New address is http://underworld.shartak.com/ - there's a link to the updated greasemonkey script on that page, or you can just edit the existing one and change the url in there.

Thanks to Elembis who has been running it for the last 10 years - he's sent the database dump and code so that very little data will be lost (make sure you update your scripts ASAP!)


Title: Re: Shartak Underworld moved
Post by: nine on December 08, 2016, 01:07:42 PM
On a not-entirely-dissimilar sort of thread, the ubermap userscript has ceased functioning happily without modifications. Unfortunately the modifications are against the license given for using the script. Also using a third-party script is against the license of using the API. I suspect a deliberate ploy to keep us using Firefox 3.5 and Greasemonkey, but it could just be that the author never foresaw this happening in future.

I'll look at cloning the ubermap functionality into the codebase of deadzone, but given how infrequently the maps seem to be updated, I can't be sure anyone's still using ubermap at all?


Title: Re: Shartak Underworld moved
Post by: Simon on December 10, 2016, 02:34:02 PM
The ubermap script stopped working? I'm sure that wasn't intentional - I'll mention it to the author and see if he knows of a quick fix.


Title: Re: Shartak Underworld moved
Post by: nine on December 10, 2016, 11:33:12 PM
The ubermap script stopped working? I'm sure that wasn't intentional - I'll mention it to the author and see if he knows of a quick fix.

It's quite simple to fix - userscript managers require that the userscript declare the mechanisms they're going to make use of (not dissimilar to how Android says "I want access to your call history, ability to turn wifi on and off and send all those photographs of your mum to Facebook"). So if you want to log things to the console, you have to insert "// @grant GM_log" into the header marked by "// ==UserScript==" and "// ==/UserScript==". Same with GM_xmlHttpRequest, GM_getValue, GM_setvalue and pretty much anything which may store, alter output, communicate with the world. You get a notification during script installation, or with some userscript managers, on first use. See GreaseMonkey on Firefox and TamperMonkey on Chrome & Safari for this behaviour.