Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chat prog

Status
Not open for further replies.

fugigoose

Programmer
Jun 20, 2001
241
US
Ok, I hate to be annoying, but I really need to know this. I looked some more at the multiserver stuff and now i'm totally comfused. Is multiserver its own program, or a plugin for director. Do others need to have it to use my program? And I do not understand this command, the example they give makes no sense:

errcode = gMultiuserInstance.connectToNetServer( "Fred", "secret", "serverName.company.com", 1626, "ExcitingGame")

How can a varible be an object? I just wish the program came with a simple chat prog to show you how to do it! All i wanna do is sent text from my comp to someone elses comp using director, it cant be that hard, yet here i am.
 
Multiuser server is a server package, you run it on a computer you want to use as a server. the unlicenced version supports 50 users (I thought it was 100 but 50 in a chat channel isn't too bad).



in your above line you are setting errcode (varialbe) to the result of gMultiuserInstance.connectToNetServer( "Fred", "secret", "serverName.company.com", 1626, "ExcitingGame")

Basically its so you can check if the message got there, you don't actually put the object into the variable.


also has some stuff (like the source code for a multiuser server chat system)

also head to and do a search for chat, I found one that used the fileio xtra and one that used the multiuser server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top