Re: [hlcoders] Player info being sent
Thanks for that Mike. On a similar note, are network arrays treated as a single or is each element considered seperate to the engine when it handles network updates? -Thanks ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Player info being sent
It will only be sent when the variable changes or when the entity is first transmitted to a client, regardless of whatever other variables in the entity are changing. You don't need to create a custom usermsg or event for something like this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew (British_Bomber) Sent: Thursday, June 09, 2005 7:04 AM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Player info being sent I am curious as to how the server sends information for players. If I have a number of lives for a player, say 10, and each time the player dies they lose 1. That means say every 1 1/2 minutes the variable would change. However I have a HUD element that shows the players lives. This accesses the local players inforation to get the lives every OnThink(). If these lives are sent over in the players DataTable will they be transmitted everytime something in the players DataTable is changed or just when that particular variable is changed? -Thanks Andrew ___ 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
Re: [hlcoders] Player info being sent
True, I have already got a couple of variables like that and they seem to be fine, but my concern is now for variables that are part of an entire XP/Skill system so I am trying to figure out the best way getting the right information from the client to the server. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Player info being sent
Andrew (British_Bomber) wrote: Ok, thanks, so that would mean that the best way would really be just a usermessage? Yes. If you have something that changes only once in a while, just create a new network message for that specific item. Then send that network message when that item is changed. -- Jeffrey "botman" Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Player info being sent
Trial and error As i said, check that your update packet is not going to bottel neck, and use that if its going to be easy to maintain, and code I am going through alot of the SDK and messing up all sorts of stuff, but have not had the time to setup a remote server/client for my message q's --- "Andrew (British_Bomber)" <[EMAIL PROTECTED]> wrote: > Ok, thanks, so that would mean that the best way > would really be just > a usermessage? > > ___ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > http://ammahls.com __ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Player info being sent
Ok, thanks, so that would mean that the best way would really be just a usermessage? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Player info being sent
i would belive they are sent every time the dt is updated, or changes - so use it with sparing thought, or the server will bottel neck - best to do a pt, and check your nextgraph though --- "Andrew (British_Bomber)" <[EMAIL PROTECTED]> wrote: > I am curious as to how the server sends information > for players. > > If I have a number of lives for a player, say 10, > and each time the > player dies they lose 1. That means say every 1 1/2 > minutes the > variable would change. However I have a HUD element > that shows the > players lives. This accesses the local players > inforation to get the > lives every OnThink(). > > If these lives are sent over in the players > DataTable will they be > transmitted everytime something in the players > DataTable is changed or > just when that particular variable is changed? > > > > -Thanks > > Andrew > > ___ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > http://ammahls.com __ Discover Yahoo! Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.html ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Player info being sent
I am curious as to how the server sends information for players. If I have a number of lives for a player, say 10, and each time the player dies they lose 1. That means say every 1 1/2 minutes the variable would change. However I have a HUD element that shows the players lives. This accesses the local players inforation to get the lives every OnThink(). If these lives are sent over in the players DataTable will they be transmitted everytime something in the players DataTable is changed or just when that particular variable is changed? -Thanks Andrew ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders