Commit Graph

391 Commits

Author SHA1 Message Date
David Anderson
ec8413193f added amb786 - sm_banip can take a user name, redid access permissions, and prevented a bad mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401380
2007-08-26 19:41:05 +00:00
David Anderson
d9866748f7 implemented amb843 - GetFileTime()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401376
2007-08-26 18:29:02 +00:00
Michael McKoy
b24a28d834 Fixed amb729, implemented amb778. Admin needs ADMFLAG_CHANGEMAP to use sm_setnextmap
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401372
2007-08-22 01:19:10 +00:00
Michael McKoy
4441de43f4 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401371
2007-08-22 01:18:17 +00:00
Michael McKoy
f70881d641 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401370
2007-08-22 00:58:47 +00:00
David Anderson
25f045bdea added helper function for panel text
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401367
2007-08-19 18:34:36 +00:00
Borja Ferrer
6a05c0925c added amb805, time formatting cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401365
2007-08-19 16:54:06 +00:00
David Anderson
1f04ba166a fixed bug amb795 - reservedslots could crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401357
2007-08-18 22:51:25 +00:00
David Anderson
874e3d6ed2 added crash notice about KickClient()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401352
2007-08-18 13:17:51 +00:00
David Anderson
ed5b455e8e max client name is more reasonable now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401349
2007-08-16 11:33:29 +00:00
David Anderson
a1acf91af7 - clarified GetMaxClients + OnPluginStart
- added a MAX_NAME_LENGTH define for player names

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401348
2007-08-15 23:09:13 +00:00
David Anderson
290f90a3a3 added FakeClientCommandEx() to solve a nasty re-entrancy issue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401344
2007-08-15 18:26:15 +00:00
David Anderson
4016c52a38 - removed some debug stuff
- committed msvc8 detection to sm_platform.h
- updated comments to FormatTime()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401340
2007-08-15 16:21:28 +00:00
Scott Ehlert
fd9ffeaf79 Ick again, fixed?
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401338
2007-08-15 08:08:42 +00:00
Scott Ehlert
90dd80f614 Ick, fixed builds
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401337
2007-08-15 07:42:51 +00:00
Scott Ehlert
a1009aed38 Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.

(This day shall henceforth be known as the Eighty Column Massacre of '07)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
David Anderson
99d9b96ec6 fixed a help text error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401333
2007-08-14 06:41:12 +00:00
David Anderson
b5df2dfb07 schema change (ugh) normalized immunity properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401332
2007-08-14 05:42:44 +00:00
David Anderson
309de7c510 initial import of simple sql admin management plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401331
2007-08-14 04:46:21 +00:00
David Anderson
e2e6ec777b added SQL_CheckConfig() so sql admin plugins can default back
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401330
2007-08-14 01:00:42 +00:00
David Anderson
86d5ccc3c4 initial import of threaded sql admin plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401328
2007-08-13 22:49:57 +00:00
David Anderson
c99ed2a8eb fixed another Handle leak in same
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401325
2007-08-13 18:41:11 +00:00
David Anderson
a8206db64e fixed a memory leak in sql groups prefetch
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401324
2007-08-13 18:39:02 +00:00
David Anderson
b8900e9cfe added data parameter to SQL_TConnect()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401323
2007-08-13 16:49:53 +00:00
David Anderson
6943dece87 initial import of sql admins prefetch plugin and associated table schemas
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401322
2007-08-13 01:46:58 +00:00
David Anderson
1458a48f13 admin plugin now reads overrides from separate file (but also admin_levels.cfg for backwards compatibility)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401320
2007-08-13 00:19:46 +00:00
Scott Ehlert
ac03126022 Added replicate and notify parameters to ResetConVar() - these were already available for SetConVarX()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401307
2007-08-10 09:16:58 +00:00
David Anderson
2a8d9a7aee flag letter assignment is now handled by core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401304
2007-08-10 04:53:30 +00:00
Michael McKoy
267f2bd60a VoteCancel_NoVotes implemented in vote plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401303
2007-08-10 01:07:07 +00:00
David Anderson
70cfc9395d MenuAction_Cancel now passes a vote cancellation reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401302
2007-08-09 23:45:33 +00:00
Michael McKoy
ddf6726f14 Vote plugin changes, added basefunvotes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401301
2007-08-09 23:34:53 +00:00
David Anderson
eedb308bab added amb739, SQL_ReadDriver()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401300
2007-08-09 20:06:42 +00:00
David Anderson
0adbf810b8 fixed silly design decisions in geoip that were copied over from amxmodx. natives now return true/false and the buffer is zeroed instead of filled with "ERROR"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401299
2007-08-09 19:48:46 +00:00
David Anderson
e6fa620ae2 added amb764, vote delay setting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401297
2007-08-09 19:05:34 +00:00
David Anderson
3cd3a0a8d6 added amb766 - GetMenuTitle()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401296
2007-08-09 18:25:00 +00:00
David Anderson
9588414f45 fixed amb769 (tag mismatch on MENU_ACTIONS_ALL)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401295
2007-08-09 18:19:23 +00:00
Michael McKoy
c8f03384cb oops, tag mismatch on MenuActionAll, forced tag for now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401293
2007-08-09 00:45:38 +00:00
Michael McKoy
cb8a6cddeb MENU_ACTIONS_ALL, lawls.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401292
2007-08-09 00:38:26 +00:00
Michael McKoy
87ba626fe5 Basevote changes based on testing and BAILOFEEDBACK
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401291
2007-08-09 00:31:45 +00:00
Michael McKoy
59687e802d Import of baseplugins.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401290
2007-08-08 23:45:24 +00:00
Michael McKoy
ba43b95d73 Base Votes import.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401287
2007-08-08 23:35:16 +00:00
Michael McKoy
3d26e26d52 Corrected filename in header of basefuncommands.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401286
2007-08-08 23:26:42 +00:00
David Anderson
ccbdfdbf2b fixed a parsing bug in admin-flatfile's group parser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401285
2007-08-08 23:04:48 +00:00
Michael McKoy
6b18b901ae You really should use your booleans right! sm_cancelvote fixed...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284
2007-08-08 21:46:44 +00:00
Michael McKoy
acfd5204d9 Switched to hinttext native and added sm_hsay back to non-CSS mods. Color is still CSS only.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401283
2007-08-08 21:32:39 +00:00
Michael McKoy
803f2122cf Added sm_cancelvote to the base commands, as well as appropriate translations.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401282
2007-08-08 21:32:06 +00:00
David Anderson
6da3335588 - added amb733 - running admin auth CheckSetAdmin
- fixed amb737 - reservedslots uses the new auth api
- fixed various FormatString() usage bugs in functions such as KickClient() and ServeRCommand()
- added API so sql admins will be fit into the whole system

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401279
2007-08-08 16:22:51 +00:00
David Anderson
ee7d75fcb9 added a menu parameter to the vote callback
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401277
2007-08-08 02:44:36 +00:00
David Anderson
6d60bd8de2 - massive overhaul of the voting subsystem
- NOTE: menu API compatibility was COMPLETELY broken for C++!
- cleaned up various aspects of the menu API
- implemented new extended vote results callback
- extended the debug reporter a tiny bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401275
2007-08-08 02:27:10 +00:00
Scott Ehlert
9d0c2ea4d8 Added #pragma deprecated to include files for deprecated functions and constants
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401274
2007-08-07 22:11:00 +00:00