- Jun 14, 2012
- Reaction score
- First Language
- Primarily Uses
RGSS Web Kit
by Gustavo Bicalho, demo by Gleen
This was an old script made for RPG Maker XP but since it don't overwrites any of RGSS core classes it works in any version of RPG Maker you want. Therefore, since there wasnt a thread for this system I'm posting one now.
The RGSS Web Kit (RWK) was designed to allow simple HTTP access through RGSS. I wanted to download resources from the web, so that's what it does: download resources from the web. However, this isn't a script for people who don't know RGSS, at least some basic stuff. There's no ready-to-use "Scene_ResourceDownloader" or something like that. RWK gives you a way to get online, but it's completely up to you to make it useful.
What you can do with RWK: download resources, send Post data to a server and read the response, send requests with special headers and check the headers of the response.
You can use this to create an Online Ranking, or some kind of chat or bulletin board in your game, or to check and download updates. Like the whole game making thing, it's all up to your creativity.
Remember: this is a HTTP library, not a browser. It won't do everything for you. If you want to access some service that needs cookies, you will have to emulate those cookies by yourself and deal with the HTTP headers. The same applies to everything else beyond the normal "Get" and "Post like a web form". RWK gives you only the basic stuff.
Download the open version demo and copy the scripts of the section --codes and the AsyncHTTP.dll to your project. The session --Documentation holds information about how to better use RWK.
There are two demo versions, one closed wich show you the system working (a maze with a online ranking), and an open version wich lets you browse the scripts but you can't submit your results (trying to keep the ranking bug-free).
Closed version download
Open version download
RWK should be compatible with any normal scripts. The only way you could have a problem is if some script changes classes from the core Ruby library (like class Thread or class Proc), which (I think) is not frequent.
Terms and Conditions
RWK is released under Creative Commons BY license. That means you must give credit to Gustavo Bicalho for the script if you use or redistribute it.