Commit Graph

86 Commits

Author SHA1 Message Date
David Anderson
9d0e33a71f added admin access checking
added syncing between overrides
(note: denial message is a todo)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40520
2007-02-17 08:59:52 +00:00
David Anderson
6b28bec27f rewrote console command implementation internally
admin commands on the way but still not done
removed weird restriction

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40519
2007-02-17 07:54:20 +00:00
Scott Ehlert
49d96d4322 Added GetUserMessageName() native spec to usermessages.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40518
2007-02-17 07:31:14 +00:00
David Anderson
2b8a69dfcc spec'd out more of the message hooking stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40514
2007-02-16 20:07:40 +00:00
Borja Ferrer
bf69dad3bf Id was broken for this file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40512
2007-02-16 18:50:27 +00:00
Borja Ferrer
0fbb38ef8e initial user message implementation with its natives and such
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40511
2007-02-16 18:47:16 +00:00
David Anderson
a75e87a076 removed this potential feature, not useful enough
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40507
2007-02-16 03:47:10 +00:00
David Anderson
76903cd919 added client-based console commands
extended console command functions to have an argument number
renamed Result to Action

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40506
2007-02-16 02:17:41 +00:00
David Anderson
165b705354 implemented+tested RegServerCmd()
renamed internal project console stuff

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40504
2007-02-15 22:17:01 +00:00
David Anderson
81509e1ee4 renamed Result to Action
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40503
2007-02-15 22:16:19 +00:00
David Anderson
7a8152aba3 initial import of bulk include for events and messages
this is not in sourcemod.inc until it's done

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40499
2007-02-14 17:49:18 +00:00
David Anderson
12b9e2750e made these names more consistent, except for authorized, since only players get authids
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40498
2007-02-14 17:48:49 +00:00
David Anderson
fbeabce6bf added event result types
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40489
2007-02-13 06:26:01 +00:00
David Anderson
c5316168de moved two console commands
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40486
2007-02-12 19:45:23 +00:00
Scott Ehlert
8d1d75f551 Fixed minor spacing issue in console.inc
Added preliminary syntax highlighting file for UltraEdit/UEStudio

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40482
2007-02-12 13:20:19 +00:00
Scott Ehlert
6cff249b5c Fixed tabs, hopefully...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40481
2007-02-12 09:00:55 +00:00
Scott Ehlert
7b8eaf4f75 Specified more error scenarios...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40479
2007-02-12 07:22:25 +00:00
Scott Ehlert
c83b9236b0 Fixed return value on UnhookConVarChange
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40478
2007-02-12 07:11:00 +00:00
Scott Ehlert
0d54b19b8e More convar insanity
1) Added natives: HookConVarChange(), UnhookConVarChange(), and GetConVarName()
2) Fixed bug(s) where ConVar handles were being created when they didn't need to be
3) Fixed bug where convars not created by SourceMod would be unregistered

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40471
2007-02-11 11:09:38 +00:00
Borja Ferrer
47acc11df7 expanded data pack natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40467
2007-02-09 22:12:39 +00:00
David Anderson
57c1f0dd4d added and tested admin authentication. WOOT. only steam-based works for now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40466
2007-02-09 04:41:03 +00:00
David Anderson
1c80875ea3 initial import of binding user admin ids to players in game
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40464
2007-02-09 01:08:59 +00:00
Scott Ehlert
fdba3e1f66 Initial import of convar stuff
1) Natives to create, find, set, and get convars
2) "cvars" option added to sm menu
3) Some internal additions to CPlugin to store a convar list
Still some things left to do...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40463
2007-02-08 21:41:28 +00:00
David Anderson
471da79fa5 added a wrapper for getclientconvarvalue
fixed a bug in the player manager

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40462
2007-02-08 20:37:24 +00:00
Scott Ehlert
db676e8bfc Corrected parameter order for FloatToString
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40460
2007-02-08 04:53:56 +00:00
David Anderson
d2887a8c3d fixed the parameter order here
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40457
2007-02-08 01:10:48 +00:00
David Anderson
03fd3139c5 added steamid auth functions
added better bot detection
added gameframe hook for timer
renamed more playermanager stuff

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40454
2007-02-07 08:44:48 +00:00
David Anderson
06fa51700f tested and fixed a few issues in the flat file reader
fixed the admin_levels.cfg file

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40452
2007-02-07 03:34:24 +00:00
David Anderson
8c8b240617 fixed a bug in group reading
fixed an error in the group config file

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40451
2007-02-07 03:16:44 +00:00
David Anderson
64f9ff3022 added user reading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40450
2007-02-07 02:17:19 +00:00
David Anderson
70ae8ad8b6 fixed a small bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40449
2007-02-06 23:39:25 +00:00
David Anderson
d2a3c7f0f7 ignores bad groups safely now
cleaned up code a bit, removed redundancy

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40448
2007-02-06 23:30:50 +00:00
David Anderson
0c56f71a61 cleaned up levels in both the admin plugin and the source code
overrides use full flag bits now

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40445
2007-02-06 05:48:52 +00:00
David Anderson
8860ff6224 changed how the admin cache is rebuilt
renamed the plugin and fixed compilation errors

--HG--
rename : plugins/admin-flatfile/admin-base.sp => plugins/admin-flatfile/admin-flatfile.sp
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40444
2007-02-06 05:13:24 +00:00
David Anderson
0186e26344 renamed this plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40443
2007-02-06 05:07:49 +00:00
David Anderson
4e5311d9f2 added+implemented the rest of the admin natives so far
fixed a bug where flags could not be unset

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40442
2007-02-06 01:14:32 +00:00
David Anderson
b018cd9d3a initial import of the new admin api restructuring
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40439
2007-02-05 09:14:40 +00:00
David Anderson
4f5edf7b1f what
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40435
2007-02-04 08:01:07 +00:00
David Anderson
8649e57ebc added API spec sample for data packs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40434
2007-02-04 08:00:44 +00:00
Borja Ferrer
485692e6a4 fixed type reported at am50751
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40433
2007-02-03 14:33:43 +00:00
Scott Ehlert
02ffffe05a Oi, consistency...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40432
2007-02-02 22:47:14 +00:00
David Anderson
bf145be826 implemented more of the group reader
eliminated the pointless "inherit" directive

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40427
2007-01-30 06:43:34 +00:00
David Anderson
5085521b54 initial import of group reader (unfinished)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40426
2007-01-30 05:42:57 +00:00
David Anderson
619c15cac9 moved these to includes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40423
2007-01-30 00:38:15 +00:00
David Anderson
3f0de65cc6 added override parser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40421
2007-01-29 23:54:04 +00:00
David Anderson
221de124e9 finished level reading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40420
2007-01-29 23:09:11 +00:00
David Anderson
003fa1371e exposed VFormat() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40418
2007-01-29 22:35:06 +00:00
David Anderson
701cda8f0b split this baby up
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40415
2007-01-29 19:36:02 +00:00
David Anderson
9b88f80d0e fixed a bug in the admin plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40404
2007-01-27 04:50:48 +00:00
Borja Ferrer
aa8bf86dc1 added %T format support
added a new lang native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40395
2007-01-27 03:25:34 +00:00