Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, juanex, Grant), 1,018 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Downloading files from within game #169846
11/28/07 00:22
11/28/07 00:22
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
I did some searching for this sort of thing and nothing came up...Would there be a dll or a technique which allows you to download files from a website while in game and save them to a certain directory?

Thank you

David

Re: Downloading files from within game [Re: DavidLancaster] #169847
11/28/07 01:32
11/28/07 01:32
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
you mean that the client'd be able to connect to a specific place (e.g. patch information file), download it, open and check it, and possibly then download the new patch?

It's possible, and if it's not already available, it's not hard to do such dll. I'm not sure, but such thing should be available to be done in Lite-C too.


"Yesterday was once today's tomorrow."
Re: Downloading files from within game [Re: Inestical] #169848
11/28/07 03:27
11/28/07 03:27
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
Thanks Inestial!

I think the patch is the same, but more specifically say for example you had an image that was displayed in game and was identical to one on a url, and each time you started the game it would automatically check to see if the url's image had changed and download it to your game's directory automatically. so every time you played the game it would have the most up to date image displaying.

I've never looked into this and not sure where to start..I've never done dll programming so I'm curious as to what options are available. Anyone who is familar with lite-c knows if this may be scripted in it?

Re: Downloading files from within game [Re: DavidLancaster] #169849
11/28/07 08:07
11/28/07 08:07
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
there is a couple of them available, I know micheal_scharwz or whatever his name is used one in his multiplayer shooting demo prototype. also there is like a http downloading dll that I believe has that feature as well.

Re: Downloading files from within game [Re: lostclimate] #169850
11/28/07 08:49
11/28/07 08:49
Joined: Jul 2006
Posts: 503
Australia
A
adoado Offline

User
adoado  Offline

User
A

Joined: Jul 2006
Posts: 503
Australia
If you need to download files at runtime via 3dgs you could, depending on what you needed:

Check out my DLL in my sig ^^ It can transfer a file from one 3dgs application to another, via TCP.

If you wish to download a file via HTTP (webhost) or FTP or something similar, I may be able to write one for you, if you want..

Thanks,
Adoado


Visit our development blog: http://yellloh.com
Re: Downloading files from within game [Re: DavidLancaster] #169851
11/28/07 09:33
11/28/07 09:33
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
gshttp from peacekeeper <= A6.40
I think BigDll from Triplex has
GSTNet non-blocking HTTPRequests >=A6.50


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: Downloading files from within game [Re: nfs42] #169852
11/30/07 09:13
11/30/07 09:13
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
Thank you! I'll check these out and hopefully let you know how I get on.

Re: Downloading files from within game [Re: DavidLancaster] #169853
12/01/07 08:13
12/01/07 08:13
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
I use gshttp. works great for exactly that purpose. but it's a6, dunno if it works with a7.
I download a file and use the information.
there's an example made by someone (sry, I don't remember!) that downloads the file "pink elephant" and saves it onto your pc. then it loads the file and uses it in game...
so you can download models and use them during run time...

Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: Downloading files from within game [Re: Germanunkol] #300005
11/28/09 20:50
11/28/09 20:50
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
Is this corfimerd to work in a7 ? cause when i make get thing to a picture the string that cames, is like encoded with 200 chars for example, and the string only contains the first 5? cutting the rest and then off course the image is not saved..


Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1