The Tequila Den

Combines the world of Tequila with Games.

One Line…

Its amazing how much purpose one line of code can affect your game. I accidentally forgot to add one small line of code in the game and the game hung up. I couldn’t for the life of me figure out what was causing it. I put a bunch of escapes and tried for the life of me to narrow out the bug. Turns out I forgot to escape a switch that handled all my server data so all it did was loop thinking there was a continuous stream of data to be handled. Damn it.

The worst part of it all was after I write a fresh piece of code I test it out and see how it plays out. If there’s an error, its normally because of a minor spelling mistake or something that I just plain forgot. In this case it was something rather pivotal. Oops.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: