View Single Post
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-16-2012 , 00:13   Re: [SM] Notices v1.0.1 (Updated: 3/15)
Reply With Quote #9

The index corresponding to the Notice isn't supposed to reset. I'm being cheap and using the AUTOINCREMENT/AUTO_INCREMENT parameter provided by SQLite/MySQL, so that the notices always have a unique index.

I wanted to wait until tomorrow to fix that bug in 1.0.1 but it seems that the inability to automatically delete expired Notices is a bit more important. Botched code from 1.0.0 to 1.0.1 so that it wasn't pruning properly.

Revision 1.0.2

----------------
  • Added cvar sm_notices_order, which allows choice between ascending/descending ordering for the Notice menu.
  • Fixed a minor display bug with sm_getnotice, / sm_listnotices where Duration showed a value in seconds rather than minutes.
  • Fixed an issue with Notices not expiring automatically on map change where applicable.
__________________

Last edited by thetwistedpanda; 03-16-2012 at 00:18.
thetwistedpanda is offline