It is currently Thu Apr 18, 2024 12:24 pm


The forum is READ ONLY. Please direct any future discussions to our Facebook page


 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: Re: possible create planet bug.
PostPosted: Thu Jan 04, 2007 10:29 am 
Site Admin
Site Admin
User avatar

Joined: Wed Feb 19, 2003 12:17 pm
Posts: 2619
Sounds like much older code, say .14 or something like that. Shouldn't be able to work in ver .21 But please let me know what version it is, we don't wanna see anything like that effect .30.




digirave wrote:
I'm too lazy to test is out correctly, is why I'm saying possible.

But I have a reliable player on my server who tells me this, and I have confirmed sectors with over 8~10 planets.

There is players on my server who actually created perl scripts to login and "help" play the game. I noticed this user and otheres had more planets in sectors than allowed. I asked the users how he did this. They request the create planet really fast multiple times(use script or just click like crazy, slowing down the server), and I think a RACE condition happens due to poor database locking as the selects return the current number of planets in the sector before the updates creating the planets have finished. A simple solution would be to lock the table before the selects and unlock the table after the updates.

Anyways thanks for a great game.

I'm looking forward to the 0.3 source release.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron