Prodigious

happens here

Welcome to the home of tamago.designs, and creator, mike kruk. Enjoy your stay.

Jul 12
10:59 pm


0 comments

back to blogs

weekly FD update

Time for more updates! I have been focusing a lot of my time with trying to optimize data sending and server optimization this weekend. After tons of searching and research, I decided to completely drop the use of a XML Socket.

With AS3, aside from using the updated XMLSocket from AS2, there is actually a brand new Socket class that is strictly used for sending bytes and data types. Since XML serves no purpose to the type of data that needs to be sent/received (in fact i despise using XML for this ), I am re-writing my Socket class for AS3 to work with sending all my data based on header requests and data types.

The main problem I was having with XML was the size of information being sent, and also data was being sent at such a rate, that every now and then XML strings would get chopped in half, in turn making the server spit out a lovely warning about not being able to parse the XML as an object.

By switching to a regular Socket connection, I won't need to parse data at all. The only interpretation that takes place is checking the header being sent which will tell the server/client what to do with the data it has.

And since I have my VPS all setup (forgottendestiny.net and the socket server), once I get this new Socket all setup, I am going to create a register section for the site so that if you don't have a FD account yet, you can make one! And then I will be releasing a demo!!!

It won't be much.. You will be able to move around (path finding), chat with other players, and view your player's stats. But nonetheless, I really feel the need to show everyone my progress, and just how much better this game is looking more so than when I was developing in Visual Basic.

P.S. I'm shooting for tomorrow/Monday ;-)

Goodnight!

Leave a Comment

name:  (required)