|
| 15 Oct 2016 04:56 PM |
so i made an HTTP thing, and it works 100% fine in studio
the second i open the roblox server it gives me an http 404
if you need to know what i'm doing, to keep it simple i'm sending a get request to a website
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
|
| 15 Oct 2016 05:10 PM |
error 404 means it cannot find the website
you cannot use httpservice to directly connect to roblox.com
if you need more help than that you're going to have to give info instead of just "im sending get to website" |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
|
| 15 Oct 2016 05:11 PM |
| not exactly /website/ but whatever you're trying to access in the url |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 05:32 PM |
i make a php website
it works 100% fine in studio
i run the script on the roblox server
it gives me a 404 error
i don't know how to make it any more clear
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
|
| 15 Oct 2016 05:37 PM |
error 404 = cannot find page
so look and your stuff and figure out why it's not working
you also need to add http:// infront of the domain in your script |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 05:41 PM |
i'm not an idiot, i know that
i'm just questioning why it works in studio (it sends the request AND gets a result)
and not in a game server
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
|
| 15 Oct 2016 05:47 PM |
| idk, need more info than just "im sending request 2 website it works in studio not in game" |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 05:49 PM |
well what else is there to explain
i could tell you i'm working it like
Website?Thing1=Value&Thing2=Value
a chain of values
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 06:07 PM |
help
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 06:18 PM |
| can't really help it's basically impossible for us to give you a solution based on the information you've supplied us with |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 06:23 PM |
so i disabled all the scripts, and the 404 error is still there
now there's no output what so ever relevant to my scripts
lemme try to get more info
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 06:38 PM |
ok it works in the command bar (in-game), but not in the script itself
lemme try separating it to another script
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2016 06:48 PM |
found the error, i'm an idiot
turns out the if statement was written incorrectly
so the function wouldn't execute (this is debounce)
game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge |
|
|
| Report Abuse |
|
|