David Anderson
3e88c91ad2
added ability to use NULL_STRING in KeyValues natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401006
2007-06-22 14:59:26 +00:00
Scott Ehlert
102fa64a77
don't fix what isn't broken I guess :\ (Fixed reserved slots once and for all...)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401005
2007-06-22 04:35:27 +00:00
Scott Ehlert
db83c8e2d9
Fixed a million bugs in reserved slots plugin - should be perfect now (I hope)
...
Finalized KickClient native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401004
2007-06-22 03:43:00 +00:00
David Anderson
58eedf6226
bumped menu api again - added feature to get menu end reason
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401003
2007-06-21 23:06:37 +00:00
Scott Ehlert
4a82ce501b
Not sure how I did this, but fixed KickClient include
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401002
2007-06-21 19:51:34 +00:00
Scott Ehlert
f5093ebf68
Reserved slots plugin uses KickClient native now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40999
2007-06-20 11:12:50 +00:00
Scott Ehlert
243d31b7a6
Added KickClient() native. This is so that the "Kicked from console" string doesn't appear in the disconnect reason.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40998
2007-06-20 11:06:58 +00:00
Scott Ehlert
546c471e2c
Moved pragams above includes in plugins. Not too sure why.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40995
2007-06-20 08:51:40 +00:00
Scott Ehlert
f94d080183
Added basic reserved slots plugin, finally...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40994
2007-06-20 08:48:11 +00:00
David Anderson
7c63139574
- added amb379
...
- fixed a format bug in basecommands.sp
- added an any tag to Call_Finish()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40988
2007-06-18 17:20:12 +00:00
David Anderson
5dbcd90895
fixed bug amb418
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40987
2007-06-18 17:09:33 +00:00
David Anderson
a76f3eba97
A few sdktools functions now accept all entities and the Player versions are deprecated
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40986
2007-06-18 17:02:42 +00:00
David Anderson
db5c7cdc80
added deprecation warning
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40985
2007-06-18 07:09:47 +00:00
David Anderson
254fc2557a
- removed OnServerCfg in favor of OnConfigsExecuted
...
- added AutoExecConfig() which automates safe config execution
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40984
2007-06-18 07:04:22 +00:00
David Anderson
8437e8ee04
added request amb404
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40966
2007-06-16 21:56:12 +00:00
David Anderson
0b9447d986
added a few more natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40961
2007-06-16 18:27:23 +00:00
David Anderson
11ff381289
- added bool type
...
- added pointer support
- added three default natives
- added include file for sdktools
- cleaned up decoding api a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40960
2007-06-16 18:03:05 +00:00
Scott Ehlert
a2a54f6000
Moved antiflood related phrase from core.cfg to plugin.antiflood.cfg
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40945
2007-06-15 21:03:34 +00:00
David Anderson
6acaaac769
added a hacky way to get NULL references
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40944
2007-06-15 20:23:40 +00:00
Scott Ehlert
6193ed8431
Convars with FCVAR_REPLICATED flag should now be replicated properly when sm_cvar is used.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40943
2007-06-15 06:31:12 +00:00
Scott Ehlert
28ae0b0d65
Added two new optional paramaters to SetConVar* natives for purpose of replicating convar value to client and/or notifying of convar change
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40942
2007-06-15 06:26:19 +00:00
David Anderson
2e3c61c849
SourceMod now does authentication in core; admin-auth gets removed. this has an added bonus that OnClientAuthorized reliably has whether an admin is validated
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40936
2007-06-08 07:54:45 +00:00
David Anderson
e85a6d280f
root can use sv_cheats now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40935
2007-06-08 06:31:46 +00:00
David Anderson
706b28cb64
added another unban command and added forwards for banning (amb369)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40933
2007-06-08 05:11:49 +00:00
David Anderson
48830e2c16
added request amb369, part 1
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40932
2007-06-08 04:40:40 +00:00
David Anderson
7b9b90e2a2
added sm_unban
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40931
2007-06-08 03:50:23 +00:00
David Anderson
0ceec15c5a
- ShowActivity() now handles command usage confirmation
...
- added sm_ban
- fixed up various issues and bugs in basecommands.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40930
2007-06-08 03:38:57 +00:00
David Anderson
a5d17bbf6b
- sm_show_activity is now protected
...
- added sm_who
- added GetCmdReplySource() for sm_who
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40929
2007-06-08 01:58:26 +00:00
David Anderson
de339cab8b
sm_kick now uses targeting properly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40928
2007-06-08 01:09:17 +00:00
David Anderson
ce9b783485
added sm_execcfg
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40927
2007-06-08 01:01:44 +00:00
David Anderson
3a02db6a1e
added sm_cvar
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40926
2007-06-07 23:48:51 +00:00
David Anderson
4066ab09eb
added sm_rcon
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40924
2007-06-07 21:36:24 +00:00
David Anderson
9da7a82af8
- added sm_map
...
- moved some translations into a new file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40923
2007-06-07 21:24:29 +00:00
Scott Ehlert
d4bc20d32b
Whoa, bug. Hopefully fixed PrintToChatAll and PrintCenterTextAll once and for all...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40921
2007-06-07 07:36:41 +00:00
David Anderson
63c5d05747
added profiler (windows only for now) and a benchmark script
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40920
2007-06-07 07:29:55 +00:00
Scott Ehlert
f129a830b8
Added anti-flood plugin.
...
Added some missing includes to sourcemod.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40919
2007-06-07 07:22:19 +00:00
David Anderson
092c4e88e9
- initial import of the first admin plugin (woot! it has one command!)
...
- added ShowActivity() native
- added lang.inc to sourcemod.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40916
2007-06-07 06:17:57 +00:00
Scott Ehlert
ebf3afb35f
Added SVN Id keyword to plugin headers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40914
2007-06-07 06:08:16 +00:00
David Anderson
d19aa9f576
finished doc on SearchForClients
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40909
2007-06-07 03:57:10 +00:00
David Anderson
877b604ce9
- added SearchForClients
...
- fixed versions and some header info in base plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40908
2007-06-07 03:45:44 +00:00
Scott Ehlert
7817602d75
Moved MAXPLAYERS define from sourcemod.inc to clients.inc
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40907
2007-06-07 02:39:37 +00:00
Scott Ehlert
897135194b
Moved FakeClientCommand from clients.inc to console.inc since it was also moved internally
...
Fixed internal buffer sizes in PrintToChat() and PrintCenterText()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40905
2007-06-07 02:26:06 +00:00
Scott Ehlert
95dee16788
Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40904
2007-06-07 02:04:05 +00:00
David Anderson
c843825e71
- added experimental (so far) support for SourceMod chat triggers
...
- added ReplyToCommand() for replying to triggers nicely
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40899
2007-06-06 22:16:15 +00:00
Scott Ehlert
bd15f93d7d
Implemented amb370 - added PrintToChatAll stock
...
Also added PrintCenterTextAll stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40898
2007-06-06 20:51:17 +00:00
Scott Ehlert
96527c93dc
Changed a few natives/stocks that should have used IsClientInGame() rather than IsClientConnected()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40897
2007-06-06 20:42:46 +00:00
David Anderson
1b6b0f6c5e
added GetSysTickCount for benchmarking
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40892
2007-06-06 16:40:30 +00:00
David Anderson
13493fd7d5
exposed new voting features to plugins (MenuAction_VoteCancel, IsVoteInProgress)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40891
2007-06-06 06:33:57 +00:00
David Anderson
2ee18824e9
added vote functionality
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40884
2007-06-05 16:44:19 +00:00
Scott Ehlert
6c17b9f37b
- Added natives: PrintToChat() and PrintCenterText()
...
- Bit of reorganization with moving some natives from sourcemod.inc to halflife.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40879
2007-06-01 06:33:54 +00:00
Scott Ehlert
1ab452c897
Return values of GetNativeCell() and GetNativeCellRef() have been tagged as any. As a result GetNativeFloat() and GetNativeHandle() are now deprecated.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40878
2007-06-01 06:31:02 +00:00
David Anderson
eb54cbb4f5
fixed various bugs in the sql natives and manager
...
added a basic test plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40875
2007-06-01 04:22:53 +00:00
David Anderson
e334e5f7e7
-initial import of database natives + config
...
-initial import of completed database layer
-CreateIdentity now requires a non-optional second pointer. This breaks backwards compatibility for CreateIdentity(), however, this is not a function extension authors are supposed to be calling
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40874
2007-06-01 02:30:29 +00:00
Borja Ferrer
942c3acd8e
spelling mistake
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40857
2007-05-23 20:24:28 +00:00
David Anderson
fa1740734a
added a notice to OnServerCfg about mods not supporting it
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40855
2007-05-23 17:56:47 +00:00
David Anderson
0e8ba9ed15
added RoundFloat and deprecated FloatRound
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40851
2007-05-23 15:49:28 +00:00
David Anderson
82c578f32d
added request amb320
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40846
2007-05-23 02:26:43 +00:00
Scott Ehlert
220aec7789
Fixed param order in documentation for SplitString
...
Why? I don't know.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40845
2007-05-23 02:24:13 +00:00
David Anderson
caab299d3e
Added request amb231 (OnPluginStart errors cause load failures)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40844
2007-05-23 01:59:58 +00:00
David Anderson
936337e54d
added request amb293 - SetFailState
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40843
2007-05-23 01:44:00 +00:00
Borja Ferrer
f4390609b3
re-added old float rounding native
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40842
2007-05-22 23:45:53 +00:00
David Anderson
5a50d8ca0a
added string splitting, exploding, and imploding
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40840
2007-05-22 22:58:51 +00:00
David Anderson
0ef8935839
added ReplaceString and ReplaceStringEx (phew!)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40839
2007-05-22 20:50:48 +00:00
Borja Ferrer
e60940834b
added floating point optimizations to the JIT
...
standarised a bit more x86_macros.h
some asm optimizations to bintools extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40837
2007-05-22 15:15:51 +00:00
Scott Ehlert
307181de8d
Added TrimString() native
...
Renamed StrBreak to BreakString
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40836
2007-05-22 03:42:04 +00:00
David Anderson
a6f446d4ec
removed unused param from GetEntDataArray
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40833
2007-05-21 17:16:15 +00:00
David Anderson
9549136e06
fixed this - of course, offset needs to be incremented (Set/GetEntDataArray)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40832
2007-05-21 17:14:45 +00:00
David Anderson
608a1f0d80
added request amb312
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40829
2007-05-21 02:13:47 +00:00
David Anderson
314e7097f8
added request amb285
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40828
2007-05-21 01:54:17 +00:00
David Anderson
459a9d41ba
added request amb278
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40827
2007-05-21 01:28:38 +00:00
David Anderson
daceab19cd
added key selection setting
...
fixed amb309
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40825
2007-05-21 01:11:37 +00:00
David Anderson
bee6b715b9
fixed a typo in an unusable stock (so our include parser won't choke)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40823
2007-05-19 22:19:27 +00:00
David Anderson
2cad3c3424
fixed capitalization on uint64 keyvalues natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40822
2007-05-19 21:36:14 +00:00
David Anderson
a55400b0ac
include file cleanup
...
added semicolons where needed
replaced taglists with 'any' tag
added braces to one-line stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40821
2007-05-19 21:21:55 +00:00
David Anderson
86344c06af
invalid tokens removed from admin.inc
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40820
2007-05-19 17:28:19 +00:00
David Anderson
e1fd0b6940
updated admin.inc's commenting style
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40819
2007-05-18 18:05:11 +00:00
David Anderson
0fb64f891d
removed @brief syntax from early includes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40818
2007-05-18 18:00:35 +00:00
David Anderson
5d4693c6f9
added <menus> to sourcemod.inc
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40817
2007-05-17 17:17:14 +00:00
Scott Ehlert
4ed2d6e515
Implemented amb296 - Added HookEventEx() which does not generate a runtime error if the event does not exist and returns false instead.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40807
2007-05-16 04:09:31 +00:00
David Anderson
be9c5e8675
fixed a comment typo
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40802
2007-05-15 02:13:07 +00:00
David Anderson
49369d07bc
redid API yet again - IMenuHandler is now bound to an IBaseMenu instance
...
implemented MOST natives
removed broadcasting/voting handlers for the time being
fixed a crash bug in basecontext when i didn't obey the api
moved radio displays to a caching stack
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40796
2007-05-14 04:46:06 +00:00
Scott Ehlert
8a9b5b7d41
amb283 - Renamed IsPlayerInGame() to IsClientInGame()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40790
2007-05-13 07:48:36 +00:00
David Anderson
47e359d195
fixed typo
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40770
2007-05-12 02:14:12 +00:00
David Anderson
3493467771
small rewrite of how keyvalues iterator and get deleted. phew!
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40759
2007-05-07 02:58:58 +00:00
David Anderson
2f14014f3f
oops, how did this happen
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40758
2007-05-07 00:11:10 +00:00
David Anderson
e69edf05eb
added amb260
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40756
2007-05-07 00:02:33 +00:00
David Anderson
67a0cdf1c3
added StrCat stock
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40755
2007-05-06 23:35:45 +00:00
David Anderson
eb5b94ec44
more string natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40754
2007-05-06 23:12:54 +00:00
David Anderson
7013072236
added request amb251
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40749
2007-05-06 06:15:48 +00:00
David Anderson
45d5518b11
these should be default as the comments imply so
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40731
2007-05-02 20:51:28 +00:00
David Anderson
a5c018724a
added amb217 (server.cfg forward)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40729
2007-05-02 20:44:35 +00:00
Scott Ehlert
3cdd3c0d0d
Added GetGameFolderName() native
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40727
2007-05-02 19:33:51 +00:00
David Anderson
3c3906b494
added request amb234 (OnMapEnd)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40724
2007-05-02 17:49:23 +00:00
David Anderson
d57f543820
renamed OnServerLoad to OnMapStart
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40723
2007-05-02 17:45:09 +00:00
David Anderson
d432dc0cbd
fixups to a few include files
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40722
2007-05-02 02:15:45 +00:00
Scott Ehlert
41e473a60c
- Removed GetConVarMin/Max() and replaced them with GetConVarBounds()
...
- Added SetConVarBounds() to set convar constraints after convar has already been created
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40720
2007-05-01 05:29:37 +00:00
Scott Ehlert
523e3d042d
Added paramater to CreateEvent to determine whether or not creation should be forced even if nothing is hooking/listening to the event.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40719
2007-04-30 22:53:27 +00:00
Scott Ehlert
473e1d4135
Removed flags from FireEvent()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40718
2007-04-30 22:03:28 +00:00
David Anderson
053029af87
fixed comment
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40714
2007-04-27 00:21:21 +00:00
Borja Ferrer
b0e21c9da0
added game config file natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40709
2007-04-22 18:25:10 +00:00
Scott Ehlert
93be4e29b8
Oh forgot this - QueryClientConVar returns 0 on bots now.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40703
2007-04-14 04:49:08 +00:00
Scott Ehlert
77e49c855f
Added client convar querying :o
...
Also added ISourceMod::GetModFolderName() for returning the name of the mod directory by itself
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40702
2007-04-14 04:27:47 +00:00
Borja Ferrer
b56de5d546
added entity string natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40700
2007-04-14 02:24:23 +00:00
David Anderson
c7db185400
function names now follow convention
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40697
2007-04-13 07:17:52 +00:00
Borja Ferrer
21923d7871
added datamap property offset native
...
added clientofuserid native for fast userid to client id translation
fixed a memory leek (some tries weren't being deleted)
added createdialog native
added 2 million inetchannelinfo wrappers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40688
2007-04-12 00:45:53 +00:00
David Anderson
4ecb7a985f
renamed another native, fixed backwards compat
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40687
2007-04-11 20:07:20 +00:00
David Anderson
e42773b07d
added strncmp
...
renamed StrCompare to strcmp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40686
2007-04-11 16:24:50 +00:00
Scott Ehlert
c7f1f04246
Added LANG_SERVER constant to lang.inc
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40678
2007-04-05 11:02:22 +00:00
Borja Ferrer
708a3a9a5c
oh one native for the hat man teame
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40665
2007-03-29 19:48:54 +00:00
Borja Ferrer
daeb5a7dba
added iplayerinfo natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40664
2007-03-28 23:35:12 +00:00
Borja Ferrer
fd1e3c4e97
added precache natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40662
2007-03-25 22:25:45 +00:00
Borja Ferrer
08ec195e27
initial implementation of KV natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40660
2007-03-25 20:20:43 +00:00
Borja Ferrer
862f25b223
fixed possible overflow cases
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40657
2007-03-19 19:19:41 +00:00
Scott Ehlert
1ced2210ed
Guess I forgot to close this.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40656
2007-03-19 18:07:15 +00:00
David Anderson
c6375166a1
added auth ident type creation
...
fixed some spacing issues
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40652
2007-03-19 01:29:29 +00:00
David Anderson
ee8780966d
made another timer parameter default
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40651
2007-03-17 23:03:56 +00:00
David Anderson
49c9ab6e25
added a playerinfo function to kick this off
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40650
2007-03-17 23:03:44 +00:00
David Anderson
88eae4ad1e
added a new forward for OnServerActivate
...
included timers from sourcemod.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40649
2007-03-17 20:25:08 +00:00
David Anderson
c6183b14b0
moved to inner loop
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40645
2007-03-16 22:49:52 +00:00
David Anderson
cbf1bbec0f
added admin "simple file" parsing
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40643
2007-03-16 22:15:03 +00:00
Scott Ehlert
c02dbabe30
Clarified some things here...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40641
2007-03-16 21:34:29 +00:00
Scott Ehlert
5187ea1903
Changed some tags to "any" where appropriate (did I miss anything?)
...
Plus some other strange things...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40640
2007-03-16 20:39:32 +00:00
David Anderson
19cfb041aa
added StrBreak from AMX Mod X, with various improvements
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40637
2007-03-16 20:10:13 +00:00
Scott Ehlert
19728377f1
Minor stuff, no need to look
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40632
2007-03-16 17:29:05 +00:00
Scott Ehlert
afb247d2bd
This line isn't needed anymore o_O
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40630
2007-03-16 11:37:57 +00:00
Scott Ehlert
b199861065
Thank you for the typo, UltraEdit
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40628
2007-03-16 06:57:31 +00:00
Scott Ehlert
5fa53bfc68
Dear me, I should have committed this long ago...
...
1) Added natives to create and manipulate global and private forward
2) Added natives to call forwards and functions
3) Added an IChanageableForward::RemoveFunction overload for convenience or something
4) Added test suite plugins for functions and forwards
5) Some random touch-ups to some include files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40627
2007-03-16 06:54:24 +00:00
David Anderson
279c102ddc
random touchups that might not be so great
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40625
2007-03-15 20:44:23 +00:00
David Anderson
0aadfbdfab
added natives for iterating plugins and retrieving plugin info
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40624
2007-03-15 20:10:25 +00:00
Borja Ferrer
971cb8f7e7
implemented timer natives
...
fixed some design issues in the timer manager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40618
2007-03-14 11:34:03 +00:00
David Anderson
3f7180aa65
whoops, i should have done this a long time ago
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40616
2007-03-14 04:08:59 +00:00
David Anderson
7c06d89b00
initial import of dynamic native code for both the JIT and plugins
...
note: dependency resolution is not done yet!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40607
2007-03-12 07:08:05 +00:00
Borja Ferrer
f64945b2aa
implemented the bf_read natives
...
message hooks now receive the bf_read handle
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40604
2007-03-11 21:09:05 +00:00
David Anderson
c2f106d4c6
added request amb80 (system time)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40601
2007-03-11 18:30:29 +00:00
Scott Ehlert
0b25b6d667
Many things:
...
1) General code clean-up in convar manager
2) Fixed bug where convar handles were not being cached for pre-existing convars
3) Fixed bug where a convar's old value and new value were switched in the ConVarChanged hooks
4) Made convar and concmd listings more consistent, I think
5) Alphabetized convar listing
6) Minor clean-up in event manager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40588
2007-03-06 23:59:25 +00:00
Scott Ehlert
70ec3db66c
Commands with the same name as an existing convar can no longer be created
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40585
2007-03-06 06:15:19 +00:00
Scott Ehlert
dbb74a612d
Creating/Firing/Canceling events now use CStack to avoid the need to use new when possible
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40583
2007-03-06 04:50:30 +00:00
Scott Ehlert
68f40e96f2
Initial import of event stuff: Natives to hook and fire game events
...
Also made some minor internal changes to convars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40582
2007-03-04 04:05:03 +00:00
David Anderson
0d1746ba60
added versioning to plugins
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40578
2007-03-03 08:51:47 +00:00
David Anderson
791cbc985f
added entity functions and stocks for send props
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40567
2007-03-02 19:11:04 +00:00
David Anderson
66b244011e
added ThrowError() a la amxmodx's abort()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40566
2007-03-02 19:10:44 +00:00
David Anderson
de588c77b9
added state change function
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40564
2007-03-02 08:34:13 +00:00
David Anderson
ec62fb6892
added initial private offset functions
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40563
2007-03-02 08:00:45 +00:00
David Anderson
bbb373297f
fixed some bugs with edicts and players
...
added classname retrieval functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40562
2007-03-02 01:56:56 +00:00
David Anderson
a0ae2a5b16
added a few new entity natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40561
2007-03-02 01:21:43 +00:00
David Anderson
16eab8a091
internal reorganization
...
renamed edict to entity where appropriate
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40560
2007-03-02 00:52:55 +00:00
Borja Ferrer
7ebe3f33cd
initial implementation of message hooks
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40558
2007-03-01 22:49:08 +00:00
David Anderson
9e98944097
split sourcemod.inc into clients.inc and fixed some bugs
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40551
2007-02-27 23:39:30 +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
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