Search This Blog

Tuesday, November 01, 2005

RealmSpeak Optimization

I spent some time this weekend working to optimize RealmSpeak. The reason for this, is that some people had reported having problems with 5 or more characters. As a test, I set up a game with all 16 characters, and RealmSpeak slowed to a crawl. The first combat to appear, caused the whole game to crash. Bummer!

Since the whole point of RealmSpeak is to allow any number of players to join, I really needed to get this fixed. After playing around with some code profilers, I was finally able to locate some of the problem code. I'm happy to say, that RealmSpeak is flying at about 3-times the speed it used to, and this is good for everyone, even if you are only playing a couple characters!

During this stage of coding, I also located and removed a bug that would sometimes cause RealmSpeak to hang during combat. A number of you have reported this behavior, and though the autosave allows you to quit and restart where you left off, it wasn't a desirable thing to do. I can hardly wait to get v0.17 out (this weekend, for sure), and see how this works for everyone.

Oh, I retried the 16 character game... and it worked normally! Yes, it was a pain clicking endlessly through all the stages, but they are fast now, and combat doesn't hang. Wheee!!

Now maybe I can start knocking those bugs off the bug tracker!

2 comments:

Anonymous said...

I too am looking forward to this being done, all spells working, and the bugs worked out so we can get down to some serious gaming.

Troll - TheRealmsOfLegend.com

DewKid said...

!! Not very demanding, are you!!

;-)