Commit Graph
100 Commits
Author SHA1 Message Date
David Anderson ad5bc37912 added linux support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40549
2007-02-27 08:32:29 +00:00
David Anderson 88023370ea implemented wrapper around BAT's AdminInterface
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40548
2007-02-27 08:21:01 +00:00
David Anderson 348f21b61a renamed this function to avoid clashes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40547
2007-02-27 07:31:55 +00:00
David Anderson 09887584f4 added functions for target immunity testing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40546
2007-02-27 03:32:14 +00:00
David Anderson 52de18813c fixed stupid export
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40545
2007-02-26 09:21:08 +00:00
David Anderson 57a69562cf changed name output format
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40544
2007-02-26 09:12:32 +00:00
David Anderson 38532ccdad removed redundant float native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40543
2007-02-26 08:50:25 +00:00
David Anderson 78eb5b7747 removed Handle:myself from OnPluginStart
added GetMyHandle to get handle now, but there's no use...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40542
2007-02-26 08:32:20 +00:00
David Anderson 5cb299014a added sorting natives (phew)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40541
2007-02-26 08:21:09 +00:00
David Anderson fd32916b6e fixed a corruption bug where idxtags were not properly set
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40540
2007-02-26 07:44:08 +00:00
David Anderson 8d412faf5c fixed an assertion apparently being in the wrong place
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40539
2007-02-26 07:43:50 +00:00
David Anderson 1cc70a46eb added a crapload of random natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40538
2007-02-26 05:26:54 +00:00
David Anderson 95e92b25aa added a gameframe hook
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40537
2007-02-26 04:36:15 +00:00
David Anderson bb69a9f0d2 added random number natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40536
2007-02-26 04:24:06 +00:00
David Anderson 0b8874e5ec fixed a series of crash bugs related to CreateForward() with a NULL typeset
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40535
2007-02-26 02:51:14 +00:00
David Anderson e4fdaede32 added per-handle security (untested)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40534
2007-02-26 02:47:03 +00:00
David Anderson 8567d140d2 re-added this back, it was a good idea after all
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40533
2007-02-22 02:20:15 +00:00
David Anderson 81a6bc3288 removed unnecessary code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40532
2007-02-22 02:09:46 +00:00
David Anderson 8553f12d59 Corrected an API design flaw with pausing. Contexts can now be flagged as paused, and IsRunnable() is moved from IBaseContext to IPluginFunction. While this allows for per-function pausing, it is not intended that way.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40531
2007-02-22 02:05:50 +00:00
David Anderson 3de592d387 added replicated version cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40530
2007-02-21 22:09:05 +00:00
David Anderson d30525b8f8 put usermessages at the end of the include so it will compile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40529
2007-02-21 22:05:44 +00:00
David Anderson dc06ac6501 added server command functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40528
2007-02-21 22:05:25 +00:00
David Anderson eb9352b75d removed todo list since we have a task system now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40527
2007-02-20 19:10:56 +00:00
David Anderson ae5dfd0966 added helper a core translation helper to the translator
regadmincmd is now officially done and tested, as are overrides
printtoplayers now prints to the server on id==0 as a convenience
fixed a crash bug in the admin system
fixed up console.inc a bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40526
2007-02-17 19:03:18 +00:00
David Anderson 3be7988cd1 fixed printtoconsole crashing on fake clients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40525
2007-02-17 17:35:09 +00:00
David Anderson 03e70ebe16 reverted project file for now
moved printing natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40524
2007-02-17 17:25:50 +00:00
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 2ba612fed7 clientconnect now blocks properly when needed
removed cruft

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40522
2007-02-17 09:02:22 +00:00
David Anderson b9451b6cc9 exposed global translation file for core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40521
2007-02-17 09:00:14 +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
David Anderson 314f3401c8 fixed a bug where determinate 1D arrays would not have correct sizeof() -- REALLY hacky fix :(
fixed local arrays asserting on more than two dimensions with the last dimension being indeterminate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40516
2007-02-17 04:37:47 +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
David Anderson 371c764668 initial import of usermessage interface
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40513
2007-02-16 19:12:27 +00:00
David Anderson eb2afc8c56 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40509
2007-02-16 04:43:48 +00:00
David Anderson 165b8ed893 fixed a serious potential bug with swapping plugins to debug mode, leaving stale function pointers without plugin removal
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40508
2007-02-16 04:16:31 +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 dcb10ee3a2 added per-plugin command listing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40505
2007-02-16 00:04:14 +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 745375f393 added engine callclass
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40502
2007-02-15 20:35:17 +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 20441b70d3 added plugin properties
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40492
2007-02-13 19:20:48 +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 4f1101a006 changed these numbers for future expandability
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40487
2007-02-13 03:19:59 +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
David Anderson ea9815d2f5 removed invalid options from the config file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40485
2007-02-12 19:41:50 +00:00
David Anderson 89716abdcf fixed error code being off by one
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40484
2007-02-12 18:25:16 +00:00
David Anderson afd3d3dc88 fixed a silly bug in translation
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40480
2007-02-12 08:28:35 +00:00
David Anderson 1ac8d82d90 --HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40477
2007-02-12 05:56:27 +00:00
David Anderson 2747f06eb7 totally wrong place, i'm stupid --bail
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40474
2007-02-12 05:43:14 +00:00
David Anderson c5e98f7dc2 added ability to specify extra options to the build line
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40473
2007-02-12 05:13:53 +00:00
David Anderson 682e7d4ab6 fixed build on linux problems
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40470
2007-02-11 00:17:54 +00:00
David Anderson 1d44bdf37a added makefile for build tool
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40469
2007-02-10 23:34:30 +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 18aabecfd3 fixed a bug where early returns could cause the stack to not pop properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40465
2007-02-09 04:38:57 +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
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
David Anderson 67c76a9380 added gameevents to the publicly available interfaces
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40459
2007-02-08 01:11:45 +00:00
David Anderson 7a29aad6fa removed an old todo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40458
2007-02-08 01:11:09 +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 6908858807 fixed a bug where mapupdated plugins would not get unloaded on deletion
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40456
2007-02-07 19:34:58 +00:00
David Anderson 4ad7f36207 fixed auth string being returned as true if not available
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40455
2007-02-07 19:30:53 +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 085264e837 Execute result pointer is now optional
fixed a bug where result could be filled with no executions

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40453
2007-02-07 08:42: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 9969243266 added data pack functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40447
2007-02-06 19:05:45 +00:00
David Anderson e9204c0bf4 added interface spec for data packs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40446
2007-02-06 19:00:58 +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 b596e10304 heavily cleaned up the player API
exposed player API as an interface
added client event listeners to API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40441
2007-02-05 20:32:34 +00:00
David Anderson 6858d12ad9 added some access helper functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40440
2007-02-05 10:34:58 +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 fcb8c35eec removed InvalidateGroup() - it was a bad idea
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40437
2007-02-05 02:16:33 +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
David Anderson 66e9205ab5 fixed typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40429
2007-01-30 18:34:43 +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 d52aaa81d9 oh god I hate GNU make so much hate hate hate
yes I hate
HATE
what a sucky system
who designed this anyway, a squirrel
a radioactive squirrel?
I tihnk it was a dead radioactive squirrel

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40425
2007-01-30 02:38:12 +00:00
David Anderson 7b5886d511 updated todo list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40424
2007-01-30 00:38:56 +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 3091462dff clarified parameter indexing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40422
2007-01-29 23:54:46 +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 afd52e1611 fixed a crash bug from not initializing properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40419
2007-01-29 22:37:37 +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 8db394c85d Added VFormat() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40417
2007-01-29 22:34:53 +00:00
David Anderson 726498833e Fixed a bug where decl was essentially broken when using arrays
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40416
2007-01-29 22:33:57 +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 831344d353 fixed a bug where line numbers were not reset
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40414
2007-01-29 19:34:28 +00:00
David Anderson 4299828211 whoot, broke the build >:\
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40413
2007-01-29 07:01:26 +00:00