It is currently Fri Apr 19, 2024 12:20 am


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


 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: The colonist and planet news is back...
PostPosted: Wed Jun 07, 2006 12:11 am 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
We removed the colonist and planet FNN news from the scheduler when we reset the main game and some people were a little disappointed in it going away.

Well, I completely rewrote it so it only uses one query. :D

There is now a planet_update flag for every player. When you capture a planet, base a planet, lose a planet or create a planet the flag is set. When the news schedule runs it only processes the players with the flag set. And it is a single query to get the number of planets and total colonists for every player.

It is very streamlined and fast unlike the old sched_news.inc.

I have set the flag for everyone in the game so the news will process for everyone right now. Any new news items about planets or colonists will be new changes.



_________________
PJ's Annoyingly Useless Blog
ADOdb Lite
Template Lite
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 3 guests


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