Mail Archives: djgpp/1998/03/31/09:16:10
jaster32 AT hotmail DOT com (Jaster) wrote:
> On Sat, 28 Mar 1998 04:39:13 -0600, Roscoe Rush
> <chesterrr AT worldnet DOT att DOT net> wrote:
>
>
> >blakesteel AT hotmail DOT com
>
> Thanks so much.. I was having problem with the strings overlapping
> when I used the Pop_Packet(); ..
>
> for instance the first time I popped it it would be "Hello how are
> you?" and if the next message I popped was "Fine" it would turn into
> "Fineo how are you?" So you can see the problem I'm having. The only
> other problem I have now is sending ints. Like the postion of the
> player. I can see a way to do it if the ints are less than 255, but
> if the players position is like (356,300) it would be a little
> difficult. Have you found a way to do that? I'm sure DOOM must have to
> send player position updates perodically. Sending them as strings
> doesn't make much sense to me. But I have got the chat section
> working so far.. Thank you =)
Perhaps strings doesn't look good to you, but all the message system in Quake
is based on strings. Quake doesn't use a code to say "here is a coordinate" but
an string, it looks slow? yes, but doesn't affect the general performance.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -