TempLoginName
10-11-2004, 11:48 PM
I managed to get a klunky Hunger/Thirst set of gauges going. Seem to have minimal impact on performance, since I coded it to only have the server send update info when your Hunger/Thirst level changes or you restart the connection. I'm not sure if the code's worth posting though since I did a real hack-job on the data packet that sends the info and stole code to change gauge color from the MySEQ v2.0 project.
Will take me a bit to go back over my code and pry out the useful code from the mess of other junk I'm playing with, but just wanted to show you what I was working on. Right now, I have the gauge being red at 3000 or below, yellow from 3000 to 6000, and blue from 6000 and up, where you can't forcefeed yourself above 6000 and you auto-eat under 3000.
It's pretty tough coding C# when all I have to work with is NotePad/WordPad, a simple batch file to compile, and little to no previous experience with the language. Ah! Is there even a GUI environment for editing C# on Win98?
Old No Name
Will take me a bit to go back over my code and pry out the useful code from the mess of other junk I'm playing with, but just wanted to show you what I was working on. Right now, I have the gauge being red at 3000 or below, yellow from 3000 to 6000, and blue from 6000 and up, where you can't forcefeed yourself above 6000 and you auto-eat under 3000.
It's pretty tough coding C# when all I have to work with is NotePad/WordPad, a simple batch file to compile, and little to no previous experience with the language. Ah! Is there even a GUI environment for editing C# on Win98?
Old No Name