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
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 17345 |
|
|
| 23 Jan 2014 07:01 PM |
| how do i httpservice help i am a noob |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 23 Jan 2014 07:04 PM |
| And there it goes. (Your memory.) |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 23 Jan 2014 07:08 PM |
| It was at a place of his. You went there specifically to troll him |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|