BeneosBattlemaps / beneos-module

1 stars 2 forks source link

Beneos Module Search - NEW FEATURE: Download Icon redirects to Moulinette via API #117

Closed BeneosBattlemaps closed 11 months ago

BeneosBattlemaps commented 11 months ago

1. Download Maps from the search engine

1.1 WHY: My Patrons use Moulinette to download all maps directly into their world. My goal is to make this process as easy as possible. That is the reason I would like to have a "Download Button" on the Search GUI that leads the user directly to the moulinette window to download it.

The workflow would be: Search a map with Keywords -> get redirected to Moulinette to download this exact map -> Moulinette downloads and installs this Map.

1.2 HOW: Moulinette has a API that lets us call and open a specific scene, a specific pack or the entire backlog of a creator. The call is this: game.moulinette.applications.MoulinetteAPI.searchUI("scenes", { **terms**: "SC: Fire Temple Center", **creator**: "Beneos Battlemaps", **pack**: "Ashur Fire Temple"})

In this Example the Scene "SC: Fire Temple Center" from the Moulinette creator "Beneos Battlemaps" located in pack "Ashur Fire Temple" is shown in the Moulinette window.

That means we need 3 new variables in our battlemap-database

1.3 DOWNLOAD ICON + FUNCTION image

1.4 ON A CLICK: When a user clicks the download Icon an API call to Moulinette should be send with the syntax shown above including the variables of that specific scene (documented in the battlemaps-database.

2. Additional Feature: Click Title to open pack image

NOTE: Everything mentioned in this ticket only apply to the module search, not the website !

LeRatierBretonnien commented 11 months ago

OK, tell me when the new fields are available in the JSON database

BeneosBattlemaps commented 11 months ago

I've added the three attributes and started to fill them out.

For example:

    "download_pack": "Crystal_Cave - 01 ",
    "download_terms": "BM: Dungeon Entrance",
    "download_creator": "Beneos Battlemaps"

For test reasons you can use the first release. The Crystal Cave 01 has all three new variables filled in and should work as intended. That means in the beneis_battlemaps_database all entries up to line 363 are testable.

LeRatierBretonnien commented 11 months ago

Still not seeing them in the JSON database...

BeneosBattlemaps commented 11 months ago

I am not sure where you are looking, but on the database git it's visible

[image: image.png]

Am Do., 4. Jan. 2024 um 17:57 Uhr schrieb LeRatierBretonnien < @.***>:

Still not seeing them in the JSON database...

— Reply to this email directly, view it on GitHub https://github.com/BeneosBattlemaps/beneos-module/issues/117#issuecomment-1877445742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMOCHLZVHIDZQCHEOTSVKLYM3NPNAVCNFSM6AAAAABBJ46MDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGQ2DKNZUGI . You are receiving this because you authored the thread.Message ID: @.***>

--


patreon.com/BeneosBattlemaps http://www.twitter.com/gameaholixtv patreon.com/BeneosTokensTokens http://patreon.com/BeneosTokens youtube.com/beneosbattlemaps https://www.youtube.com/channel/UCmrohObg7fLr1M9KqOWYLCQ https://twitter.com/beneos https://twitter.com/Beneos


Vertraulichkeitshinweis

Diese Nachricht und jeder uebermittelte Anhang beinhaltet vertrauliche Informationen und ist nur fuer die Personen oder das Unternehmen bestimmt, an welche sie tatsaechlich gerichtet ist. Sollten Sie nicht der Bestimmungsempfaenger sein, weisen wir Sie darauf hin, dass die Verbreitung, das (auch teilweise) Kopieren sowie der Gebrauch der empfangenen E-Mail und der darin enthaltenen Informationen gesetzlich verboten ist und gegebenenfalls Schadensersatzpflichten ausloesen kann. Sollten Sie diese Nachricht aufgrund eines Uebermittlungsfehlers erhalten haben, bitten wir Sie, den Sender unverzueglich hiervon in Kenntnis zu setzen.

*Sicherheitswarnung: *Bitte beachten Sie, dass das Internet kein sicheres Kommunikationsmedium ist. Obwohl wir im Rahmen unseres Qualitaetsmanagements und der gebotenen Sorgfalt Schritte eingeleitet haben, um einen Computervirenbefall weitestgehend zu verhindern, koennen wir wegen der Natur des Internet das Risiko eines Computervirenbefalls dieser E-Mail nicht ausschliessen.


Confidentiality note This message (including any attachments) contains confidential information intended for a specific individual or entity as the intended recipient. If you are not the intended recipient, you are hereby notified that any distribution, any copying of this message in part or in whole, or any taking of action based on it, is strictly prohibited by law and may cause liability. In case you have received this message due to an error in transmission, we ask you to notify the sender immediately.

Safety warning: Please note that the Internet is not a safe means of communication or form of media. Although we are continuously increasing our due care of preventing virus attacks as a part of our Quality Management, we are not able to fully prevent virus attacks as a result of the nature of the Internet.

LeRatierBretonnien commented 11 months ago

Here : https://www.beneos-database.com/data/battlemaps/beneos_battlemaps_database.json Not visible,....

BeneosBattlemaps commented 11 months ago

Ah, you mean the online space, I did not upload it because the features are not live yet.

I've updated it on the FTP server as well, now.

Am Do., 4. Jan. 2024 um 20:02 Uhr schrieb LeRatierBretonnien < @.***>:

Here : https://www.beneos-database.com/data/battlemaps/beneos_battlemaps_database.json Not visible,....

— Reply to this email directly, view it on GitHub https://github.com/BeneosBattlemaps/beneos-module/issues/117#issuecomment-1877612123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMOCHMMLBARBGCQ6FHTIY3YM34CVAVCNFSM6AAAAABBJ46MDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGYYTEMJSGM . You are receiving this because you authored the thread.Message ID: @.***>

--


patreon.com/BeneosBattlemaps http://www.twitter.com/gameaholixtv patreon.com/BeneosTokensTokens http://patreon.com/BeneosTokens youtube.com/beneosbattlemaps https://www.youtube.com/channel/UCmrohObg7fLr1M9KqOWYLCQ https://twitter.com/beneos https://twitter.com/Beneos


Vertraulichkeitshinweis

Diese Nachricht und jeder uebermittelte Anhang beinhaltet vertrauliche Informationen und ist nur fuer die Personen oder das Unternehmen bestimmt, an welche sie tatsaechlich gerichtet ist. Sollten Sie nicht der Bestimmungsempfaenger sein, weisen wir Sie darauf hin, dass die Verbreitung, das (auch teilweise) Kopieren sowie der Gebrauch der empfangenen E-Mail und der darin enthaltenen Informationen gesetzlich verboten ist und gegebenenfalls Schadensersatzpflichten ausloesen kann. Sollten Sie diese Nachricht aufgrund eines Uebermittlungsfehlers erhalten haben, bitten wir Sie, den Sender unverzueglich hiervon in Kenntnis zu setzen.

*Sicherheitswarnung: *Bitte beachten Sie, dass das Internet kein sicheres Kommunikationsmedium ist. Obwohl wir im Rahmen unseres Qualitaetsmanagements und der gebotenen Sorgfalt Schritte eingeleitet haben, um einen Computervirenbefall weitestgehend zu verhindern, koennen wir wegen der Natur des Internet das Risiko eines Computervirenbefalls dieser E-Mail nicht ausschliessen.


Confidentiality note This message (including any attachments) contains confidential information intended for a specific individual or entity as the intended recipient. If you are not the intended recipient, you are hereby notified that any distribution, any copying of this message in part or in whole, or any taking of action based on it, is strictly prohibited by law and may cause liability. In case you have received this message due to an error in transmission, we ask you to notify the sender immediately.

Safety warning: Please note that the Internet is not a safe means of communication or form of media. Although we are continuously increasing our due care of preventing virus attacks as a part of our Quality Management, we are not able to fully prevent virus attacks as a result of the nature of the Internet.

LeRatierBretonnien commented 11 months ago

Implemented in current HEAD