Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,135 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Idea for aum96 [Re: WretchedSid] #345340
10/25/10 14:55
10/25/10 14:55
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
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.

Last edited by PrenceOfDarkness; 10/25/10 18:06.

"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: Idea for aum96 [Re: PrenceOfDarkness] #346085
11/01/10 08:27
11/01/10 08:27
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
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.

Re: Idea for aum96 [Re: George] #346126
11/01/10 14:47
11/01/10 14:47
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
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.

Last edited by PrenceOfDarkness; 11/01/10 14:47.

"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: Idea for aum96 [Re: PrenceOfDarkness] #346133
11/01/10 17:42
11/01/10 17:42
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
You really want to include your username and password to your FTP server in your client application?!
Srsly, think twice about it!


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Idea for aum96 [Re: WretchedSid] #346184
11/02/10 11:44
11/02/10 11:44
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
just sid what do you suggest then?


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: Idea for aum96 [Re: PrenceOfDarkness] #346186
11/02/10 11:56
11/02/10 11:56
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
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.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Idea for aum96 [Re: WretchedSid] #346195
11/02/10 14:03
11/02/10 14:03
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
or you can setup anonymous ftp access with only read permission.


3333333333
Re: Idea for aum96 [Re: Quad] #346390
11/05/10 06:22
11/05/10 06:22
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
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.


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: Idea for aum96 [Re: PrenceOfDarkness] #346392
11/05/10 08:31
11/05/10 08:31
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
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>




Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Idea for aum96 [Re: WretchedSid] #349132
12/04/10 09:07
12/04/10 09:07
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
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.



ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Page 2 of 3 1 2 3

Moderated by  George 

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