Commit Graph

738 Commits

Author SHA1 Message Date
David Anderson
ee7d75fcb9 added a menu parameter to the vote callback
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401277
2007-08-08 02:44:36 +00:00
David Anderson
8352ea6413 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401276
2007-08-08 02:30:03 +00:00
David Anderson
6d60bd8de2 - massive overhaul of the voting subsystem
- NOTE: menu API compatibility was COMPLETELY broken for C++!
- cleaned up various aspects of the menu API
- implemented new extended vote results callback
- extended the debug reporter a tiny bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401275
2007-08-08 02:27:10 +00:00
Phong Dang
2acb412f61 Fixed spelling typo for HintTextMsg.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401270
2007-08-06 00:22:38 +00:00
David Anderson
ccaa7c95f2 fixed crash in the text parser (amb718)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401266
2007-08-03 11:44:51 +00:00
David Anderson
70f22ab3ab implemented amb705 (you can now disable sounds per-menu)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401265
2007-08-03 11:40:21 +00:00
David Anderson
e37a7bcbbe fixed amb728 (menu sounds are now precached)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401264
2007-08-03 11:14:56 +00:00
David Anderson
01c0942ad2 fixed amb708 - render algorithm didn't draw descending pagination right
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401263
2007-08-03 11:08:12 +00:00
Scott Ehlert
005f49947a Implemented amb506 - plugin file name can now be used with "sm plugins unload"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401258
2007-08-02 17:41:59 +00:00
David Anderson
5a979b9090 fixed a regression bug from the message system changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401257
2007-08-02 17:33:10 +00:00
Borja Ferrer
5a612d22e5 added new block_message flag in the message system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401256
2007-08-02 00:47:47 +00:00
David Anderson
b22f9d705e added sound option for normal "exit"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401249
2007-08-01 17:51:38 +00:00
David Anderson
0f410208de sanity check
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401244
2007-08-01 06:30:38 +00:00
David Anderson
2bd5170e33 stupid gcc... what is it with you and newlines (fixes linux build)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401238
2007-08-01 02:18:19 +00:00
David Anderson
38ddbb37b9 updated more header files (mostly internal now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401237
2007-08-01 02:12:47 +00:00
Borja Ferrer
b0a96e69c1 added amb567, new OnAllPluginsLoaded forward
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401227
2007-07-31 22:34:52 +00:00
David Anderson
b0e107bdfb added amb704 (menu sound support)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401226
2007-07-31 18:56:55 +00:00
Borja Ferrer
4a6a016790 added amb441, vguimenu and hinttext natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401224
2007-07-30 23:16:58 +00:00
David Anderson
2f3c518eb1 fixed a bug where extensions were forwarded their unload call AFTER being dropped as an identity
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401208
2007-07-29 01:05:58 +00:00
David Anderson
76c34cc268 fixed a bug where the database manager removed itself from the plugins listener
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401207
2007-07-29 01:05:11 +00:00
Phong Dang
f2630470c4 Fixed AskPluginLoad would still allowed plugin to load even if it returned false.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401206
2007-07-29 00:26:18 +00:00
Phong Dang
eb0de8dad9 Fixed infinite loop when using SetArraySize() or 2nd parameter of CreateArray().
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401204
2007-07-28 20:01:30 +00:00
David Anderson
9d7db20b96 fixed a bug where HandleSecurity was not initialized properly for the datapack natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401199
2007-07-27 21:00:50 +00:00
David Anderson
1154b20fc9 added a new function to ILibrarySys
added define in SDK for LIBRARYSYS

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401198
2007-07-27 18:24:09 +00:00
David Anderson
fa07c9d8a2 exposed DataPack Handle type
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401197
2007-07-27 15:45:15 +00:00
David Anderson
d8b18c91a0 fixed a small crash bug when unloading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401171
2007-07-25 04:32:54 +00:00
David Anderson
1027d151e5 - added MenuAction_DisplayItem callback for plugins
- fixed various bugs in MenuAction_Display
- added an "access" parameter for IMenuManager.  better to do this now than later, even though it's not used yet
- hard bumped menu api to change the OnMenuDisplayItem callback.  sorry!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401169
2007-07-25 01:18:11 +00:00
David Anderson
39f7d51747 added amb403 (sm_reloadadmins)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401168
2007-07-24 22:20:58 +00:00
David Anderson
48d71cae26 finished a(nother) rewrite of how players authenticate. name-based authentication has been added and passwords work fully now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401167
2007-07-24 20:11:47 +00:00
David Anderson
9ef04b07e7 added password support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401166
2007-07-24 17:05:46 +00:00
David Anderson
9c44d29b23 fixed a small bug in GetArrayCell/PushArrayCell that caused cell/char to be swapped
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401165
2007-07-24 15:07:38 +00:00
David Anderson
c3cd2ac4a3 added amb670 (exposed IDBThreadOperation to extensions)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401163
2007-07-24 02:24:37 +00:00
David Anderson
8fa974961c initial import of adt array natives for amb576
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401162
2007-07-24 01:18:28 +00:00
David Anderson
30b475ef35 fixed bug amb659 (unloading parent extensions)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401156
2007-07-23 20:20:45 +00:00
Scott Ehlert
8b758a079a No comment worth mentioning for this one :x
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401155
2007-07-23 19:38:02 +00:00
Scott Ehlert
416752a0cc Fixed another issue with crashing on exit in relation to convars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401154
2007-07-23 19:34:26 +00:00
David Anderson
172b3e8ab8 new jit api versioning scheme for amb398
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401153
2007-07-23 19:12:54 +00:00
Scott Ehlert
b4ba442d3c Oh, forgot this - added some missing code for SourceMM 1.5 version of rev 1151
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401152
2007-07-23 18:56:20 +00:00
Scott Ehlert
b372d50f3c Fixed amb660 - crash on exit when handles were created for convars that belonged to Metamod:Source plugins (or SM extensions that were loaded as MM:S plugins)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401151
2007-07-23 18:30:02 +00:00
David Anderson
54c3e17a14 fixed amb664 - BOM markings were not properly ignored
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401149
2007-07-23 17:25:18 +00:00
David Anderson
ee6f4cb1fa fixed amb658 - timer_flag_no_mapchange conflicted with simulated ticking
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401148
2007-07-22 16:01:01 +00:00
David Anderson
1a65cc5934 oh no, missing license header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401147
2007-07-22 02:01:18 +00:00
Scott Ehlert
d7512156e8 Fixed amb667 - Forward called twice when returning Plugin_Stop in ET_Hook
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401146
2007-07-21 21:48:26 +00:00
Scott Ehlert
5de1cc57ce Fixed amb663 - crash when say or say_team command had no arguments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401145
2007-07-20 07:31:09 +00:00
David Anderson
59f47dfd17 fixed another translator cache issue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401140
2007-07-19 03:22:10 +00:00
David Anderson
c4a913231a fixed various memory relocation corruption bugs in the translator
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401139
2007-07-19 02:08:42 +00:00
David Anderson
3fdc205544 - changed TextMsg to return a bool
- fixed a bug where you couldn't send messages from post hooks
- added protection in functions which expect StartMessage to succeed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401138
2007-07-19 00:34:44 +00:00
David Anderson
0069612c95 fixed a serious corruption bug in fastlink causing menus to corrupt memory after a while
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401137
2007-07-18 06:20:00 +00:00
Scott Ehlert
387ac70d1e Fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401131
2007-07-16 04:22:16 +00:00
David Anderson
4ce48512b1 - added callbacks for libraries becoming available
- fixed MarkNTVOptional requring native to exist
- fixed a bug where it looks like plugins could not be paused

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401130
2007-07-16 02:06:02 +00:00
David Anderson
399fb8a8e8 fixed a bug where __pl_*_SetNTVOptional could not be called
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401129
2007-07-15 22:34:30 +00:00
David Anderson
a80d38f799 - reloading now refreshes weak native binds
- fixed a crash bug when unloading a plugin being pointed to by weak ntvrefs in another plugin

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401128
2007-07-15 21:29:49 +00:00
David Anderson
430e63d6cd fixed crash bug when unloading a plugin with a weak ntvref
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401127
2007-07-15 20:27:11 +00:00
David Anderson
d218f638b1 added api to walk cmd list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401125
2007-07-15 18:51:25 +00:00
Scott Ehlert
1b4b16af47 Fixed loonix build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401119
2007-07-15 03:07:58 +00:00
Borja Ferrer
fe8ebeae89 added amb292, optional natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401118
2007-07-15 01:04:34 +00:00
David Anderson
68901b71d2 added craaaaazy debugger so we can get full minidumps
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401117
2007-07-14 17:36:11 +00:00
David Anderson
1f919c1f09 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401116
2007-07-14 04:15:08 +00:00
David Anderson
12696fc289 fixed amb477, textparser_smc crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401115
2007-07-14 02:06:42 +00:00
David Anderson
c33c27391f added amb622, TIMER_FLAG_NO_MAPCHANGE
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401114
2007-07-14 01:55:15 +00:00
David Anderson
9c531423fb added request amb588 - language info embellishment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401111
2007-07-14 01:04:15 +00:00
David Anderson
e8d5bf9521 added request amb579 - ShowActivityEx()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401110
2007-07-14 00:47:30 +00:00
David Anderson
f2194aa2d9 fixed amb582 - private triggers getting fired twice
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401109
2007-07-14 00:35:08 +00:00
David Anderson
d4f2d30332 tquery now fails on nonts drivers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401107
2007-07-13 20:27:21 +00:00
David Anderson
c7c7fed3d5 fixed a bug where failed TConnects would have no error message
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401106
2007-07-13 19:57:01 +00:00
David Anderson
560ff04a4d fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401105
2007-07-13 19:47:10 +00:00
David Anderson
8a3b34bcdc added missing headers for priority queue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401104
2007-07-13 19:43:02 +00:00
David Anderson
cbb2546453 initial import of threaded sql functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401102
2007-07-13 19:20:12 +00:00
David Anderson
41aa77314d fixed a bug where threader wasn't exposed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401100
2007-07-13 17:26:32 +00:00
David Anderson
215a5b49bc fixed linux build for pthreads
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401097
2007-07-12 16:59:08 +00:00
David Anderson
529933739d - added callback functionality to IThreadWorker
- added exposure of IThreader to sample sdk

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401096
2007-07-12 16:57:26 +00:00
Borja Ferrer
8a8e6ef594 added experimental optional natives (part 1)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401095
2007-07-12 02:57:43 +00:00
Scott Ehlert
5b8ffc08eb Fixed minor issue with sm_trie_add where memory was being read beyond the allocated boundaries
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401094
2007-07-10 08:21:24 +00:00
David Anderson
411f7693c3 - removed threader from version tracker
- replaced mutexes with critical sections for windows

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401093
2007-07-09 23:42:30 +00:00
David Anderson
b94de1dfae synced linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401091
2007-07-09 16:14:16 +00:00
David Anderson
b13e48ae0b added threader to core (not used yet)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401090
2007-07-09 16:10:23 +00:00
Scott Ehlert
984df35414 Fixed amb581 - reentrancy problems with Call_Finish()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401088
2007-07-09 06:03:04 +00:00
David Anderson
0756c18bea wrong name for setcmdreplysource
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401083
2007-07-08 20:08:15 +00:00
David Anderson
de2db4670f fixed windows build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401080
2007-07-08 19:02:27 +00:00
David Anderson
3f4158aa7e added support for escape characters in SMC files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401079
2007-07-08 18:43:13 +00:00
David Anderson
9a2fbe5f9f added requests amb565 and amb445
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401078
2007-07-08 18:00:35 +00:00
David Anderson
6dd0ff6b07 added amb577
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401077
2007-07-08 17:43:40 +00:00
David Anderson
f3566e6f4c cleanup of vector import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401076
2007-07-08 17:34:44 +00:00
David Anderson
c1190fe89d added vector stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401075
2007-07-08 17:33:10 +00:00
Scott Ehlert
da8399c870 Gameconfs now support descriptions to identify games with '!' at the beginning of the string
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401070
2007-07-08 09:34:20 +00:00
David Anderson
9400850d03 removed a message that could have been spammed on mods with only one platform binary
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401067
2007-07-08 04:38:07 +00:00
David Anderson
e87d5a0a6a fixed a small bug where trie replace didn't always work
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401066
2007-07-08 04:36:14 +00:00
David Anderson
a2617e5644 gameconfs can now inherit properly with a new trie replace function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401063
2007-07-08 03:17:29 +00:00
David Anderson
5743211846 removed errors on faulty gameconf sig finds - this sort of made partial inheritance awkward because an error could be thrown even if the signature was found later
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401060
2007-07-07 23:24:36 +00:00
David Anderson
904aceb435 fixed bug amb569
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401056
2007-07-07 18:24:02 +00:00
David Anderson
081620b1d3 added amb543
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401055
2007-07-07 18:17:49 +00:00
Scott Ehlert
cce60de20f Fixed bug where multiple "#default" sections in game config file would be ignored if the first section does not work for the running game/mod
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401049
2007-07-07 04:06:47 +00:00
Borja Ferrer
8bf7cb08f2 added a time stamp argument to FormatTime
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401047
2007-07-05 14:47:36 +00:00
Borja Ferrer
b80d04ba01 added amb449
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401043
2007-07-04 11:09:48 +00:00
David Anderson
d5dbffc6ab added amb505
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401042
2007-07-03 20:46:17 +00:00
David Anderson
17ac4f9331 fixed amb522
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401041
2007-07-03 20:22:39 +00:00
David Anderson
cb77ef5b7d fixed amb455
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401040
2007-07-03 20:16:40 +00:00
David Anderson
816bdc8102 added request amb515
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401039
2007-07-03 19:03:14 +00:00
David Anderson
8da18eefac updated linux makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401035
2007-06-30 16:50:13 +00:00
David Anderson
b649d60cb0 - added IADTFactory for sdktools
- updated sample extension and sdktools sdks

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401034
2007-06-30 16:43:11 +00:00
David Anderson
c19c607b14 fixed amb472
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401031
2007-06-27 01:55:18 +00:00
David Anderson
1915dd049e fixed a bug where improper event removals could cause a crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401028
2007-06-26 22:28:37 +00:00
David Anderson
37622cece6 fixed exec'ing from cfg literally
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401027
2007-06-26 20:10:36 +00:00
Scott Ehlert
3c809ae9b0 Made some things const in convar_sm.h
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401026
2007-06-26 19:29:24 +00:00
David Anderson
a3f7248990 cvar exclusion hack -- amb468
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401025
2007-06-26 18:34:06 +00:00
David Anderson
271a8b5b56 - sourcemod can now unload properly without crashing
- extensions now unload, dependencies are resolved

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401024
2007-06-26 17:08:07 +00:00
David Anderson
5e7b7589be PrintToChat/PrintToCenter natives will now break out of displaying if FormatString throws an error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401023
2007-06-25 23:14:24 +00:00
David Anderson
ca3d74be45 .txt is now assumed for LoadTranslations() when no extension exists
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401020
2007-06-24 21:38:02 +00:00
David Anderson
28d24a7f97 - renamed translation files from .cfg -> .txt
- renamed trans core file to core.phrases.txt
- renamed trans common file to common.phrases.txt
- added some backwards compat so this doesn't break everyone's plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401019
2007-06-24 21:14:06 +00:00
David Anderson
c5b593a275 added a bcompat hack to deal with upcoming .cfg -> .txt changes in core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401018
2007-06-24 21:04:20 +00:00
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