The Daily Click ::. Forums ::. Klik Coding Help ::. Upload/Download maps?
 

Post Reply  Post Oekaki 
 

Posted By Message

Knockturnal

Nothing to see here turn back

Registered
  11/04/2008
Points
  354

VIP Member
18th January, 2009 at 00:33:04 -

So i've created this awesome editor but I'll need the players to be able to upload/download arrays/tilesets from the web, preferrably IN the application. Is there any (efficient) way of doing this?

 
Professional vaporware developer

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
18th January, 2009 at 02:02:43 -

Haha, I myself have been pondering the best way to do this. It depends on your particular setup, but you'll need a webhost that lets you have a "hotlink" to your files for the way I'm thinking...

I don't know if you want it to be this way, but I'm planning on having my game automatically download all levels it doesn't have, so there's no selecting of levels involved. Are you wanting a way to select which levels to download or simply a system for downloading all available ones you don't have?

 

  		
  		

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
18th January, 2009 at 02:30:37 -

If you're not extremely concerned about security and you just want something that works and is reliable, you could always use FTP. I've had some positive results with it.

 
http://www.facebook.com/truediamondgame

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
18th January, 2009 at 04:10:41 -

you can use http://www.hotlinkfiles.com . Its free and lets you hotlink files.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

Knockturnal

Nothing to see here turn back

Registered
  11/04/2008
Points
  354

VIP Member
18th January, 2009 at 10:19:44 -

Yea I want them it to download all maps it lacks. Then I'll probably use the download object, but how to upload? (And how to download files with diffrent names that can be anything?)

 
Professional vaporware developer

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
18th January, 2009 at 14:16:05 -

You might be able to use MooSock for uploading, but see, that's why I mentioned FTP. FTP has download and upload as a native function.

 
http://www.facebook.com/truediamondgame

Knockturnal

Nothing to see here turn back

Registered
  11/04/2008
Points
  354

VIP Member
18th January, 2009 at 15:02:41 -

Can anyonw upload/download from there? And how to use it??

 
Professional vaporware developer

Knockturnal

Nothing to see here turn back

Registered
  11/04/2008
Points
  354

VIP Member
18th January, 2009 at 20:46:11 -

Guys i'm still stuck with this, will anyone here help me? PLease?

 
Professional vaporware developer

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
18th January, 2009 at 21:05:26 -

I've never used FTP with MMF, sorry.

 

  		
  		

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
18th January, 2009 at 23:34:27 -

For the downloading part you can just use one of the download objects. For uploading you could write a script in PHP that takes a file on your harddrive and uploads it. You could connect to this PHP file using the POST method in the Live Receiver extension:
http://theclickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=45067#Post45067

The PHP script would be something like the one explained here:
http://www.tizag.com/phpT/fileupload.php
Only you don't need the button html interface, just the uploading part.



 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click