BETA Forum Release!

HUGE thanks to SmittyW for helping out create the design of the world info box and error images!

That's right, minimaps finally have come to the forums!Please see the official announcement for information on how to use the service.

Release Information

Because this is a BETA release, expect there to be some mild bugs. If you find anything, report about it! Want something added? Suggest it!

API Modifications

+ Additional /username/<simpleid> endpoint

+ Additional /world/update endpoint

* Enhancement of /world/metadata/<worldid> endpoint

- Removal of the /world/worlddata/<worldid> endpoint

/username/<simpleid> - An endpoint to return only the username and simpleid of a user based on their simpleid.

/world/update - Endpoint for users. Wipes the cache of a world.

/world/metadata/<worldid> - Additional UserName key, which can be null. If it's not null, loading the /username/<simpleid> endpoint with the worlds Owner simpleid will set it to the username of the owner.

Caching

The MinimapVIewer API is notorious for caching heavily, and in this latest release, there are layers upon layers of caching.In order to clear the cache of a world, head on over to http://api.sirjosh3917.com/world/update. Type in your World ID, click submit, press the checkmark on the recaptcha, press submit, and you'll be redirected to an image of your world. All new modifications should be shown!

Minimap requests:

1. You make a request for a minimap2. Is it in memory? if so, return it.3. If not, is it on disk? if so, add the file to memory, queue up a request to update the minimap, return the image.4. If it's not on disk, request a world, create a minimap from it.

When a minimap is requested, it needs to fetch the world. A request for a world is very similar:

1. Request for a world is made.2. Is it in memory? if so, return it.3. If not, is it on disk? if so, add the file to memory, queue up a request to update the minimap, return the image.4. If it's not on disk, download it from PlayerIO

Hosting Updates

Artificial Limits Increased: ?scale can now go to 4xExample:

In other news...The hosting box has been moved to an Azure VM, providing blazing fast performance and internet speeds, as long as high costs ;-;I'm not sure if I'll stay here but for the time being it's fast.

Laziness

To be entirely honest, I don't feel like re-coding the MinimapViewer API despite it badly needing one.However, it has beem moved to ASP NET with Kestrel using fancy asynchronous stuff (true async, not the bullcrud nancy does) and it's mostly a hackjob of how it's up and running (caching was removed, a few other things), but at least it's up and running.

Expected Downtime

There will be downtime for an unspecified period of time, perhaps a long one.I will be moving from NancyFX to ASP.NET Kestrel ( asynchronous request performance ) and on .NET Core ( new DotNetCore binaries from PlayerIO ), and this will require a major rewrite to do things properly.

New Update

{"Error": "The world does not exist in the BigDB (or the world was unable to be loaded). Please check that you spelled the World ID correctly."}{"Error": "World disrespects the guidelines:\r\nThe world's MinimapEnabled setting (False) doesn't match the desired MinimapEnabled (True)"}

Update will be applied in under 20 minutes, please wait for the API to restart.

Open sourced the inner MinimapViewer API.

This is what the official API will use internally to get and fetch minimaps.I rewrote the first MinimapViewer and open sourced it in case anybody wants to make their own custom alternatives.Please review the source code and suggest improvementsThe code in the github repo will go into effect on June 9th. Expect that by June 10th UTC time, the official API will use these improvements

LukeM know how to code in JavaScript maybe he can help you with databases

No idea how I've managed to completely avoid such a huge part of online programming but I've never actually used a database XD

Edit: Also what do you mean by make it using javascript? Make something you can run client side to generate the minimap? (This is a serverside program so it shouldn't matter what language it is written in, you can make a request from pretty much any language)

Hasn't you made bot's before in JavaScript? Shouldn't be that hard to use database objects that way too if you are good at JavaScript.Atilla have had so many issues to run as example mono programs. So I guess it would happen the same for ninja.

LukeM know how to code in JavaScript maybe he can help you with databases

No idea how I've managed to completely avoid such a huge part of online programming but I've never actually used a database XD

Edit: Also what do you mean by make it using javascript? Make something you can run client side to generate the minimap? (This is a serverside program so it shouldn't matter what language it is written in, you can make a request from pretty much any language)

]]>Sun, 03 Jun 2018 12:47:23 +0000//forums.everybodyedits.com/viewtopic.php?pid=708526#p708526//forums.everybodyedits.com/viewtopic.php?pid=708521#p708521
Looks good. Maybe you should try to make something similar in JavaScript.LukeM know how to code in JavaScript maybe he can help you with databases?]]>Sun, 03 Jun 2018 12:00:55 +0000//forums.everybodyedits.com/viewtopic.php?pid=708521#p708521//forums.everybodyedits.com/viewtopic.php?pid=708511#p708511
I guess visible false could sometimes be used to keep worlds a secret until they are released, so might be best not to show the minimap if it's not visible.]]>Sun, 03 Jun 2018 08:07:28 +0000//forums.everybodyedits.com/viewtopic.php?pid=708511#p708511//forums.everybodyedits.com/viewtopic.php?pid=708502#p708502
Let's settle it with a poll.