Gcc is just sooo picky about the sources. I spent a nice hour trying to figure out how to use the std::min() function on a static const int "variable".
lols, then why not use a define? Should be faster as well
#defines are not scopable. And there's no difference in speed - both are optimized into constants. Enum and member consts just seem neater.
No I meant for std::min() define a min function
(09-27-2012, 12:04 AM)FakeTruth Wrote: [ -> ]Apparently the client does not send the metadata/health along with window clicks and MCServer does compare it and thinks it's out of sync when it's not the same item
I have to clear Mojang's name here, this was my fault - the 1.3.2 protocol silently dropped the item metadata, always using zero. Fixed in rev 976.
There's already ton of defines and functions with this name - windows.h defines one, std has another, I think MCServer has yet another somewhere. Too much garbage. And actually the templated version sometimes does optimize better, so I'd like to use that in all places.
(10-19-2012, 03:54 AM)xoft Wrote: [ -> ] (09-27-2012, 12:04 AM)FakeTruth Wrote: [ -> ]Apparently the client does not send the metadata/health along with window clicks and MCServer does compare it and thinks it's out of sync when it's not the same item
I have to clear Mojang's name here, this was my fault - the 1.3.2 protocol silently dropped the item metadata, always using zero. Fixed in rev 976
I strongly believe that somehow, some way it's still Mojang's fault
Nice

I think I'll drain my battery for a while

The cube movement is a little bit "boring". I'd try making them stop for a while when they hit the ground with their face - this would create a real notion of "marching".
Accidentally, have you played Bloxorz? Cool game, and has exactly the marching animation
http://www.bloxorz.org.uk/
I think the Floody water simulator is good enough for now, I'm gonna go revisit the wormnestcaves generator. I think I have an idea for making it run faster, plus I need to fix it drilling through water and trees and stuff.
wow cool

i'm also happy that MCS now has a much better fluid simulator.

and everyday MCS gets more customizable

no other server is this customizable
