Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
4TheEnjoy
i dont know c++, but i try to learn, and i dont do sarcasm to pankj, i never do that to anyone. i hate sarcasm or joke
So you dont basically know why we found it funny.
Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
Aesir
So you dont basically know why we found it funny.
i dont know pro, but i know some language and basics. and i did not laugh code, i laughed at the pankj words. maybe that words not funny from you, but maybe funny from me.
Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
4TheEnjoy
i dont know pro, but i know some language and basics. and i did not laugh code, i laughed at the pankj words. maybe that words not funny from you, but maybe funny from me.
Code:
struct MSG_SIGN_BOARD_STRING
{
BYTE InfluenceMask0;
BOOL IsInfluenceLeader;
INT StringIndex;
ATUM_DATE_TIME SignBoardExprieATime;
char SingBoardString[SIZE_MAX_SIGN_BOARD_STRING];
};
struct MSG_FC_WAR_SIGN_BOARD_INSERT_STRING
{
BOOL IsInfluenceLeader;
INT StringIndex;
ATUM_DATE_TIME SignBoardExprieATime;
char SingBoardString[SIZE_MAX_SIGN_BOARD_STRING];
};
now find out what MEMSET_ZERO does and you may understand
Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
PanKJ
This topic is bullshit, but look at this piece of code:
Code:
MSG_SIGN_BOARD_STRING tmSignBoardString;
MEMSET_ZERO(&tmSignBoardString, sizeof(MSG_FC_WAR_SIGN_BOARD_INSERT_STRING));
Damn I found it amusing.
it's not a good thing but at list they fill the larger one on the size of the smaller one
edit: after a look, the field StringIndex will always be set with value 0 and will never have an other value, how to use some octet for nothing. and send that over network.
Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
decarvk
it's not a good thing but at list they fill the larger one on the size of the smaller one
edit: after a look, the field StringIndex will always be set with value 0 and will never have an other value, how to use some octet for nothing. and send that over network.
Int type on cpp is stored over 4 byte (8*4 bits), from where did you get that 'octect'?
Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
decarvk
how to use some octet for nothing. and send that over network.
It's Masang, they're commonly known for this bullshit, like wasting CPU Time with empty for or while loops, or even empty methods that still get called from somewhere.
Re: [Discussion] Ace Online Inactive
Quote:
Originally Posted by
Aesir
Int type on cpp is stored over 4 byte (8*4 bits), from where did you get that 'octect'?
sorry "octet" is the french word for byte. now ma sentence must be more comprensive for you ;)
and some byte or octet not mean only one ;)