David Anderson
2f3e46f8f8
added SetGlobalTarget() calls to anything that uses Format()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401017
2007-06-24 19:40:25 +00:00
David Anderson
493ee21c6d
fixed bug amb400
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401014
2007-06-24 01:45:33 +00:00
David Anderson
368432baf5
added MenuAction_DrawItem for changing how an item gets drawn
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401012
2007-06-22 22:37:22 +00:00
David Anderson
38f95fc63d
- added request amb426
...
- "Back" is now "Previous" and "Back" is used for ExitBack
- menu api got bumped again, but will be compat
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401011
2007-06-22 21:04:13 +00:00
David Anderson
efea4ebbcb
fixed amb424
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401010
2007-06-22 18:44:27 +00:00
David Anderson
97c5ff6b65
fixed a bug where the "keyOnly" parameter to KvGotoNextKey was read backwards
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401008
2007-06-22 17:24:48 +00:00
Scott Ehlert
aef5ba1d09
Implemented amb423 - Added IsClientObserver() native
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401007
2007-06-22 15:37:12 +00:00
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
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
b93aea922f
Changed "Player" to "Client" in error messages about clients (attempt at some sort of error message consistency)
...
P.S. Happy 1000 Revisions, SourceMod!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401000
2007-06-20 11:30:29 +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
6762b6c29f
This was a long time coming, but - renamed "sm convars" to "sm cvars"
...
This is sort of a consistency fix due to the "sm_cvar" command in basecommands.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40996
2007-06-20 08:54:26 +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
33b2d04e2d
fixed a bug where menu handler used wrong variable for param2 bitmask in MenuVoteEnd
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40983
2007-06-18 03:39:15 +00:00
David Anderson
e16d731d81
fixed a bug where linux did not read dladdr() return value right for gameconfs
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40979
2007-06-17 19:23:43 +00:00
David Anderson
ffc624fe54
fixed bug amb401
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40978
2007-06-17 18:48:46 +00:00
David Anderson
c5898044c1
Fixed a bug where the GameConfig file cache was not cleared once a file was fully closed
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40977
2007-06-17 18:26:34 +00:00
David Anderson
68d2f741cf
added extensive menu action logging
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40976
2007-06-17 18:06:03 +00:00
David Anderson
5b7d82570f
fixed a state bug in the gameconf parser that would break parsing after a signature section was done
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40975
2007-06-17 07:32:31 +00:00
David Anderson
1e1992482f
finally exposed IGameHelpers interface
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40971
2007-06-17 04:04:17 +00:00
David Anderson
9bd438d3bb
fixed a bug where only one signature per file would be parsed
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40970
2007-06-17 02:50:04 +00:00
David Anderson
35c13983df
fixed a bug when no one votes for a menu
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40968
2007-06-16 22:10:22 +00:00
David Anderson
8335aab394
fixed bug amb399
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40967
2007-06-16 22:04:46 +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
fe0d41198b
fixed bug amb402
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40965
2007-06-16 21:42:05 +00:00
David Anderson
29f36e2e3f
fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40957
2007-06-16 15:15:30 +00:00
David Anderson
c133002c14
added handle reading to GameConfigManager
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40955
2007-06-16 08:35:26 +00:00
David Anderson
b706a6990c
- moved gamedata out of "configs"
...
- added signature scanning to gameconfs
- renamed "*" to "#default" in gameconfs
- added new inheritance feature to gameconfs
--HG--
rename : configs/gamedata/core.games.txt => gamedata/core.games.txt
rename : configs/gamedata/sdktools.games.txt => gamedata/sdktools.games.txt
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40953
2007-06-16 05:42:16 +00:00
David Anderson
74a2a1498c
ShareSys::AddDependency now functions
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40947
2007-06-16 01:34:05 +00:00
Scott Ehlert
173037a0e9
Added -Wno-unitialized to makefile; this is usually the cause of pointless build failures
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40946
2007-06-15 21:40:09 +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
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
4b613ac5d5
fixed bug amb386
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40941
2007-06-15 03:16:08 +00:00
David Anderson
07d6a7d7ee
fixed bug amb395
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40939
2007-06-15 01:58:13 +00:00
David Anderson
86ec0aee32
added database file to linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40938
2007-06-15 01:29:28 +00:00
David Anderson
eee7c78342
fixed ipaddr lookup not working for admins
...
fixed a bug where steam-based auth could override ip auth
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40937
2007-06-08 16:14:22 +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
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
2463cf50bf
mispelled "phrase"
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40925
2007-06-07 22:26:38 +00:00
David Anderson
be6335c91a
Fixed bugs amb352 and amb274
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40922
2007-06-07 18:50:52 +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
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
David Anderson
a2dff5f7d0
- fixed a bug where translation parameters were simply not read right
...
- fixed some oddness about how SourceMod determines that a phrase does not exist
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40915
2007-06-07 06:16:38 +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
d79c0223c1
fixed a bug where GetAdminFlag could return false if a user had root
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40913
2007-06-07 05:53:50 +00:00
David Anderson
9f9b92ec43
fixed a bug where the console was not a valid loggable player from %L
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40912
2007-06-07 05:53:32 +00:00
David Anderson
c94e1f7a97
added %L format specifier for logging player info
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40911
2007-06-07 04:47:03 +00:00
David Anderson
30eb92174f
fixed the Windows build! (it's not too often we say that, eh)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40910
2007-06-07 04:08:34 +00:00
David Anderson
00e9d047c7
added sm_dump_handles command for tracking down Handle leaks... more to come someday
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40906
2007-06-07 02:36:54 +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
David Anderson
f6a1db7633
added say_team hooks
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40903
2007-06-06 22:37:36 +00:00
David Anderson
7ab88f2020
added config options for chat triggers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40902
2007-06-06 22:31:54 +00:00
David Anderson
1eb1072687
the "No Access" phrase now replies correctly from chat triggers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40901
2007-06-06 22:26:40 +00:00
David Anderson
c094ea1b22
added linux support to chat triggers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40900
2007-06-06 22:18:53 +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
Scott Ehlert
3a182c20b1
Plugin_Stop now works for event hooks
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40896
2007-06-06 20:03:35 +00:00
Scott Ehlert
db97cf2cc8
Fixed Linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40895
2007-06-06 18:38:23 +00:00
David Anderson
5193fe5a4e
- fixed a serious bug where %T arguments were read backwards (they now match the wiki documentation of phrase and then client)
...
- fixed a bug where the argument count for %T was not checked properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40894
2007-06-06 17:34:35 +00:00
David Anderson
8303b79ef7
fixed a crash bug in translation file loading where big files would reset the string cache and not update pointers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40893
2007-06-06 17:34:16 +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
6f4784e3d1
- vote menus now get cancelled properly (and get a new callback with it)
...
- added api for seeing if a menu is in a VoteDisplay
- fixed another item count bug
- removed some cruft from the vote handler header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40890
2007-06-06 06:27:47 +00:00
David Anderson
749f2a2ce7
fixed inheritance not being used in the base menu style when removing clients from the watch list
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40889
2007-06-06 06:04:16 +00:00
David Anderson
92e8b40b99
fixed a bug where votes could potentially select a completely invalid item
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40888
2007-06-06 06:02:43 +00:00
David Anderson
465a3962cb
yet again
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40887
2007-06-05 18:27:31 +00:00
David Anderson
2a801d8c09
reverted bad change
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40886
2007-06-05 18:24:30 +00:00
David Anderson
a290cf6c1b
fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40885
2007-06-05 17:21:47 +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
David Anderson
aea69f5fe8
added experimental voting API
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40883
2007-06-05 16:27:45 +00:00
David Anderson
a3687d9258
databases now get separate handles for persistent connections
...
removed GetHandle from IDatabase
simplified IDatabase::Close
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40881
2007-06-01 21:26:52 +00:00
Scott Ehlert
3ed301e9af
Fixed builds *sigh*
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40880
2007-06-01 07:21:07 +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
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
Scott Ehlert
d461239e74
Fixed amb362 - convars could sometimes appear more than once in convar list
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40873
2007-05-31 21:35:33 +00:00
Scott Ehlert
d48e1f358e
Disabled RTTI in all MSVC project files - this has the side effect of reducing the size of some Windows binaries
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40871
2007-05-30 04:54:35 +00:00
David Anderson
11470d81ca
added new (somewhat experimental) mysql extension and finalized the API
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40868
2007-05-30 03:25:18 +00:00
Scott Ehlert
1dffe2e648
Fixed linux build *sigh*
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40867
2007-05-29 22:05:52 +00:00
Scott Ehlert
8bd6bf1b57
Implemented amb20 - 'sm plugins info' now shows when plugin will be reloaded
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40866
2007-05-29 20:18:53 +00:00
David Anderson
f48263b9d2
posted new IDBDriver API - no natives are implemented yet, MySQL extension coming very shortly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40864
2007-05-29 08:32:12 +00:00
David Anderson
be634bb027
- the handle system now lets you create HandleSecurity structs easier, but source compatibility is broken (using the old syntax wasn't really good C++ anyway!)
...
- fixed VM including PluginSys for some reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40863
2007-05-29 08:30:13 +00:00
Scott Ehlert
c1c293ccc4
Fixed amb324 - Client index of host was sometimes passed as 0 on listen server
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40862
2007-05-28 07:25:12 +00:00
David Anderson
ca3c8eb6b7
fixed a bug in the index-based linked list template which caused head or tail removals (but not both) to result in a corrupt link chain
...
additionally, fixed a bug where the list size was not maintained properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40860
2007-05-24 02:25:18 +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
196a665d51
implemented request amb302 (onservercfg and onmapstart are now called if a plugin is late loaded)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40854
2007-05-23 17:54:45 +00:00
David Anderson
60386df00f
fixed a bug where disconnected clients did not have their menus cancelled for radio style menus
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40852
2007-05-23 16:56:24 +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
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
4db651b4de
fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40841
2007-05-22 23:00:12 +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
Scott Ehlert
a5e3c79402
Wow, how did this go unnoticed:
...
Fixed ILibrarySys::GetFileExtension() and loading plugins without the "smx" extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40835
2007-05-22 03:39:18 +00:00
David Anderson
48cf71877b
fixed a bug where the menu watch processor removed the wrong index from its list
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40831
2007-05-21 05:00:38 +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
1049600e99
disallowed pagination of 1
...
fixed pagination setting bugs in valve style
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40826
2007-05-21 01:18:55 +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
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
6328445043
vm errors from dynamic natives will now be explained more clearly to the calling plugin
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40811
2007-05-16 21:53:47 +00:00
David Anderson
f3b3ca6b22
jit errors will now get passed upwards
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40809
2007-05-16 18:30:43 +00:00
Scott Ehlert
727e15b5a3
Yikes, fixed HookEventEx()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40808
2007-05-16 05:04:28 +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
c9bc46e770
core will now ignore missing natives starting with '@'
...
the compiler will now resolve aliased natives to single references and export '@' natives for each redundant entry
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40804
2007-05-15 04:59:24 +00:00
David Anderson
82e07a9bf0
fixed a visual spacer being added to radio menus when no control options existed
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40803
2007-05-15 02:23:12 +00:00
David Anderson
a03caa9120
fixed makefile for radio menus being excluded
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40801
2007-05-14 22:10:18 +00:00
Scott Ehlert
515be43896
Implemented amb286 - .smx extension no longer required with "sm plugins load"
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40800
2007-05-14 21:29:17 +00:00
Scott Ehlert
663906c60e
Fixed amb289 - Crash on SourceMod shutdown when hooking events as post in Linux.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40798
2007-05-14 06:45:27 +00:00
David Anderson
2af178229d
fixed linux build for menu natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40797
2007-05-14 04:48:03 +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
David Anderson
d1dea716a6
Added a re-entrancy check to Handles so the destructor won't fire twice in certain cases
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40795
2007-05-13 22:36:22 +00:00
David Anderson
0b45984017
changed IMenuDisplay/CreateDisplay to IMenuPanel/CreatePanel
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40793
2007-05-13 18:55:59 +00:00
Borja Ferrer
ae8b06194f
fixed bug in amb275
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40792
2007-05-13 17:23:42 +00:00
David Anderson
f76a2b4e07
finished radio menus
...
added a new item flag so radio menus could ignore disabled control items due to a bug where 0 is always white in Valve menus
fixed a bug where ClientPressedKey() did not account for the max page items in a style
fixed some pagination drawing bugs with control items
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40791
2007-05-13 17:12:16 +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
d417dea968
external menus time out now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40788
2007-05-13 05:59:06 +00:00
David Anderson
32a472fccf
exposed the interface since the API is almost stable
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40787
2007-05-13 05:53:36 +00:00
David Anderson
94c0783d5c
initial import of radio message - UNTESTED, DO NOT EVEN TRY LOL
...
added supported mods for radio messages into core gameconf
various internal fixes/improvements for menus
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40786
2007-05-13 05:51:30 +00:00
David Anderson
530a5aad80
fixed various linux compilation problems
...
added menus to the makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40784
2007-05-13 04:43:52 +00:00
David Anderson
d9b06e298c
some minor fixups
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40782
2007-05-13 04:41:10 +00:00
David Anderson
5aabd81406
moved a whole crapload of code into a BaseMenuStyle so I can keep my precious sanity
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40781
2007-05-13 03:38:36 +00:00
David Anderson
c07bfbe9bd
fixed some re-entrancy bugs
...
removed debug commands
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40780
2007-05-13 00:42:39 +00:00
David Anderson
0eae31dd4a
fixed this file not having our header
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40779
2007-05-13 00:19:05 +00:00
David Anderson
abb434f63a
fixed an issue with fastlink iterators not working right
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40778
2007-05-13 00:18:04 +00:00
David Anderson
e3b3d89bc8
test of properties
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40777
2007-05-12 23:50:04 +00:00
David Anderson
d7b2f9a721
behold with your eyes and view upon what are MENUS
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40775
2007-05-12 23:45:52 +00:00
David Anderson
e76b4cd255
whoa, added a new template function
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40773
2007-05-12 22:52:25 +00:00
Scott Ehlert
a11f687f2a
Oh, wow, removed some debug messages. Nice going DS.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40772
2007-05-12 04:49:40 +00:00
Scott Ehlert
a9abbed7dc
User message functions now fallback on IServerGameDLL::GetUserMessageInfo() if SourceMM was unable to get the message list for some reason.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40771
2007-05-12 04:47:58 +00:00
Scott Ehlert
1274c0b8bd
Fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40769
2007-05-11 20:00:29 +00:00
Borja Ferrer
4ae67c9213
added debug code for leak detection on plugins
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40768
2007-05-10 22:51:56 +00:00
Scott Ehlert
ec13f1b998
Fixed an issue where unloading and then reloading a plugin that creates convars would make it's convar list blank
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40765
2007-05-09 20:14:56 +00:00
Borja Ferrer
9d9369079a
fixed bug for amb266
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40762
2007-05-08 22:26:30 +00:00
Scott Ehlert
3851dc9243
Renamed err_max to maxlength. Yes, I am crazy.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40761
2007-05-08 00:21:44 +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
ca7ebffc8a
oops
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40757
2007-05-07 00:03:37 +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
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
ffe0867d1a
fixed amb254
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40753
2007-05-06 19:52:00 +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
Scott Ehlert
a994857444
Couple of random of things
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40747
2007-05-06 03:24:54 +00:00
Scott Ehlert
1205de4e67
Normal daily and error logs now use YYYYMMDD date format in their file names (like AMXX 1.8 will)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40744
2007-05-04 21:21:55 +00:00
Scott Ehlert
cc7a4904c5
Added missing return...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40743
2007-05-04 20:52:35 +00:00
Borja Ferrer
b91f1b21ba
fixed bug in amb249
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40742
2007-05-04 20:03:51 +00:00
Borja Ferrer
d8c7af77a3
exposed the sourcepawn and JIT interfaces with pointers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40739
2007-05-04 01:28:08 +00:00
David Anderson
01b0432776
changed LANG_ENGLISH to CORELANG_ENGLISH
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40738
2007-05-03 05:27:22 +00:00
David Anderson
44d1ea5f09
added LANG_ENGLISH define
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40737
2007-05-03 05:26:10 +00:00
Scott Ehlert
dc6a5fc4d9
This averted my eyes...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40736
2007-05-03 03:54:44 +00:00
Scott Ehlert
de9dc9ed99
Various pointless things of no importance:
...
- Renamed ISourceMod::GetModPath() to GetGamePath()
- Renamed ISourceMod::GetModFolderName() to GetGameFolderName()
- Various spelling corrections (why did I do this?)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40735
2007-05-03 03:45:53 +00:00
David Anderson
39110a7a51
added a translation helper
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40734
2007-05-02 22:49:28 +00:00
David Anderson
b8d3ea5196
attempted fix for amb243, timers now simulate ticks if gameframe doesn't give changed curtimes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40733
2007-05-02 22:35:51 +00:00
David Anderson
9219fbb96c
fixed a bug where KvJumpToKey did not obey the internal path stack
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40732
2007-05-02 21:00:13 +00:00
David Anderson
2489044d8b
oops, we can reference this implicitly now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40730
2007-05-02 20:46:21 +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
David Anderson
f498af0190
removed debug code
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40728
2007-05-02 20:30:29 +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
5c6ba68e4b
userid cache gets repopulated now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40726
2007-05-02 19:20:34 +00:00
David Anderson
4f66cfbf9f
fixed issue amb235
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40725
2007-05-02 19:14:26 +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
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
Scott Ehlert
1b5bcc4836
Fixed amb238 - BuildPath native didn't accept format arguments properly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40717
2007-04-30 18:02:28 +00:00
Borja Ferrer
ba17aafb8a
synced linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40716
2007-04-27 11:25:30 +00:00
David Anderson
d7cf6dbba9
fixed a bug where typedescription_t searching could crash
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40715
2007-04-27 01:51:34 +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
7ce1ef6ea1
Wow, how did I forget this - exported IMemoryUtils interface
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40708
2007-04-21 17:03:28 +00:00
Scott Ehlert
199d839122
Made libPtr param const. Doesn't get modified so why not.
...
Also removed some unneccessary code (for now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40707
2007-04-20 18:50:52 +00:00
Scott Ehlert
efa6067669
Basic signature scanning has arrived!
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40706
2007-04-20 18:32:33 +00:00
David Anderson
5811c5b29f
fixed a re-entrancy bug
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40705
2007-04-16 16:53:48 +00:00
Scott Ehlert
43856e7dc4
User message functions now use SourceMM 1.4's new API
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40704
2007-04-15 05:43:43 +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
Scott Ehlert
c8f507561c
Empty strings can now properly be passed via PushString and StringToLocal
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40701
2007-04-14 04:19:58 +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
f335c318bf
Fixed a bug where natives were not rebound on debug toggle
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40699
2007-04-13 17:18:41 +00:00
David Anderson
3f25c99653
fixed a corruption bug when toggling debug mode
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40698
2007-04-13 17:12:25 +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
Scott Ehlert
ab4f11e4f5
Fixed linux build... GCC likes to complain.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40696
2007-04-13 05:07:01 +00:00
David Anderson
f3da8efe10
fixed amb193
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40694
2007-04-12 20:18:24 +00:00
Scott Ehlert
7b74745ceb
CancelCreatedEvent actually does what it is supposed to do now...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40693
2007-04-12 19:49:49 +00:00
David Anderson
ccdddc16fb
fixed using newer engine functions on The Ship because Valve can't version properly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40691
2007-04-12 16:28:29 +00:00
Scott Ehlert
4e6834a7a4
Fixed amb190 - Crash with Mani's spawn protection and GetEvent (which exposed re-entrancy problems in EventManager)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40690
2007-04-12 07:51:05 +00:00
Scott Ehlert
3b8864193d
Fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40689
2007-04-12 02:16:09 +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
David Anderson
e3b3180099
moved another CBaseEdict helper to HalfLife2.cpp
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40684
2007-04-11 15:28:08 +00:00
David Anderson
c889515263
fixed amb186 (state changing crashes)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40683
2007-04-11 15:05:56 +00:00
Scott Ehlert
4c3d5673e6
Added VSP listening and a function to SMGlobalClass
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40681
2007-04-08 18:19:06 +00:00
David Anderson
b6e9922394
fixed a linux build problem
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40680
2007-04-07 04:01:24 +00:00
David Anderson
dee3a2b3cf
added some levelchange functions to SMGlobalClass to get rid of some messy crap
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40679
2007-04-07 03:58:20 +00:00
Scott Ehlert
a99089b518
Can't do anything right... removed debug message
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40677
2007-04-05 11:01:12 +00:00
Scott Ehlert
385a4408da
Oh. This variable was no longer used.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40676
2007-04-05 10:59:26 +00:00
Scott Ehlert
e677d5d5de
Various things:
...
- Fixed inline translations when using %T
- "Improved" caching of server language
- Renamed Translator::GetServerLanguageCode() to GetServerLanguage()
- Added some more comments to sm_globals.h
- Natives folder in project file mysteriously was moved inside Interfaces, so moved it back o_O
- DS hates empty if statements :o
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40675
2007-04-05 10:55:40 +00:00
David Anderson
58ad1932c2
added file headers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40673
2007-04-05 07:09:17 +00:00
David Anderson
7263533fe5
initial import of skeletal DBI code
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40672
2007-04-05 07:08:39 +00:00
David Anderson
eb006bb665
fixed various retarded errors
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40671
2007-04-05 05:45:35 +00:00
David Anderson
2cb7b5a06a
whoops
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40670
2007-04-05 05:28:44 +00:00
David Anderson
f93711bd82
changed the API around a bit to be more flexible
...
removed some ghastly unneeded stuff from the Translator
added Logger::LogFatal, experimental
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40669
2007-04-05 05:25:11 +00:00
Scott Ehlert
ddfe6d84d6
Ugh, initial import of core config file stuff
...
Warning: This is positively terrible code.
It works, but needs A LOT of work still :\
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40667
2007-04-05 03:02:00 +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
Scott Ehlert
22dd1ba592
Couple of quick things...
...
- Changed SourceMod logtag from SRCMOD to SM
- ConVars dynamically created by convar manager now can properly be set on srcds command line
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40663
2007-03-28 20:28:42 +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
5c7381f11a
synced linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40661
2007-03-25 21:18:50 +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
Scott Ehlert
bb92fc06a6
More consistency of some sort...
...
Oh god, what has possessed me to do this?
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40659
2007-03-22 21:50:20 +00:00
Scott Ehlert
5b3a3cef27
Made this more consistent or something...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40658
2007-03-22 21:12:17 +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
David Anderson
1bb6f90d2e
apparently I can't change a single line of code these days
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40655
2007-03-19 05:39:11 +00:00
David Anderson
ec0e0dca63
whoops, tee hee, broke OnClientAuthorized
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40654
2007-03-19 01:50:03 +00:00
David Anderson
c6c4de1f75
fixed a potential bug with kicking players during authorization
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40653
2007-03-19 01:44:09 +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
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
Borja Ferrer
6e78ac6302
fixed several memory leaks
...
fixed plugin listeners being removed before a OnPluginUnloaded Call_AskPluginLoad
removed some virtuality
all cached ptrs using the Stack system are freed now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40647
2007-03-17 00:55:46 +00:00
David Anderson
b89b932f15
fixed a bug where ReadFileLine could return true when no data was read
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40644
2007-03-16 22:38:24 +00:00
David Anderson
62bd9ee7f8
fixed various file operations using Path_SM instead of Path_Game
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40642
2007-03-16 22:09:07 +00:00
David Anderson
bb40b22125
fixed a bug where GetCmdArgString() would crash on 0 parameters
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40639
2007-03-16 20:10:34 +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
Borja Ferrer
d5ca9a3872
synced and fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40635
2007-03-16 18:05:47 +00:00
Scott Ehlert
c9f81b9b11
Changed this for the better...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40634
2007-03-16 18:02:00 +00:00
Scott Ehlert
ccc1dde76d
Fixed minor bug...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40633
2007-03-16 17:30:36 +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
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
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
David Anderson
dc9f6e405e
fixed two spelling mistakes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40623
2007-03-15 04:45:33 +00:00
David Anderson
2c70ec1a8c
refactored singleton class names
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40622
2007-03-15 04:45:17 +00:00
David Anderson
043b8f255f
removed const from most apis. it was pointless since there were no actual const pointers.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40621
2007-03-15 04:34:42 +00:00
David Anderson
0bbb4670fc
my easter egg. if you're wondering, this only took an hour.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40620
2007-03-15 04:23:46 +00:00
Borja Ferrer
df2d234b06
oh forgot to delete killed timers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40619
2007-03-14 15:32:28 +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
Scott Ehlert
62aa55b23b
Global forwards created after all plugins have been loaded now properly get filled with IPluginFunction pointers.
...
Added CPluginManager::AddFunctionsToForward() to help do this...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40617
2007-03-14 07:54:54 +00:00
Scott Ehlert
c4a677df79
Made this define consistent with AMXX
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40615
2007-03-14 02:58:12 +00:00
David Anderson
8867fb1ce7
fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40612
2007-03-13 05:55:58 +00:00
David Anderson
21ed05048f
dynamic native providers can now be unloaded safely
...
fixed an api naming typo :(
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40611
2007-03-12 20:40:30 +00:00
David Anderson
8e4a59a4e0
This assertion is no longer correct because of sm_trie_delete()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40610
2007-03-12 20:11:54 +00:00
David Anderson
b3d3b30855
updated Makefile to have all the .cpp files - we need to keep better track of this
...
various gcc whinings fixed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40609
2007-03-12 17:42:44 +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
David Anderson
7ab8e2027b
fixed spacing on headers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40606
2007-03-12 00:07:54 +00:00
David Anderson
2aa8810021
used a better error number
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40605
2007-03-12 00:06:20 +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
Borja Ferrer
95dcffc972
user messages tested and working
...
fixed some floating point casts
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40603
2007-03-11 19:26:47 +00:00
David Anderson
d8c02c294f
fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40602
2007-03-11 18:37:55 +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
Borja Ferrer
d51ea0695f
HAHA estoy usando el internet!!!11!
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40600
2007-03-11 03:25:28 +00:00
Borja Ferrer
f78b3fa086
rewrite of user messages
...
fixed possible iterator corruption
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40599
2007-03-11 03:04:39 +00:00
David Anderson
5b1f1d19c1
part 2 of singleton renaming
...
--HG--
rename : core/CGameConfigs.cpp => core/GameConfigs.cpp
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40598
2007-03-10 21:26:04 +00:00
David Anderson
749ddc8c15
part 1 of singleton renaming
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40597
2007-03-10 21:18:07 +00:00
David Anderson
5228c86e2c
reorganized this a bit
...
--HG--
rename : core/CMsgListenerWrapper.h => core/smn_usermsgs.h
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40596
2007-03-10 21:12:40 +00:00
David Anderson
38c94838b9
IPluginFunction implementation is re-entrant across native calls, as heap allocations are delayed until execution
...
removed ICallable::GetAddressOfPushedParam
removed phys_addr from ICallable::PushArray
fixed a bug where sp_context_t::n_idx was overwritten upon re-entrant calls
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40595
2007-03-10 21:02:40 +00:00
Borja Ferrer
f592744d87
NULL'ed this or something
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40594
2007-03-10 13:36:38 +00:00
Borja Ferrer
5fe8bed256
Added timer system implementation
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40593
2007-03-10 13:16:19 +00:00
David Anderson
bda756f3ff
fixed a really dumb bug - shouldn't compilers be checking this?
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40592
2007-03-10 05:52:51 +00:00
Scott Ehlert
949b83c99b
Reverted change where flags param was removed on PushCellByRef and PushFloatByRef. Instead set the param to a default value of SM_PARAM_COPYBACK. (DS, how dare you!)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40591
2007-03-07 18:37:41 +00:00
Scott Ehlert
dfed71eb28
Breakage alert :\
...
ThrowNativeErrorEx now returns 0 for convenience
PushCellByRef and PushFloatByRef no longer have a flags parameter because it was almost pointless
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40590
2007-03-07 18:24:09 +00:00
David Anderson
876e3da8e3
fixed the build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40589
2007-03-07 16:41:12 +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
e6a127ac17
Redid case on some error messages
...
Really minor things in EventManager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40587
2007-03-06 07:38:19 +00:00
Scott Ehlert
c256741488
Renamed CConVarManager to ConVarManager
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40586
2007-03-06 06:49:35 +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
ac9051ab71
Oh, this isn't needed anymore
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40584
2007-03-06 04:53:14 +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
ddfb56c34d
new versioning stuff
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40572
2007-03-03 07:50:01 +00:00
Borja Ferrer
4499f4df75
exposed the message interface
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40571
2007-03-03 00:56:01 +00:00
David Anderson
fd5c410153
aligned header spaces properly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40568
2007-03-02 19:11:29 +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
Scott Ehlert
9de900d3eb
Made this const for great justice
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40565
2007-03-02 09:15:54 +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
3b207f2cc9
implemented GetUserMessageName native
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40559
2007-03-01 23:44:27 +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
f7df18f6fd
fixed crash when gamedata is missing
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40557
2007-03-01 16:35:06 +00:00
David Anderson
124f9ba049
slight reorganization for future expansion
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40555
2007-03-01 04:18:23 +00:00
David Anderson
d893af2ea4
added keys to game config files
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40554
2007-03-01 03:58:18 +00:00
David Anderson
8d29b2c02e
initial import of game compatibility backend
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40553
2007-03-01 01:02:47 +00:00
David Anderson
3fec219433
fixed bug where Plugin_Handled didn't block commands
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40552
2007-02-27 23:51:38 +00:00
Scott Ehlert
5cccd9a242
Added hex format specifier (%X and %x)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40550
2007-02-27 21:30:04 +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
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
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
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
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
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
Scott Ehlert
e7759cabea
Initial fixes to ensure static strings passed to new convars
...
Also fixed minor warning in smn_bitbuffer.cpp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40517
2007-02-17 05:33:31 +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
Scott Ehlert
c91542fbe8
Moved this... for now
...
Also added missing header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40510
2007-02-16 07:48:38 +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
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
745375f393
added engine callclass
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40502
2007-02-15 20:35:17 +00:00
Scott Ehlert
06b9b09ea6
Plugin forwards for convar changes are no longer called if the new and old values are the same
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40500
2007-02-14 23:44:40 +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
Borja Ferrer
911a333957
updated makefile
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40497
2007-02-14 17:03:54 +00:00
Borja Ferrer
3287dc1442
forgot to add the headers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40496
2007-02-14 11:29:59 +00:00
Borja Ferrer
5fadb86664
removed debug code
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40495
2007-02-14 11:07:22 +00:00
Borja Ferrer
8f9a0706bf
improved data pack type checking
...
added readmemory member
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40494
2007-02-14 11:03:03 +00:00
Scott Ehlert
bb79b1e6a9
Removed convar stuff from CPlugin, now uses plugin properties for convar listing
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40493
2007-02-14 01:25:45 +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
Borja Ferrer
3b151e1790
new lines for linux
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40491
2007-02-13 16:39:47 +00:00
Borja Ferrer
1ff370b91d
initial implementation of data packs
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40490
2007-02-13 16:11:04 +00:00
Scott Ehlert
d5a7ba694c
Changed "sm cvars" to "sm convars" in the name of consistency I guess
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40488
2007-02-13 06:12:33 +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
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
ce7f2ae23b
More error message fix-ups: removed periods from single sentence native errors - did I miss any? Probably...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40476
2007-02-12 05:53:49 +00:00
Scott Ehlert
dd9b575853
Fixed up some error messages...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40475
2007-02-12 05:46:00 +00:00
Scott Ehlert
efff395182
Fixed Linux build...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40472
2007-02-11 11:20:38 +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
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
Scott Ehlert
09236c2d7a
Fixed native errors not being logged - hope I did this correctly...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40468
2007-02-10 10:38:23 +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
1300048946
Typo fix and removal of a semicolon in the name of consistency?
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40461
2007-02-08 04:56:08 +00:00