[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenVerse] IMAGE location bug?
When my chess server sends IMAGE name_anim 560 170 player_1.gif 1649 0 to a
player, his client displays the middle of the image at the upper-lefthand
corner of his window.
I think I may have found the problem. When the user first logs in, the
server sends a placeholder so that name_anim will be below other objects.
IMAGE name_anim -1 -1 blank.gif 61 0
Are the -1's throwing off the client?
Yes, I know that I shouldn't write bad server code, but then again you
(Cruise) seem to be on a kick where you're making the client check the
validity of everything the server sends.
*Removes the negatives and replaces them with 640, 640*
Uh oh. The image is totally gone. I guess this means that when the client
receives followup object messages for the same object it doesn't update the
x and y coordinates.
Is that why Wanda moves so strangely? You're constantly deleting and
recreating her object? You should be able to just change the existing one.
After all, you update the image file, image filesize, and duration parts.
(You should be able to do a move_object for smooth sliding, but that's on
the horizon.)
__ _ _ __ _ _ __ _ ___ _ _
/_\ |\ | | \ \ / / __ / \ | |__|
/ \ | \| |_/ | \__| \_/ | | |
unununium@openverse.org zap.to/andygoth/
andygoth@ectisp.net 35256413
-----------------------------------------
Please sign the Linux Driver Petition!
<http://www.libranet.com/petition.html>
-------------------------------------------------------
--
Cruise -
OpenVerse Visual Chat - http://openverse.org/
-----------------------------------------------------------------
To unsubscribe to the OpenVerse mailing list send a message
to openverse-request@openverse.org with the following word
in the BODY of the message.
UNSUBSCRIBE
If you need assistance from a human, email cruise@openverse.org
-----------------------------------------------------------------