[Development] Burning Skies: Profaned Sanctuary

12/09/2011 14:17 EviL|Shepherd#16
Quote:
Originally Posted by Fаng View Post
I would love to see how my server stands up to a lot of players. We'll see though (I guess) when the time comes.



And I feel like I'm already doing that. I took an entire class on Asian History just for the project.
Now THAT'S dedication...
12/09/2011 15:50 |xabi|#17
God with you Fang!!
12/09/2011 16:00 F i n c h i#18
Hope you'll not give up again.
Good luck, Gareth.
12/09/2011 16:08 KraHen#19
Did it really take a day to code character creation? o.o
12/09/2011 20:50 Spirited#20
Quote:
Originally Posted by KraHen View Post
Did it really take a day to code character creation? o.o
Well, it's all about organization and planning. Anyone who ever wanted to read my Character Creation file wouldn't have a hard time doing so. My girlfriend (who knows nothing about programming) was able to read it and get a really good understanding from it.
12/09/2011 21:01 12k#21
Eh, it can take that long. Adding comments next to everything, giving each param definitions and comments, etc.
12/09/2011 21:12 Spirited#22
Quote:
Originally Posted by 12k View Post
Eh, it can take that long. Adding comments next to everything, giving each param definitions and comments, etc.
Well, adding comments isn't exactly what's taking so long. It does take up a little time to document it all correctly, but not nearly as much time is it takes for me to come up with the actual solutions.
12/09/2011 21:38 KraHen#23
And your girlfriend being able to read it benefits your project how?
12/09/2011 21:42 Spirited#24
Quote:
Originally Posted by KraHen View Post
And your girlfriend being able to read it benefits your project how?
A month from now, if I need to go back and change something, I don't have to spend a lot of time trying to figure out what the hell I was doing. =p Big projects like this need to be documented properly. I don't want to get lost in my own project.
12/09/2011 21:53 12k#25
eh, just a good naming convention, and the ability to right click->Go To Definition does the that job for me haha
12/09/2011 22:04 Spirited#26
Quote:
Originally Posted by 12k View Post
eh, just a good naming convention, and the ability to right click->Go To Definition does the that job for me haha
Well, I just tested that by reading my Append Login & Authenticate Response voids - it took me a good few seconds to read it all. Then I re-read it by only reading the comments and skimming through the code. Took me half a second at the most. I guess it's just a preference of mine.
12/09/2011 22:24 Lateralus#27
Quote:
Originally Posted by KraHen View Post
And your girlfriend being able to read it benefits your project how?
Probably the most ignorant and incorrect implication ever.
12/09/2011 22:27 BaussHacker#28
Quote:
Originally Posted by KraHen View Post
And your girlfriend being able to read it benefits your project how?
The real question is.

And your girlfriend is reading your code and not making you sandwiches?
12/09/2011 22:43 Spirited#29
Quote:
Originally Posted by Lateralus View Post
Probably the most ignorant and incorrect implication ever.
It's extremely important to document your code. You're ignorant if you think that me documenting my code is an ignorant action.

(I don't read these tutorials, but I found this on google which states the reasons why I document my code):
[Only registered and activated users can see links. Click Here To Register...]
12/09/2011 22:50 Lateralus#30
Quote:
Originally Posted by Fаng View Post
It's extremely important to document your code. You're ignorant if you think that me documenting my code is an ignorant action.

(I don't read these tutorials, but I found this on google which states the reasons why I document my code):
[Only registered and activated users can see links. Click Here To Register...]
You're ignorant if you think I was bashing documentation. I'm extremely pro-documentation and it's essential to document everything if you're in a team project.

Here's a snippet of my documentation of a subtype of packet 1010/10010.

/// <summary>
/// Sent client->server when a player requests a teammate's position. Server responds with the requested information.
/// (client->server) entityUID = requestedCharacterUID, ValueD = requestedCharacterUID.
/// (server->client) entityUID = characterUID, ValueA = requestedXcoordinate, ValueB = requestedYcoordinate, ValueD = requestedCharacterUID.
/// </summary>
RequestTeammatePosition = 0xA6,

There's no way in hell I'm going to memorize this or navigate through my code figuring out this information every time I need it, rather than simply putting the information right here in an XML comment. No thank you.