NATION

PASSWORD

Timed-out nation won't die

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Kandarin
Diplomat
 
Posts: 869
Founded: Antiquity
Democratic Socialists

Timed-out nation won't die

Postby Kandarin » Sun Jan 31, 2010 12:11 am

http://www.nationstates.net/nation=Atheneus

I'm not sure what to make of this, but it looks like a bug.
I wish I remember who wrote:Games like Nationstates are like a big cardboard box, and there are two kinds of people in the world. The kind who look at the empty void inside the box and ask "Where the hell is it?" and the kind who jump into the box with their friends and make it into a fort, or a spaceship.

User avatar
Unibot
Senator
 
Posts: 4292
Founded: May 25, 2008
Ex-Nation

Postby Unibot » Sun Jan 31, 2010 12:15 am

"Location: the_east_pacific"

^^^ probably has to do with this.
Last edited by Unibot on Sun Jan 31, 2010 12:16 am, edited 1 time in total.

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Civil Rights Lovefest

Postby Pythagosaurus » Sun Jan 31, 2010 12:39 am

No, that's fine. The problem is that he's not actually listed in the east pacific, so he never gets updated. I'll fix it for next update.

User avatar
[violet]
Site Admin
 
Posts: 16038
Founded: Antiquity

Postby [violet] » Sun Jan 31, 2010 3:14 am

Ah, the reverse population bug!

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Civil Rights Lovefest

Postby Pythagosaurus » Sun Jan 31, 2010 3:27 am

Yes, some of those still happen, since they take a lot more work to detect. I actually have a nation sitting around intentionally in a region that doesn't exist. 8)

User avatar
[violet]
Site Admin
 
Posts: 16038
Founded: Antiquity

Postby [violet] » Sun Jan 31, 2010 3:30 am

I used to run periodic scripts to check for that (and correct it), but figured it wasn't happening any more.

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Civil Rights Lovefest

Postby Pythagosaurus » Sun Jan 31, 2010 3:41 am

Nah, it will likely continue to happen. I'm guessing it's caused by a race condition:

1. A nation is created in or moves to a region.
2. Before the region is saved, some other code (daily update probably) loads the region.
3. After the region is saved, the other code saves the region.

The effort it would take to stop this from happening is probably not worth it.

User avatar
[violet]
Site Admin
 
Posts: 16038
Founded: Antiquity

Postby [violet] » Sun Jan 31, 2010 4:18 am

Pythagosaurus wrote:The effort it would take to stop this from happening is probably not worth it.

That's my theory about everything!

User avatar
Usual People In Life
Diplomat
 
Posts: 554
Founded: Jul 03, 2009
Inoffensive Centrist Democracy

Postby Usual People In Life » Tue Feb 02, 2010 8:12 am

Oh come on violet and pythag the cute purple dinosaur, be like me and have a positive nature to the game. At least people are helping by finding these bugs for you!
When is a nation not a nation? When it's a region!


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Bowzin, France Europe, Indusse

Advertisement

Remove ads