-- [ Picked text/plain from multipart/alternative ] The client-server communication does not come from entity work. It is needed because we built an interface in HL2 for users to create event-driven games via lua scripts. The interface allows users to create pseudo-code client-side. This info is sent to the server to distribute changes made by the client to all other clients and generate the final lua script.
After much testing, it turns out that our custom way of communication works as long as we keep the number of communications low. Size does not seem to play a role. On 6/29/07, Ryan Sheffer <[EMAIL PROTECTED]> wrote: > > -- > [ Picked text/plain from multipart/alternative ] > I advise figuring out a way to keep your entity work as server side as > possible in this case. > > On 6/14/07, Garry Newman <[EMAIL PROTECTED]> wrote: > > > > No is the short answer. > > > > There's 2 ways to get data from client to server. First off is sending > > console commands. Second is adding the data on the end of the > > usercommand. Console commands are probably the most reliable but you'd > > need to be careful and make sure you don't flood the client out by > > sending too many. Plus it can take a while. > > > > The best way from server to client is usermessages. That's simple > > enough but you have to be careful you don't flood them too. > > > > The secret 3rd option is to open a port and transfer stuff yourself.. > > but that's all booby trapped with port forwarding/firewall issues. > > > > garry > > > > On 6/14/07, Oliver <[EMAIL PROTECTED]> wrote: > > > -- > > > [ Picked text/plain from multipart/alternative ] > > > CONTEXT: In our mod, we allow users to create event-driven worlds and > > save > > > their work. We deal with a large amount of data that is stored in > > KeyValues > > > files. These KeyValues need to go from clients to server and server > to > > > clients regularly. > > > > > > PROBLEM: We couldn't find a way to transfer KeyValues, so we built a > > custom > > > message passing system that runs on its own thread. This has caused > > many > > > problems. > > > > > > QUESTION: Is there a way to transfer KeyValues from client->server and > > > server->client without resorting to a custom system. > > > > > > Thanks. > > > -- > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > -- > ~skidz > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

