The Daily Click ::. Forums ::. Klik Coding Help ::. Detecting 404 Error in MMF?
 

Post Reply  Post Oekaki 
 

Posted By Message

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
12th January, 2006 at 16:55:10 -

Hey all, I was recently working on a game of mine that requires a registration to get in & play, but I'm having a problem. I need have the game be able to detect a 404 error when it is trying to download a file, without actually crashing MMF. I've tried SupaSupa Download, WebGrab, & the FTP object, but none of them will give me the error straight up, they just crash MMF as a sign of affection to me.

Anyone have any ideas of how I can do this? Even if it requires using a separate extension, because atleast then I can use that separate extension to check for a 404 error, then use yes or no, to decide if I want to deliver that link to the extension. Sort of like a way to filter out the good from the bad.

 
http://www.facebook.com/truediamondgame

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
12th January, 2006 at 17:13:41 -

I think you can do this with MooSock. I was using it to make an MSN messenger clone, and if memory serves it can retrieve HTTP headers (obviously you'd look for 40*), but I ain't used it for years so I'm not sure.

Image Edited by the Author.

 
www.thenatflap.co.uk

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
12th January, 2006 at 17:23:12 -

I could give MooSock a shot, but if this would be the problem I need to use, would anyone have any idea on how I would do it? I have no experence with MooSock.

 
http://www.facebook.com/truediamondgame

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
12th January, 2006 at 17:34:31 -

http://www2.create-games.com/article.asp?id=1405

Now give me cookies.

And I need a hug

 
191 / 9999 * 7 + 191 * 7

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
12th January, 2006 at 19:49:23 -

*hug*

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
12th January, 2006 at 22:56:16 -

Is there anyway I can access the webpage's data if the link contains a scripted variable (like http://dictionary.reference.com/search?q=whatever)?

 
http://www.klik-me.com

Pixalatio



Registered
  16/03/2003
Points
  652
13th January, 2006 at 22:39:18 -

@RapidFlash: Yeah tere sorta is (I did something with this a while back) if it si your own page it is easy, just put a unique thingy around what you want (say... <RAWR>variablepoo<RAWR> note the lack of a /) then use the string parser to parse it by <RAWR> and look at the appropriate element for your variables. If it aint your page just look for something that can stand in, say a bit of html which is ALWAYS before what you want, and always after (they dont have to be the same, string parser can have multiple separator thingies

hope my lack of memory at names of things doesnt confuse it to much

 
Twas brillig, and the slivey toves
Did gyre and gimble in the wabe,
All mimsy were the borogroves,
And the momewraths outgrabe.

http://www.pixalatio.tk - visit me please

Did you know that your computer has secret buttons hiding behind others.

I intent to never delete any part of my sig until it is t big to handle.

for one small minute my rating was possibly insane

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
14th January, 2006 at 01:16:33 -

@Dines: Thanks, that worked out for me. *gives salty, half eaten cookie*

 
http://www.facebook.com/truediamondgame
   

Post Reply



 



Advertisement

Worth A Click