Lag bug ANNIHILATED!!!!!

Old stuff, just for reference

Moderator: Joe M.

Lag bug ANNIHILATED!!!!!

Postby Karl G. » Wed Aug 27, 2008 10:50 am

It's like playing a whole new game--the lag bug was caused by two things:
  • #1: every time someone levels or logs off, the server saves your character into the DB. I assumed it was buffering this so that you weren't writing to the hard drive (VERY slow) every time. I was wrong. The new in-memory database is about 1000-10000 times faster (literally) and the difference is incredibly noticeable.
  • #2: when you "zone" about every 30 steps, the server was sent a packet telling you what was on every single square, even if there was nothing there. this resulted in hundreds of superfluous packets and happen anymore

The result? Profiling tells me that the game goes from spending 98% of its time handling packets to less than 1%.

BAM!
User avatar
Karl G.
Lesser Spirit
 
Posts: 2453
Joined: Sat Mar 04, 2006 10:26 am

Re: Lag bug ANNIHILATED!!!!!

Postby xile » Wed Aug 27, 2008 10:54 am

I noticed the fix. Good job....
User avatar
xile
Merchant
Merchant
 
Posts: 33
Joined: Wed Aug 13, 2008 8:51 am

Re: Lag bug ANNIHILATED!!!!!

Postby Richard. UK » Wed Aug 27, 2008 10:59 am

I could cry... I want to to test this!! GRR darn BSOD!!!! lol :(

I might go cry myself to sleep....:P lols

Good Job Karl! :D
Karl G. wrote:Xenimus: not enough items, world isn't big enough, boring to level and the new spell system isn't as much fun as the old one.

EJ. Thayer wrote:If you don't like it then Quit.

Image
User avatar
Richard. UK
Lord
Lord
 
Posts: 240
Joined: Sun Jul 15, 2007 5:43 am
Location: UK [Evidyon, Customer Services]


Return to Archive (Before Alpha 2)



Who is online

Users browsing this forum: No registered users and 1 guest