I was asked to rewrite the GTS script for Essentials to PSDK so I did it. Basically it works a bit the same as the Essentials one but with some differences :
- There's currently no animation for the trades in PSDK (that part will be added in the future).
- The scripts uses the HTTPS url so it relies on HTTPS protocol instead of HTTP (preventing people from retreiving the Game code and breaking your GTS since the server does no check on the input data).
- There's a little "Loading..." text (on the clean version) that tells you the script is asking the server for data. It prevent the game from freezing during the communication since the server is a bit slow.
Search for GAME_CODE = '255' and remplace 255 by anything that doesn't contain the character '
In an event, call the script command GTS.open
When going out of the PC UI the map displays during a short amount of time. It'll be fixed by PSDK in Alpha 24.28 (we currently are in Alpha 24.27). It's due to the fact that GamePlay::Storage overload some internal feature of GamePlay::Base which make some things incompatible.
Starting the UI takes a lot of time. It's due to the GTS server that is really slow (that's why I implemented a loading screen).
When you load a game if you didn't saved after the GTS it opens automatically. (It's due to the event state said as "triggered" in the save state since the GTS save the game during its processing).
How to remove :
Delete the scripts/00101 NuriYuri GTS clean.rb file.
Delete the Data/Text/Dialogs/8997.csv file.
Delete the graphics/interface/GTS folder.
Crédits : Hansiec, Manoel Afonso, A Dork of Pork and Nuri Yuri