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 » Scripters
Home Search
 

HTTP problem

Previous Thread :: Next Thread 
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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 is not online. 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 is not online. 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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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 is not online. 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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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 is not online. 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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
15 Oct 2016 06:07 PM
help


game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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