ID:176554
 
im building a chat and i need to figure out how transfering files work bcuz i need to conect 2 computers together so they can use a microphone and talk to eachother someone please explain howto conect 2 computers and maybe go into further details of how i might be able to some how do this
Im pretty new to this but i do not believe BYOND supports voice concersations, but as to the transferring files you can try this:
mob/verb/TransferFile(mob/M in world,F as file)
if(!M || !M.client) return //no mob or if its not player stop
if(!F) return //no file then stop
switch(alert(usr,"Are you sure you want to transfer [F] to [M]","File Transfer","Yes","No")) //ask usr for confirm
if("No") return //if not stop
switch(alert(M,"Would you like to accept [F] from [usr]?","File Transfer","Yes","No")) //ask M for confirm
if("No") return //if not stop
M<<ftp(F) //else let M download file

In response to Weedman
thanks but that code dont work and dantom told me that you can but you have to make a new programe outside of byond to run through byond im looking into it anyone have any programes like that
In response to Chrisshehu
Chrisshehu wrote:
thanks but that code dont work and dantom told me that you can but you have to make a new programe outside of byond to run through byond im looking into it anyone have any programes like that

Last I checked, nobody had such a thing as a programe.

Lummox JR
In response to Lummox JR
*Program.

Does that fix your problem there Lummox? Lol.

-= Kaclys =-
In response to Lummox JR
Lummox JR wrote:
Chrisshehu wrote:
thanks but that code dont work and dantom told me that
you can but you have to make a new programe outside of
byond to run through byond im looking into it anyone
have any programes like that

Last I checked, nobody had such a thing as a programe.

Aside from the quip, Lummox is essentially correct. You would probably need to develop something in C/C++, or Java, that ties into the BYOND system to transfer voice.

A better, and far easier solution, is to get an old freeware copy of RogerWilco, and use that. This is a great product that simulates a CB-radio over the internet. I've used it for 2 years in talking with clients in the U.S. all the way from Germany. The sound quality is very good, even over 56k modem. It also has a base-station feature so that you can have a 'voice-chat' server that people can connect to.
In response to SSJKaclis
SSJKaclis wrote:
*Program.

Does that fix your problem there Lummox? Lol.

-= Kaclys =-

I don't know what it was, but I almost fell over laughing, when I seen Lummox made a spelling boobo heh

RaeKwon!
In response to RaeKwon
ugh I don't think he made a spelling error the guy that made this post said programes

In response to RaeKwon
It was done on purpose to mock the person he replied to.
In response to Emperor Beld
lol
In response to digitalmouse
digitalmouse wrote:
Last I checked, nobody had such a thing as a programe.

Aside from the quip, Lummox is essentially correct. You would probably need to develop something in C/C++, or Java, that ties into the BYOND system to transfer voice.

Actually the quip was my only point. :)

Lummox JR