View Single Post
Fearts
ferts of daeth
Join Date: Oct 2008
Old 03-16-2012 , 00:11   Re: [SM] Notices v1.0.1 (Updated: 3/15)
Reply With Quote #8

OK, I did a little more testing.

sm_delnotice # deletes the notice from the database. However, it does not reset the notice count. Right now I am up to notice #9 even though all the other notices are deleted. The notice number keeps going up even though the old notices have been removed. I don't know if this was intended but I can see this becoming quite confusing.

Map changing does not remove from the database:

Code:
] sm_addnotice 0 1 "Test Notice" "Let see what this does"
News: Notice successfully entered into database under index 10!
] sm_loadnotices 
] sm_getnotice 10
News: The requested notice has been printed to your console.
News: Server: 0, Issued: 03/16/12, Admin: Admin, Duration: 60 minutes.
News: Title: Test Notice
News: Message: Let see what this does

WAITED 1 MINUTE

] sm_map ba_jail_electric_razor_v6
[SM] Changing map to ba_jail_electric_razor_v6...

Counter-Strike: Source
Map: ba_jail_electric_razor_v6
Players: 1 / 12
Build: 4833
Server Number: 4

No pure server whitelist. sv_pure = 0
Fire ̷̨●̷̨° connected.

] sm_listnotices 
News: There are no notices in the database.
] sm_getnotice 10
News: The requested notice has been printed to your console.
News: Server: 0, Issued: 03/16/12, Admin: Admin, Duration: 60 minutes.
News: Title: Test Notice
News: Message: Let see what this does
__________________

Last edited by Fearts; 03-16-2012 at 00:12.
Fearts is offline