Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Xolitude on August 18, 2013, 09:09:39 am

Title: [XP]Is an HTTP GET possible in RGSS?
Post by: Xolitude on August 18, 2013, 09:09:39 am
So yea, Subject says it all =3
Title: Re: [XP]Is an HTTP GET possible in RGSS?
Post by: PhoenixFire on August 18, 2013, 11:05:35 pm
Simply put, yes. But you need to know a bit about RGSS to begin with. Here's a link for you to look through...

Link Here (http://forums.rpgmakerweb.com/index.php?/topic/2990-rgss-webkit/)
Title: Re: [XP]Is an HTTP GET possible in RGSS?
Post by: Xolitude on August 19, 2013, 07:13:26 pm
Quote from: DigitalSoul on August 18, 2013, 11:05:35 pm
Simply put, yes. But you need to know a bit about RGSS to begin with. Here's a link for you to look through...

Link Here (http://forums.rpgmakerweb.com/index.php?/topic/2990-rgss-webkit/)


Thank you! :D
Title: Re: [XP]Is an HTTP GET possible in RGSS?
Post by: PhoenixFire on August 19, 2013, 08:46:34 pm
You're welcome. Personally, I've never tried it, but after reading through it and browsing what it does, it seems like it should allow you to get done what you're looking to do with GET. I'm intrigued to ask though; Are you making a multiplayer game that uses that method to get server data on other players? Or more simply, are you having the game download content from a game server?
Title: Re: [XP]Is an HTTP GET possible in RGSS?
Post by: warkurus on August 26, 2013, 05:16:24 am
Just downloaded the WebKit, but its only for RPG Maker VX :(
I think, in XP one can copy the http.rb script from ruby in the game folder and use
$LOAD_PATH:<<"."
(
$:<<"."
should work, too) first in the (new) script. Now one can use
require 'http' 
or
Kernel.require("http")
in the same script and start writing.