Thread
:
[SM] Notices v1.0.2 (Updated: 3/15/12)
View Single Post
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
03-15-2012 , 23:54 Re: [SM] Notices v1.0.1 (Updated: 3/15)
#
6
As for Edit #3, notices are not removed automatically from the database when they expire. This is intentional. They are only removed on map change once detected to be expired. I wanted to avoid potential mid-game queries. 1.0.2 (already fixed it, will upload tomorrow after more feedback arrives) correctly divides sm_getnotice / sm_listnotices duration by 60, so that the duration parameter displays a minute value, rather than seconds.
*Edit for your edit*
The plugin needed a hardcoded limit as I wasn't about to mess with a slew of dynamic arrays for a plugin such as this. It's completely unnecessary. So I just limited the variables to 256, but the plugin can easily be recompiled to support any amount. If a community more than 30 Notices though, they're failing at something.
__________________
Last edited by thetwistedpanda; 03-16-2012 at
00:04
.
thetwistedpanda
View Public Profile
Send a private message to thetwistedpanda
Find More Posts by thetwistedpanda