WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-11-2010, 08:34 AM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
Server/Client

Hi,

I am currently trying to make a way so that clients connected to the same server can chat with each other rather than just the server.

To start, I was trying to get the server to send out messages to all clients. From there I was thinking that the server could take in every input from a client and then re-send it out to everyone.

Any help on getting the server to send a chat message to a client is appreciated, or getting the clients to directly speak to each other.

Thank you,
Jassel41
Reply With Quote
  #2  
Old 03-12-2010, 10:00 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
In the Vizard docs go to Reference --> Networking and take a look at the pages there.
Reply With Quote
  #3  
Old 03-18-2010, 10:42 AM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
This is what I was going off initially to set up a server/client relationship, but I think there is something wrong with the server.send function.

I get the impression that when the server types in the chat window and hits enter it should send out a message to all connected clients. Is this the case?

The only time the chat actually works is when one user types something and hits enter, then it gets shown on the server's screen. I want to alter it so that the client's chat will show up on all connected client's screens rather than just the server.

Is there a quick think to change with the client.sendAll command?

Thank you
Jassel41
Reply With Quote
  #4  
Old 03-18-2010, 04:05 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Take a look at the following thread and the viznet example that farshizzo posted. If that does not work for you then it could be a network issue.

http://forum.worldviz.com/showthread.php?t=1068

Have you disabled all firewalls and virus scanners?
Reply With Quote
  #5  
Old 03-23-2010, 09:58 AM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
I looked into the previous post you showed and I did disable all firewalls and scanners and I am using the most recent version of Vizard.

I am having the same issue the other user had in that the server.send function does not seem to work as well as the server.sendClient function.

Is there anything else I can be doing wrong?

Thank you,
Jassel41
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC