HTTP Webrequest

Game Editor comments and discussion.

HTTP Webrequest

Postby destinydesignlabs » Sun Aug 03, 2014 5:43 am

Okay, my Google searching turned up nothing for this. Basically I was wondering if there was any way to add in an HTTP Webrequest to my project. I know we have openurl() or whatever that function is but I really could use the webrequest for a few things. One checking if an update is available for the project (just by reading the HTTP response string to see what version is on the server and compare it with an internal version string) and for statistics. My usage statistics script is a simple php page that takes HTTP GET statements and enters it into a database. Example: http://localhost/statistics.php?GameMod ... et&ETC=etc Basically my question is this possible, and if so how. Its 12:45AM here, so I apoligize if I was rambling, I have been up since 8AM, and only had 4 hours of sleep. Anyways I am off to bed, thanks in advance.
destinydesignlabs
 
Posts: 10
Joined: Mon Jan 04, 2010 5:24 pm
Score: 0 Give a positive score

Re: HTTP Webrequest

Postby skydereign » Sun Aug 03, 2014 8:53 am

destinydesignlabs wrote:Okay, my Google searching turned up nothing for this. Basically I was wondering if there was any way to add in an HTTP Webrequest to my project.

You can't within gameEditor. It is possible to run a program in parallel with gE that does the http requests, and use files as a way of communicating between the two. This isn't a great solution, but with the current gE version it's really one of your only choices for this functionality. This is a feature that we definitely are looking to implement in the future.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: HTTP Webrequest

Postby destinydesignlabs » Sun Aug 03, 2014 2:19 pm

Thank you for the quick reply. Guess I will run the secondary program along side my GE Project.
destinydesignlabs
 
Posts: 10
Joined: Mon Jan 04, 2010 5:24 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest