Idea for aum96

Posted By: PrenceOfDarkness

Idea for aum96 - 10/24/10 07:11

Hey George, IDK about everyone else but one thing I always wanted to know how to do is be able to release a patch for my game. How would I have to build/structure my game in order to be able to release a patch of only the files changed as oppose to having to force the player to download a whole new version of my game?
Posted By: Liamissimo

Re: Idea for aum96 - 10/24/10 09:02

Well, thats easy no? Just write down every file that has changed and but it into an Installer and install it over the old game. For me it works like this.
Posted By: EvilSOB

Re: Idea for aum96 - 10/24/10 10:50

But what about a patch for PARTIAL files, like elements of a WRS ?
Posted By: Quad

Re: Idea for aum96 - 10/24/10 11:32

i can create a closed-source wrs patcher if anyone needs. (a commandline tool so you can run from your setup app?)
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 10/24/10 13:33

is it really that easy? wow gotta try it again
Posted By: EvilSOB

Re: Idea for aum96 - 10/24/10 19:10

I dont need one myself. But to get back on-topic, I would like to see
the concepts and an example covered in the AUM's...
Posted By: paracharlie

Re: Idea for aum96 - 10/24/10 19:15

Maybe date a file and make a routine to check against it; and whatever doesnt jive then update? Not sure if that idea would be possible but this is definately something that would be very worthwhile after production.
Posted By: Espér

Re: Idea for aum96 - 10/24/10 20:26

how about a tutorial of how to use the A8 PhysX.. cause i don´t understand the tuts right...
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 10/25/10 14:34

@esper make your own thread laugh.

So yea, are there any free DLLs out there that let you send a file to the players from the server? Just curious.
I know I could spend 100euros for ANet but I'm rather happy with A7 multiplayer and I just want one more feature you know? Sending a file through 3dgs would be great or I guess even through FTP would be okay. Anyone know where I can get that extra functionality for free or for cheap?
Posted By: WretchedSid

Re: Idea for aum96 - 10/25/10 14:50

Just write your own DLL that sends an HTTP Request to your website? It isn't that hard, and I'm sure that there are some high-level APIs to cover this for the people that don't like to work with sockets.
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 10/25/10 14:55

lol, dude if I knew how to program a DLL I wouldn't be on here asking for help.

Anyway here are some links I found for anyone else interested in this matter:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=259807#Post259807
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=259807#Post259807
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=336489#Post336489
also here is a file missing from the above url http://www.masterq32.de/centry/centry.zip

I also found something interesting: http://wyday.com/wybuild/

Has anyone used any of those DLL before? It would still be pretty awsome if George would write a small answer to this in the mag. Maybe in the FAQ section showing us how to use theses DLL properly for this. It would show us how to do two things (including a DLL and updating our games). If I find more interesting things I will Edit this post.
Posted By: George

Re: Idea for aum96 - 11/01/10 08:27

Felix has written a good updater for the recent "tool" contest. You can find it on Acknex Unlimited (the "Free Resources" link in the upper left corner of this page).

Concerning those DLLs: I'd rather have their authors teach us how to use them. Including a dll is as simple as copying it to your project's or acknex_plugins' folder.
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 11/01/10 14:47

Actually George what a lot of people didn't tell me is that Acknex actually already includes a very helpful function for this.

Code:
ftp_download(STRING* url, STRING* path, STRING* username, STRING* password)



best part of all it's free!!! I love using things that come with the engine as oppose to having on someone else. laugh Great work!

Also as for releasing updates/patches, everyone should check out wyday!

Gonna probably gonna add it to the wiki.
Posted By: WretchedSid

Re: Idea for aum96 - 11/01/10 17:42

You really want to include your username and password to your FTP server in your client application?!
Srsly, think twice about it!
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 11/02/10 11:44

just sid what do you suggest then?
Posted By: WretchedSid

Re: Idea for aum96 - 11/02/10 11:56

An HTTP request for the file. I don't know if Gamestudio supports it (I think I saw something like this a while ago).
This would be no security risk for you as you don't include you full FTP account.
Posted By: Quad

Re: Idea for aum96 - 11/02/10 14:03

or you can setup anonymous ftp access with only read permission.
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 11/05/10 06:22

Quote:

http_proxy(STRING* proxy,var port)
Sets a http proxy server for the connection to the internet. If no proxy is used, this function needs not to be called.
http_sendpost(STRING* url, STRING* data)
Sends http data with the "post" methode to a web server and returns a httpID. With this httpID the transfer can be controlled with functions like http_status. If no data has to be sent, NULL can be passed for the data string. After the post is finished, the httpID has to be freed with http_free.
http_status(var httpid)
Returns information about a http post:

2 connection problem
1 data was received
0 waiting for data from the server
-1 invalid httpid

http_result(var httpid, STRING* result)
Stores the received data of a http post in the result string and returns the length of the received data.

http_free(var httpid)
Frees the httpID of a http post and stops the transfer. Must be called after each http post.
Parameters:
proxy - proxy server (example: "proxy-host.com"), STRING* or char*.
port - port of the proxy servers (example: 8080).
url - url of the web server (example: "http://www.testserver.com/svlist.php"), STRING* or char*
data - string containing the data to be sent (example: "svname=gameserver&players=16&pw=yes"), STRING*, char*, or NULL.
result - STRING* to receive the result data of the http post oeration.
httpid - httpID of the post, returned by http_post().

Remarks:
Up to 5 http posts can be run at the same time.
All STRING* arguments can also be char* with at least 3 characters (except for http_result).
All functions return -1 if an error occured and 1 if everything went ok (except if something else is mentioned in the function description).
The plugin acknet.dll must be loaded and the file acknet.h must be included for using the ftp functions.
Version:
A7.84 P LC


that's what it says in the help manual. I don't think that includes anything we're talking about here.
Posted By: WretchedSid

Re: Idea for aum96 - 11/05/10 08:31

A POST should also work, until you explicitly banned it (like they did for the Gamestudio manual).

Here is the output from one of my server scripts:
Code:
HTTP/1.1 200 OK
Date: Fri, 05 Nov 2010 08:29:04 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: Identity
Content-Type: text/html

66308


(HTTP GET)

Code:
HTTP/1.1 200 OK
Date: Fri, 05 Nov 2010 08:27:13 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: Identity
Content-Type: text/html

66308


(HTTP POST)


As you can see, only the time in the header differs a bit, but I'm pretty sure that the http_sendPost() function already cropped this out of the answer.

However, like I already mentioned, there are scripts that don't allow HTTP POST, like the manual.
I got this response from http://www.conitec.net/beta/http.htm
Code:
HTTP/1.1 405 Method Not Allowed
Date: Fri, 05 Nov 2010 08:30:42 GMT
Server: Apache
Allow: GET, HEAD, OPTIONS
Connection: close
Transfer-Encoding: Identity
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>405 Method Not Allowed</TITLE>
</HEAD><BODY>
<H1>Method Not Allowed</H1>
The requested method POST is not allowed for the URL /beta/http.htm.<P>
</BODY></HTML>


Posted By: Dark_samurai

Re: Idea for aum96 - 12/04/10 09:07

Quote:
I know I could spend 100euros for ANet but I'm rather happy with A7 multiplayer and I just want one more feature you know? Sending a file through 3dgs would be great or I guess even through FTP would be okay. Anyone know where I can get that extra functionality for free or for cheap?


If you don't want to spend 100 euros for the ANet Professional Edition, maybe the ANet Web Edition is the right choice for you. It costs only a 29 euros and offers you ftp support. File sending over the normal client/server connection is only offered by ANet Professional.

From the homepage:
Quote:
Create highscores, internet/lan serverlists, file uploads,... with ANet Web and it's HTTP, FTP and UDP functions.
Additionally you get one month free support.

Posted By: Random

Re: Idea for aum96 - 12/06/10 21:39

How would it be to make a little christmas spezial? grin
Posted By: StJiongTeam

Re: Idea for aum96 - 12/07/10 07:05

Can't wait to AUM96
Posted By: PrenceOfDarkness

Re: Idea for aum96 - 12/09/10 09:57

why whatin 96?
© 2024 lite-C Forums