View Single Post
Old 06-17-2006, 03:57 AM   #7 (permalink)
Redline
PHP Student
 
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
Redline is on a distinguished road
Send a message via AIM to Redline Send a message via MSN to Redline
Okay, I have a working class now. It's modeled after yours Mike. I hate modeling my code after anyone elses work; I feel like I'm cheating myself. But I liked the overall layout of your class. I certainly didn't copy it though. I more or less just took the framework. Except for the get_float32 function. I stole that. I barely understand what it's doing, even after writing my own function to build the 32bit score. I didn't realize the score was 32 bit until I found my class didn't work on servers where player scores were more than 255. Even then, it wasn't until I found that the score was considered as "long" instead of "byte", in the valve development wiki site.

Okay. 5am. Time for bed.
__________________
Current Project
Redline is offline   Reply With Quote