generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Any in-depth explanation for how2HttpService

Previous Thread :: Next Thread 
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 06:59 PM
(Assuming I have a blank server for simple data storage)

I don actually know how data storage / PostAsync / GetAsync / all that work on HttpService

so would it be possible to make a type of universal player ranking, in which all players a given their global ranking out of all the players of a game? Like all the data stored on a server...
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:01 PM
how do i httpservice help i am a noob
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
23 Jan 2014 07:02 PM
The irony.

Weren't you telling NVI how much of a noob he is a few weeks ago? Go away
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:04 PM
idk who NVI is, but he's probably a noob
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
23 Jan 2014 07:04 PM
And there it goes. (Your memory.)
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:06 PM
but I seriously don't know who NVI is
you may have mistaken me for someone else

but it's possible I just don't remember, link me to a thread or somthin?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:06 PM
Handle a request via host, example (yey php)

VIA the server:
< ?php
     if(isset($_GET["key"]))
          die("KEY = " . $_GET["key"]);
     else
          die("Nope");
? >

VIA Roblox:
print(Game:GetService("HttpService"):GetAsync("urserver.blah?key=HELLO"))
Report Abuse
MarioKartAddict is not online. MarioKartAddict
Joined: 11 Nov 2009
Total Posts: 42774
23 Jan 2014 07:08 PM
oh yeah
NVI was the guy who made the poo gun
calling it revolutionary

and you made a big fuss about it

http://www.roblox.com/--place?id=141215905
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
23 Jan 2014 07:08 PM
It was at a place of his. You went there specifically to troll him
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:08 PM
yea, I have no idea how to http
this would actually take time to look into, wouldn't it?
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:10 PM
@Waka, oh you mean that hideous poo-gun-thing that someone advertised [in spam] on this forum?

If yes, then that guy is 110% a noob.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:11 PM
Not too much, just look up HTTP requests, preferably GET and POST
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:12 PM
but I'd have to actually get a server and figure out how to run it and manage requests / writing in html
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:14 PM
You don't need to really know HTML at all. And there are a lot of free hosts with PHP support and databases with ~24/7 uptime
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:17 PM
free hosts sounds in my budget
but aren't most limited on requests?
plus i wouldn't want my data public / compromisable / accessible by anyone else

any specific ones ya know of?
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
23 Jan 2014 07:17 PM
@cntkillme
I went to the website you suggested, but I dont know what "Choose a website domain name" means. Can you help me?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:19 PM
I used to use zymic, and I'm pretty sure they don't limit requests (thought I never read the rules nor terms).
If you don't want it accessible then don't make the httpservice script open-source
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:20 PM
Just what you want it to be called, like "cntkillme".zymic dot org" or w/e
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
23 Jan 2014 07:21 PM
@cntkillme
Thats what I meant, I went to zymic and it wants me to create a website domain name but however I dont know what that means.
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:21 PM
so what would stop anyone from sending an http request to my server?
just not knowing the url?
and wat about when exploooters figure it out?
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
23 Jan 2014 07:21 PM
@cntkillme
Thank you.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:22 PM
Since HttpService is only available server-sided, just put it in ServerScriptService. And if someone knows the url then just make the request also check for a token. So something like:

urhting.php?key=value&token=crazyThingHere and check it via php
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:25 PM
yea but it just seems like it would only be so long before someone bypassed it by getting the url + code

anyway to check if the request is being sent from my game?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jan 2014 07:26 PM
I gave you an example with a GET request. Also how could they figure out the crazy token if it's not replicated to any clients?
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
23 Jan 2014 07:30 PM
with magical server-sided exploits ofc

but besides security, zymic says not to use their hosting for:

"Statistics / automated pages. Pages which are purely for providing updated statistics or are generated through automated means, this includes those updated by a non web based applications."

meaning just using it for global ranking data storage would not be allowed?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image