Sign in to follow this  
Followers 0
computergeek

P2P with Autoit3?

14 posts in this topic

#1 ·  Posted (edited)

I am trying to create a "peer to peer" script for a game called lieroX so everyone will have the same map and mod files. I already can write the script to get all the files, etc. and then log it to my server but i am not quite sure how to add a shared folder that everyone can have access to. All the computers are on the same lan (i would prefer if this didn't matter in the solution)and you can't do any reg edits (don't know why you would need to but it is read only). The OS is Windows XP Pro, with non admin rights. If anyone know the answer or some ideas, PLEASE feel free to post!

>Also pls post if you know how to open up ports in autoit (see bottom)

Edited by computergeek

Share this post


Link to post
Share on other sites



Just save all the file information on the server, and when someone wants a file copy it from the location on the LAN to their HDD.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

i thought about that but if i wanted to put it up on the web then that would be such a huge strain on my server, where i also host my website...besides that's just another thing to slow it down since the mod files are a couple megs...


Share this post


Link to post
Share on other sites

Well this is out of the realm of AutoIt than, I believe. Transfering files is pretty inefficient in AutoIt I think. So you'll either need to stress your server of move onto another language.

I may be wrong.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

i was hopeing that there might be a way with windows or something...it only needs to have a read only acces so others can copy the files, but it has to be accesable outside of the network...

Edited by computergeek

Share this post


Link to post
Share on other sites

To transfer files?

You could just setup a web server on your computer.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

Is there a way to seamlissly do this with autoit and not any install programs( b/c they are blocked by the OS)? Would the OS block it if the OS had any decent security on it?


Share this post


Link to post
Share on other sites

I don't understand your questions about OS's, AutoIt only runs on one OS, Windows. If you can setup a web server, then AutoIt can download files from it just like it was downloading from any other site.

Simply use INetGet.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

These computers are school coputers :) that the script will be running on (for now) and they have some stuff disabled in windows XP Pro...Hope this helps.

Also, what server program would you sugest?

Edited by computergeek

Share this post


Link to post
Share on other sites

Anyone?


Share this post


Link to post
Share on other sites

Xammp try that.... its a home server.... that i havent been able to get working well on my router... but my friend has it running great on his comp. google xammp.

Share this post


Link to post
Share on other sites

thx, i'll try it...


Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Sorry for takeing so long, (school and all), XAMPP works Great! But i need to open up 2 ports (tcp: 80 and 3306) inorder for the server to work. I want to automate this whole thing but i am not quite sure how. Much help would be appreciated thanks.

>so far here is the webpage front end (doesn't work completely but it's getting there. Also it hasn't been tested in firefox yet so pls use ie): http://www.haloacademy.com/p2p

>kapowdude: if the problem you were haveing was other computers "seeing" your server then opening up those ports might help. Once agaim, thx. It's an awsome program :(

Edited by computergeek

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0