-
Wednesday Oct 19th, '05 @ 11:02pm
Counting gold
-
LRX
posted by mike
-
I suppose most people wouldn't think counting a lot of gold would be a big deal -- it'd mean they were rich, assumedly -- but in this game, counting gold during multiplayer has been a problem (not a fun one, either). Luckily, I've finally fixed up the mistakes, of which there were mainly 2.
First, my gold network messages became corrupt because I assigned an int to a byte. Hey, we all make mistakes. ;) Plus, I wasn't sending the message under one of the conditions where the message needed to be sent (gold appearing above an enemy who falls in a hole while carrying gold), so that messed things up, too. I think I have it all working fine now, though.
I also straightened out a couple of minor player-kill stat problems, and hopefully I've got all of that taken care of. Who knows, I might even finish this some day! :p