Commit Graph

137 Commits

Author SHA1 Message Date
David Anderson
43051a0571 added functions for getting arguments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40523
2007-02-17 09:12:21 +00:00
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
David Anderson
6abb60a908 added license info to include files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40379
2007-01-26 02:07:24 +00:00
David Anderson
eaa989cb6b fixed a build error
renamed SMC_CreateParse to SMC_CreateParser

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40369
2007-01-25 21:50:45 +00:00
David Anderson
ea87f19779 changed source extension to .sp
added crimson editor binds

--HG--
rename : plugins/admin-base.sma => plugins/admin-base.sp
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40367
2007-01-25 21:42:54 +00:00
David Anderson
1b0475abb0 time to get rid of this little guy, you served us well
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40357
2007-01-25 10:07:35 +00:00
David Anderson
0f3891a098 started first admin plugin!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40354
2007-01-25 06:22:03 +00:00
David Anderson
2129bb6d92 changed the API - funcid_t is now index only rather than a code address
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40353
2007-01-25 06:21:20 +00:00
David Anderson
f9a5920e5b added an easier format string Function
changed normal log names to be more consistent
added logging natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40352
2007-01-25 06:19:17 +00:00
David Anderson
e506745890 Added more path building stuff
Addeed text parsing API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40350
2007-01-25 04:37:23 +00:00
David Anderson
e596003b94 added admin natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40342
2007-01-25 00:17:32 +00:00
David Anderson
0b8b26042e Added initial admin system natives
Added a few API changes to the admin system
Exposed more interfaces

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40341
2007-01-24 23:43:31 +00:00
David Anderson
2ac8a6597f added identifier to geoip, fixed native names
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40325
2007-01-19 02:28:56 +00:00
Borja Ferrer
91fc277fb9 new geoip natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40324
2007-01-19 02:23:04 +00:00
David Anderson
03277707b5 initial import of extension API and SDK as well as auto-loading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40303
2007-01-16 19:41:21 +00:00
David Anderson
8d27faa359 filled out info about pausing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40290
2007-01-11 08:46:41 +00:00
Borja Ferrer
8ec61eecbf added some console natives
more consts here and there in the logger

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40285
2007-01-10 23:49:22 +00:00
Borja Ferrer
b3ddba4832 i have a hat
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40280
2007-01-07 01:32:08 +00:00
Borja Ferrer
45baab94a6 Added a bunch of new file natives.
Fixed possible corruption in snprintf when input buffer was bigger than output buffer and relaying on its retval.
Fixed all cases when the above situation happened.
Fixed _PrintToHL2Log not taking va_list in.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40279
2007-01-07 01:30:28 +00:00
David Anderson
4bd40d69e1 restructure of HandleSys admin permissions and interface
removal of HandleSys helper functions
removed useless BaseContext stuff from Engine
put SourceMod specific stuff in BaseContext
cleaned up broken Handle code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40267
2007-01-04 02:08:27 +00:00
Borja Ferrer
15beb5afb0 Added radix conversion stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40266
2007-01-02 02:59:49 +00:00
Borja Ferrer
5c6bc80f20 Registered player and float natives.
Added error strings to these natives.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40265
2007-01-02 02:40:32 +00:00
Borja Ferrer
0f711cd479 more comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40263
2007-01-01 23:14:20 +00:00
David Anderson
2a7f0b9854 more natives touchups/additions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40262
2007-01-01 21:46:33 +00:00
David Anderson
2fc806542a added usage of the Handle System to begin experimenting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40257
2007-01-01 19:50:16 +00:00
David Anderson
a4363dfa4f whoa, wrong name
--HG--
rename : plugins/include/handles.h => plugins/include/handles.inc
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40256
2007-01-01 18:36:27 +00:00
David Anderson
a46c500e68 little fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40255
2007-01-01 18:03:43 +00:00
David Anderson
9f7c852c77 initial import of handle natives and a few minor API changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40252
2007-01-01 10:33:51 +00:00
Borja Ferrer
553cd022ae typo fiz
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40249
2007-01-01 03:39:53 +00:00
Borja Ferrer
86f9be5714 Added CPlayer class
Added new player natives
Fixed floatround returning a float instead of an int
Added new float.inc file
Added OnClientSettingsChanged forward

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40247
2007-01-01 03:33:14 +00:00
Borja Ferrer
2e835df380 tiny fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40239
2006-12-30 19:01:23 +00:00
David Anderson
388c062c96 added automatic native registration
added string include file
renamed typeutil and its functions
redid a bunch of the string natives
string natives now register

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40238
2006-12-30 07:23:17 +00:00
David Anderson
8792f0b4f0 new plugin API, sample plugin is now a fail load plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40217
2006-12-15 13:45:21 +00:00
David Anderson
442806dd45 updated types and test plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40187
2006-11-12 02:27:27 +00:00
David Anderson
ac761f61ce initial import of plugin loading code
little fixes to API
temporarily commented dependency iface until final

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40177
2006-11-10 07:49:38 +00:00
David Anderson
ace0d842e5 fixed silly bugizzle
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40176
2006-11-10 06:07:41 +00:00
David Anderson
c89dd6f101 imported new API for exposing plugin info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40175
2006-11-10 00:16:33 +00:00
David Anderson
55266ffb80 sample plugin import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40170
2006-11-08 09:28:32 +00:00