Commit Graph

604 Commits

Author SHA1 Message Date
Borja Ferrer
aec2160e84 added new reconnect client panel stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401419
2007-09-12 23:37:00 +00:00
David Anderson
2920ba897c - moved gameframe hook to timersys
- rewrote simulation algorithm
- various internal improvements to timer
- removed the unused parameter to GetTickedTime()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401418
2007-09-12 22:46:00 +00:00
David Anderson
dd824d2056 added a case where CreateTimer() can return INVALID_HANDLE
fixed two initialization bugs in TimerSys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401415
2007-09-11 18:16:25 +00:00
David Anderson
269c0f2877 fixed a few typos in sql-admin-manager and updated the immunity phrase
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401411
2007-09-11 12:29:58 +00:00
David Anderson
6aec628ab0 - completely overhauled the immunity system
- updated and reorganized database schema files
- changed config files to show new immunity rules
- updated sql-admin-manager so it can update+create tables
- added compile.sh file for building plugins in batch
- deprecated the old admin-cache immunity api relying on ImmunityType
- added a new sm_config table to the schema for storing version numbers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401409
2007-09-10 23:38:58 +00:00
Borja Ferrer
2ff0469648 added amb858 and amb924, some new KV natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401407
2007-09-10 18:03:06 +00:00
David Anderson
db3b9c2fa1 added amb923 - CheckCommandAccess() changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401405
2007-09-07 02:20:08 +00:00
David Anderson
08403e2b4a added more info and a usage warning to IsValidHandle()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401404
2007-09-04 21:38:27 +00:00
David Anderson
6bfac7ff26 clarified true/false
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401400
2007-08-31 21:23:42 +00:00
David Anderson
08ae85bdb3 added note about putinserver and steamids
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401387
2007-08-29 00:28:19 +00:00
David Anderson
aab0eeaa1e - implemented amb855 - LogAction()
- changed base plugins to use LogAction() where appropriate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401384
2007-08-27 02:00:37 +00:00
David Anderson
0dcd1edd56 added amb845 - reports custom flags now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401382
2007-08-26 20:04:01 +00:00
David Anderson
1b693c0351 fixed amb830 - basefunvotes.sp was named wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401381
2007-08-26 19:51:24 +00:00
David Anderson
ec8413193f added amb786 - sm_banip can take a user name, redid access permissions, and prevented a bad mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401380
2007-08-26 19:41:05 +00:00
David Anderson
d9866748f7 implemented amb843 - GetFileTime()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401376
2007-08-26 18:29:02 +00:00
Michael McKoy
b24a28d834 Fixed amb729, implemented amb778. Admin needs ADMFLAG_CHANGEMAP to use sm_setnextmap
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401372
2007-08-22 01:19:10 +00:00
Michael McKoy
4441de43f4 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401371
2007-08-22 01:18:17 +00:00
Michael McKoy
f70881d641 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401370
2007-08-22 00:58:47 +00:00
David Anderson
25f045bdea added helper function for panel text
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401367
2007-08-19 18:34:36 +00:00
Borja Ferrer
6a05c0925c added amb805, time formatting cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401365
2007-08-19 16:54:06 +00:00
David Anderson
1f04ba166a fixed bug amb795 - reservedslots could crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401357
2007-08-18 22:51:25 +00:00
David Anderson
874e3d6ed2 added crash notice about KickClient()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401352
2007-08-18 13:17:51 +00:00
David Anderson
ed5b455e8e max client name is more reasonable now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401349
2007-08-16 11:33:29 +00:00
David Anderson
a1acf91af7 - clarified GetMaxClients + OnPluginStart
- added a MAX_NAME_LENGTH define for player names

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401348
2007-08-15 23:09:13 +00:00
David Anderson
290f90a3a3 added FakeClientCommandEx() to solve a nasty re-entrancy issue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401344
2007-08-15 18:26:15 +00:00
David Anderson
4016c52a38 - removed some debug stuff
- committed msvc8 detection to sm_platform.h
- updated comments to FormatTime()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401340
2007-08-15 16:21:28 +00:00
Scott Ehlert
fd9ffeaf79 Ick again, fixed?
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401338
2007-08-15 08:08:42 +00:00
Scott Ehlert
90dd80f614 Ick, fixed builds
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401337
2007-08-15 07:42:51 +00:00
Scott Ehlert
a1009aed38 Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.

(This day shall henceforth be known as the Eighty Column Massacre of '07)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
David Anderson
99d9b96ec6 fixed a help text error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401333
2007-08-14 06:41:12 +00:00
David Anderson
b5df2dfb07 schema change (ugh) normalized immunity properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401332
2007-08-14 05:42:44 +00:00
David Anderson
309de7c510 initial import of simple sql admin management plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401331
2007-08-14 04:46:21 +00:00
David Anderson
e2e6ec777b added SQL_CheckConfig() so sql admin plugins can default back
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401330
2007-08-14 01:00:42 +00:00
David Anderson
86d5ccc3c4 initial import of threaded sql admin plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401328
2007-08-13 22:49:57 +00:00
David Anderson
c99ed2a8eb fixed another Handle leak in same
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401325
2007-08-13 18:41:11 +00:00
David Anderson
a8206db64e fixed a memory leak in sql groups prefetch
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401324
2007-08-13 18:39:02 +00:00
David Anderson
b8900e9cfe added data parameter to SQL_TConnect()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401323
2007-08-13 16:49:53 +00:00
David Anderson
6943dece87 initial import of sql admins prefetch plugin and associated table schemas
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401322
2007-08-13 01:46:58 +00:00
David Anderson
1458a48f13 admin plugin now reads overrides from separate file (but also admin_levels.cfg for backwards compatibility)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401320
2007-08-13 00:19:46 +00:00
Scott Ehlert
ac03126022 Added replicate and notify parameters to ResetConVar() - these were already available for SetConVarX()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401307
2007-08-10 09:16:58 +00:00
David Anderson
2a8d9a7aee flag letter assignment is now handled by core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401304
2007-08-10 04:53:30 +00:00
Michael McKoy
267f2bd60a VoteCancel_NoVotes implemented in vote plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401303
2007-08-10 01:07:07 +00:00
David Anderson
70cfc9395d MenuAction_Cancel now passes a vote cancellation reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401302
2007-08-09 23:45:33 +00:00
Michael McKoy
ddf6726f14 Vote plugin changes, added basefunvotes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401301
2007-08-09 23:34:53 +00:00
David Anderson
eedb308bab added amb739, SQL_ReadDriver()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401300
2007-08-09 20:06:42 +00:00
David Anderson
0adbf810b8 fixed silly design decisions in geoip that were copied over from amxmodx. natives now return true/false and the buffer is zeroed instead of filled with "ERROR"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401299
2007-08-09 19:48:46 +00:00
David Anderson
e6fa620ae2 added amb764, vote delay setting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401297
2007-08-09 19:05:34 +00:00
David Anderson
3cd3a0a8d6 added amb766 - GetMenuTitle()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401296
2007-08-09 18:25:00 +00:00
David Anderson
9588414f45 fixed amb769 (tag mismatch on MENU_ACTIONS_ALL)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401295
2007-08-09 18:19:23 +00:00
Michael McKoy
c8f03384cb oops, tag mismatch on MenuActionAll, forced tag for now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401293
2007-08-09 00:45:38 +00:00
Michael McKoy
cb8a6cddeb MENU_ACTIONS_ALL, lawls.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401292
2007-08-09 00:38:26 +00:00
Michael McKoy
87ba626fe5 Basevote changes based on testing and BAILOFEEDBACK
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401291
2007-08-09 00:31:45 +00:00
Michael McKoy
59687e802d Import of baseplugins.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401290
2007-08-08 23:45:24 +00:00
Michael McKoy
ba43b95d73 Base Votes import.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401287
2007-08-08 23:35:16 +00:00
Michael McKoy
3d26e26d52 Corrected filename in header of basefuncommands.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401286
2007-08-08 23:26:42 +00:00
David Anderson
ccbdfdbf2b fixed a parsing bug in admin-flatfile's group parser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401285
2007-08-08 23:04:48 +00:00
Michael McKoy
6b18b901ae You really should use your booleans right! sm_cancelvote fixed...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284
2007-08-08 21:46:44 +00:00
Michael McKoy
acfd5204d9 Switched to hinttext native and added sm_hsay back to non-CSS mods. Color is still CSS only.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401283
2007-08-08 21:32:39 +00:00
Michael McKoy
803f2122cf Added sm_cancelvote to the base commands, as well as appropriate translations.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401282
2007-08-08 21:32:06 +00:00
David Anderson
6da3335588 - added amb733 - running admin auth CheckSetAdmin
- fixed amb737 - reservedslots uses the new auth api
- fixed various FormatString() usage bugs in functions such as KickClient() and ServeRCommand()
- added API so sql admins will be fit into the whole system

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401279
2007-08-08 16:22:51 +00:00
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
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
Scott Ehlert
9d0c2ea4d8 Added #pragma deprecated to include files for deprecated functions and constants
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401274
2007-08-07 22:11:00 +00:00
David Anderson
082d9ecafe reverted change from r1124 that introduced a bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401269
2007-08-05 15:41:09 +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
Borja Ferrer
ea9933ed1a yay fixed comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401262
2007-08-03 01:58:34 +00:00
Borja Ferrer
2c36a434b3 added amb719, added TE hooks and read prop natives to read props before transmission
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401261
2007-08-03 01:53:00 +00:00
Phong Dang
8d1cb3d579 Fixed amb726 for StrCat.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401260
2007-08-02 23:11:07 +00:00
Phong Dang
e41d798f7a Fixed sm_trigger_show description.
Fixed sm_trigger_show in sourcemod.cfg being sm_timeleft_show.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401259
2007-08-02 23:01:20 +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
Borja Ferrer
a1e819f318 added id properties for teame06
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401253
2007-08-01 18:50:27 +00:00
Phong Dang
5c9f9dd7f0 Updated license header.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401251
2007-08-01 18:22:53 +00:00
Phong Dang
bf3c802e48 Fixed amb713, IsPlayerAlive native comment.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401250
2007-08-01 17:56:27 +00:00
Phong Dang
71245a441d Added check to make sure player are alive to perform sm_slap, sm_burn, sm_slay.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401247
2007-08-01 07:29:40 +00:00
Scott Ehlert
bcc798e165 Implemented amb584 - CGlobalEntityList support in SDKTools
Also added FindEntityByClassname native to start this off

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401246
2007-08-01 07:18:58 +00:00
Phong Dang
c611ba9ea5 Implemented IsPlayerAlive native.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401245
2007-08-01 06:55:55 +00:00
Phong Dang
15018176b5 Implemented requested amb603. Added voice natives.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401241
2007-08-01 04:17:36 +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
Borja Ferrer
d05a57fcba added amb595, eye position and angle natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401225
2007-07-31 02:08:25 +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
Phong Dang
5acdc40618 Fixed PrintCenterTextAll not accepting the small translation key.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401223
2007-07-30 20:26:18 +00:00
Phong Dang
9b86e7bdf6 Fixed sm_kick where it was not using decl safely.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401222
2007-07-30 19:10:46 +00:00
Phong Dang
c027b864fa Fixed sm_unban to allow quotes or no quotes around steamid. Remove the quotes around the steamid in the server command removeid.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401221
2007-07-30 18:45:55 +00:00
Phong Dang
4a6d80d73c Fixed sm_play to allow file with spaces. Also allowed file name to be in quotes or not.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401220
2007-07-30 17:27:30 +00:00
Scott Ehlert
43c39f509f fixed usage text for sm_play command
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401219
2007-07-30 04:55:35 +00:00
Phong Dang
8e5d8881df Implemented request amb684 for sm_play.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401218
2007-07-29 20:42:51 +00:00
Phong Dang
c01022585b Added amb<536> requested for using sm_kick without putting quotes around reason.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401217
2007-07-29 19:20:42 +00:00
Phong Dang
e7b39faea7 Removed the two minute ip ban from sm_ban. (Two people on same ip will result in both of them getting ban for two minutes. When you only meant to ban one of them.).
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401203
2007-07-28 02:10:11 +00:00
Michael McKoy
65dc62d818 basecommands.sp: Removed plugin.basecommands.txt, switched to FindTarget stock, and added a 2 minute IP ban to sm_ban to stop retry spammers.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401201
2007-07-27 22:30:05 +00:00
Michael McKoy
ead84293c8 Added basefuncommands.sp (Slay, Slap, Burn)
Moved all basecommands translations into common.phrases.txt

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401200
2007-07-27 21:27:56 +00:00
Michael McKoy
8556c6925d Adjustment to basetriggers.sp to stop sm_timeleft_interval from running when it shouldn't.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401195
2007-07-27 03:29:15 +00:00
Michael McKoy
201c35c501 Removed usage of basecommands translation file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401194
2007-07-27 00:35:39 +00:00
Michael McKoy
74e90db64d New phrase file standard, use xxxx.phrases.txt
plugin.basecommands.txt not changed at this time

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401193
2007-07-27 00:34:58 +00:00
Michael McKoy
b079ad448a Forgot one little change.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401191
2007-07-27 00:25:39 +00:00
Michael McKoy
bcad149712 Import of basetriggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401188
2007-07-27 00:24:04 +00:00
Michael McKoy
7c469fb517 Tested and ready for release
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401186
2007-07-26 23:56:55 +00:00
Michael McKoy
efe5f0d2fe Fully tested, ready for release
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401185
2007-07-26 23:52:19 +00:00
Michael McKoy
6b3a0c6a95 Now uses new FindTarget stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401184
2007-07-26 23:42:13 +00:00
Michael McKoy
9ddf5504ff Added FindTarget stock.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401183
2007-07-26 23:31:58 +00:00
Michael McKoy
a7d74f54cd Import for Bail's review
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401181
2007-07-26 22:41:13 +00:00
Michael McKoy
1cfbd3c4a3 Import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401180
2007-07-26 21:37:13 +00:00
David Anderson
78d054e077 added amb416 - SlapPlayer()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401175
2007-07-25 20:23:34 +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
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
78d6d2b6e2 amb608 (MakeVectorFromPoints)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401161
2007-07-23 22:25:32 +00:00
David Anderson
4527682421 added request amb638 (SetLightStyle)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401158
2007-07-23 21:51:22 +00:00
David Anderson
a57acce746 added amb444 - ForcePlayerSuicide()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401157
2007-07-23 21:01:58 +00:00
Scott Ehlert
921bf64df2 Fixed amb564 - sm_ban was not actually banning due to the client being kicked before the banid command was executed. Thus the userid used with banid was no longer valid. Changed this to ban via authid/steamid instead.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401150
2007-07-23 17:38:06 +00:00
Scott Ehlert
14cd175743 Fixed amb665
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401144
2007-07-20 06:21:43 +00:00
David Anderson
1919b97e92 fixed doc comment (:todo: fix non-pagination so these get drawn?)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401142
2007-07-19 16:27:14 +00:00
Borja Ferrer
4bf15ee0bd possible fix of amb537
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401134
2007-07-16 21:32:17 +00:00
Borja Ferrer
e620951ddc added amb359, admin help plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401133
2007-07-16 17:49:18 +00:00
Scott Ehlert
716233ec30 Fixed amb640 - GetServerLanguage() native mistakenly had client as a parameter
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401132
2007-07-16 04:25:00 +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
bf5a50b8c4 renamed "user" to "client"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401126
2007-07-15 18:55:13 +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
Borja Ferrer
d8ca563305 use decl please
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401124
2007-07-15 17:22:47 +00:00
Scott Ehlert
662e5673f7 Oops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401121
2007-07-15 07:48:15 +00:00
Scott Ehlert
a55ebc0c96 Partly addressed amb197 - added network string table natives to SDKTools
(Wow, I don't like this code)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401120
2007-07-15 07:44:17 +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
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
91a1e2faaa fixed bug amb513, comments not being removed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401113
2007-07-14 01:46:28 +00:00
David Anderson
ee05ac6cfb added amb372 (setview)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401112
2007-07-14 01:30:01 +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
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
22002778bb whoops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401099
2007-07-13 00:40:42 +00:00
David Anderson
1e455f59ad --HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401098
2007-07-13 00:38:54 +00:00
Scott Ehlert
8bca9a9b32 Replaced deprecated functions in helpers.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401089
2007-07-09 06:19:57 +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
Borja Ferrer
02cc2f6a74 added code for trace rays + natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401081
2007-07-08 19:39:19 +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
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
c0a869106f Wowzers
-Added support for CGameRules calls to SDKTools
-Changed some game names in sdktools.games.txt to descriptions

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401071
2007-07-08 09:46:27 +00:00
David Anderson
b3eb0d8631 small hack so knagg0's stuff can compile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401069
2007-07-08 05:20:54 +00:00
David Anderson
ce6950aee2 a few little changes to tempent stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401064
2007-07-08 03:17:55 +00:00
David Anderson
b0f5b985bb renamed TE_SendToOne to TE_SendToClient
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401059
2007-07-07 20:48:20 +00:00
David Anderson
f2ebf2f4b9 changed SOUND_FROM_PLAYER from -1 to -2 to maintain compatibility with SOUND_FROM_LOCAL_PLAYER
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401054
2007-07-07 17:51:29 +00:00
David Anderson
b5831fd263 added enginesound support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401053
2007-07-07 17:46:17 +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
3d7ef5ce49 added TE flags
added some @section stuff to inc files.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401046
2007-07-05 00:45:56 +00:00
Borja Ferrer
6e98ba7080 finalized TE setup stocks
added TE_SetEntDataFloatArray native to sdktools

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401045
2007-07-05 00:21:59 +00:00
Borja Ferrer
c67f00b1fc fixed amb532
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401044
2007-07-04 12:34:57 +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
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
Borja Ferrer
8749f537d4 initial import of the TE code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401037
2007-07-02 00:25:46 +00:00
David Anderson
761890b470 removed extensions from LoadTranslations() calls
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401033
2007-06-29 07:09:56 +00:00
David Anderson
25dc806a2e fixed bug amb462
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401021
2007-06-25 14:58:59 +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
5271043e92 - fixed SetEntDataArray being bogus
- fixed some comments

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401016
2007-06-24 18:56:58 +00:00
David Anderson
e52e896396 changed comment on MenuAction_DrawItem
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401013
2007-06-22 22:37:58 +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
3931a1283a tiny comment changes to halflife.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401009
2007-06-22 17:25:19 +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
102fa64a77 don't fix what isn't broken I guess :\ (Fixed reserved slots once and for all...)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401005
2007-06-22 04:35:27 +00:00
Scott Ehlert
db83c8e2d9 Fixed a million bugs in reserved slots plugin - should be perfect now (I hope)
Finalized KickClient native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401004
2007-06-22 03:43:00 +00:00
David Anderson
58eedf6226 bumped menu api again - added feature to get menu end reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401003
2007-06-21 23:06:37 +00:00
Scott Ehlert
4a82ce501b Not sure how I did this, but fixed KickClient include
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401002
2007-06-21 19:51:34 +00:00
Scott Ehlert
f5093ebf68 Reserved slots plugin uses KickClient native now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40999
2007-06-20 11:12:50 +00:00
Scott Ehlert
243d31b7a6 Added KickClient() native. This is so that the "Kicked from console" string doesn't appear in the disconnect reason.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40998
2007-06-20 11:06:58 +00:00
Scott Ehlert
546c471e2c Moved pragams above includes in plugins. Not too sure why.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40995
2007-06-20 08:51:40 +00:00
Scott Ehlert
f94d080183 Added basic reserved slots plugin, finally...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40994
2007-06-20 08:48:11 +00:00
David Anderson
7c63139574 - added amb379
- fixed a format bug in basecommands.sp
- added an any tag to Call_Finish()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40988
2007-06-18 17:20:12 +00:00
David Anderson
5dbcd90895 fixed bug amb418
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40987
2007-06-18 17:09:33 +00:00
David Anderson
a76f3eba97 A few sdktools functions now accept all entities and the Player versions are deprecated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40986
2007-06-18 17:02:42 +00:00
David Anderson
db5c7cdc80 added deprecation warning
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40985
2007-06-18 07:09:47 +00:00
David Anderson
254fc2557a - removed OnServerCfg in favor of OnConfigsExecuted
- added AutoExecConfig() which automates safe config execution

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40984
2007-06-18 07:04:22 +00:00
David Anderson
8437e8ee04 added request amb404
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40966
2007-06-16 21:56:12 +00:00
David Anderson
0b9447d986 added a few more natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40961
2007-06-16 18:27:23 +00:00
David Anderson
11ff381289 - added bool type
- added pointer support
- added three default natives
- added include file for sdktools
- cleaned up decoding api a bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40960
2007-06-16 18:03:05 +00:00
Scott Ehlert
a2a54f6000 Moved antiflood related phrase from core.cfg to plugin.antiflood.cfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40945
2007-06-15 21:03:34 +00:00
David Anderson
6acaaac769 added a hacky way to get NULL references
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40944
2007-06-15 20:23:40 +00:00
Scott Ehlert
6193ed8431 Convars with FCVAR_REPLICATED flag should now be replicated properly when sm_cvar is used.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40943
2007-06-15 06:31:12 +00:00
Scott Ehlert
28ae0b0d65 Added two new optional paramaters to SetConVar* natives for purpose of replicating convar value to client and/or notifying of convar change
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40942
2007-06-15 06:26:19 +00:00
David Anderson
2e3c61c849 SourceMod now does authentication in core; admin-auth gets removed. this has an added bonus that OnClientAuthorized reliably has whether an admin is validated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40936
2007-06-08 07:54:45 +00:00
David Anderson
e85a6d280f root can use sv_cheats now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40935
2007-06-08 06:31:46 +00:00
David Anderson
706b28cb64 added another unban command and added forwards for banning (amb369)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40933
2007-06-08 05:11:49 +00:00
David Anderson
48830e2c16 added request amb369, part 1
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40932
2007-06-08 04:40:40 +00:00
David Anderson
7b9b90e2a2 added sm_unban
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40931
2007-06-08 03:50:23 +00:00
David Anderson
0ceec15c5a - ShowActivity() now handles command usage confirmation
- added sm_ban
- fixed up various issues and bugs in basecommands.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40930
2007-06-08 03:38:57 +00:00
David Anderson
a5d17bbf6b - sm_show_activity is now protected
- added sm_who
- added GetCmdReplySource() for sm_who

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40929
2007-06-08 01:58:26 +00:00
David Anderson
de339cab8b sm_kick now uses targeting properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40928
2007-06-08 01:09:17 +00:00
David Anderson
ce9b783485 added sm_execcfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40927
2007-06-08 01:01:44 +00:00
David Anderson
3a02db6a1e added sm_cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40926
2007-06-07 23:48:51 +00:00
David Anderson
4066ab09eb added sm_rcon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40924
2007-06-07 21:36:24 +00:00
David Anderson
9da7a82af8 - added sm_map
- moved some translations into a new file

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40923
2007-06-07 21:24:29 +00:00
Scott Ehlert
d4bc20d32b Whoa, bug. Hopefully fixed PrintToChatAll and PrintCenterTextAll once and for all...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40921
2007-06-07 07:36:41 +00:00
David Anderson
63c5d05747 added profiler (windows only for now) and a benchmark script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40920
2007-06-07 07:29:55 +00:00
Scott Ehlert
f129a830b8 Added anti-flood plugin.
Added some missing includes to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40919
2007-06-07 07:22:19 +00:00
David Anderson
092c4e88e9 - initial import of the first admin plugin (woot! it has one command!)
- added ShowActivity() native
- added lang.inc to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40916
2007-06-07 06:17:57 +00:00
Scott Ehlert
ebf3afb35f Added SVN Id keyword to plugin headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40914
2007-06-07 06:08:16 +00:00
David Anderson
d19aa9f576 finished doc on SearchForClients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40909
2007-06-07 03:57:10 +00:00
David Anderson
877b604ce9 - added SearchForClients
- fixed versions and some header info in base plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40908
2007-06-07 03:45:44 +00:00
Scott Ehlert
7817602d75 Moved MAXPLAYERS define from sourcemod.inc to clients.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40907
2007-06-07 02:39:37 +00:00
Scott Ehlert
897135194b Moved FakeClientCommand from clients.inc to console.inc since it was also moved internally
Fixed internal buffer sizes in PrintToChat() and PrintCenterText()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40905
2007-06-07 02:26:06 +00:00
Scott Ehlert
95dee16788 Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40904
2007-06-07 02:04:05 +00:00
David Anderson
c843825e71 - added experimental (so far) support for SourceMod chat triggers
- added ReplyToCommand() for replying to triggers nicely

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40899
2007-06-06 22:16:15 +00:00
Scott Ehlert
bd15f93d7d Implemented amb370 - added PrintToChatAll stock
Also added PrintCenterTextAll stock

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40898
2007-06-06 20:51:17 +00:00
Scott Ehlert
96527c93dc Changed a few natives/stocks that should have used IsClientInGame() rather than IsClientConnected()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40897
2007-06-06 20:42:46 +00:00
David Anderson
1b6b0f6c5e added GetSysTickCount for benchmarking
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40892
2007-06-06 16:40:30 +00:00
David Anderson
13493fd7d5 exposed new voting features to plugins (MenuAction_VoteCancel, IsVoteInProgress)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40891
2007-06-06 06:33:57 +00:00
David Anderson
2ee18824e9 added vote functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40884
2007-06-05 16:44:19 +00:00
Scott Ehlert
6c17b9f37b - Added natives: PrintToChat() and PrintCenterText()
- Bit of reorganization with moving some natives from sourcemod.inc to halflife.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40879
2007-06-01 06:33:54 +00:00
Scott Ehlert
1ab452c897 Return values of GetNativeCell() and GetNativeCellRef() have been tagged as any. As a result GetNativeFloat() and GetNativeHandle() are now deprecated.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40878
2007-06-01 06:31:02 +00:00
David Anderson
eb54cbb4f5 fixed various bugs in the sql natives and manager
added a basic test plugin

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40875
2007-06-01 04:22:53 +00:00
David Anderson
e334e5f7e7 -initial import of database natives + config
-initial import of completed database layer
-CreateIdentity now requires a non-optional second pointer.  This breaks backwards compatibility for CreateIdentity(), however, this is not a function extension authors are supposed to be calling

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40874
2007-06-01 02:30:29 +00:00
Borja Ferrer
942c3acd8e spelling mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40857
2007-05-23 20:24:28 +00:00
David Anderson
fa1740734a added a notice to OnServerCfg about mods not supporting it
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40855
2007-05-23 17:56:47 +00:00
David Anderson
0e8ba9ed15 added RoundFloat and deprecated FloatRound
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40851
2007-05-23 15:49:28 +00:00
David Anderson
82c578f32d added request amb320
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40846
2007-05-23 02:26:43 +00:00
Scott Ehlert
220aec7789 Fixed param order in documentation for SplitString
Why? I don't know.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40845
2007-05-23 02:24:13 +00:00
David Anderson
caab299d3e Added request amb231 (OnPluginStart errors cause load failures)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40844
2007-05-23 01:59:58 +00:00
David Anderson
936337e54d added request amb293 - SetFailState
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40843
2007-05-23 01:44:00 +00:00
Borja Ferrer
f4390609b3 re-added old float rounding native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40842
2007-05-22 23:45:53 +00:00
David Anderson
5a50d8ca0a added string splitting, exploding, and imploding
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40840
2007-05-22 22:58:51 +00:00
David Anderson
0ef8935839 added ReplaceString and ReplaceStringEx (phew!)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40839
2007-05-22 20:50:48 +00:00
Borja Ferrer
e60940834b added floating point optimizations to the JIT
standarised a bit more x86_macros.h
some asm optimizations to bintools extension

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40837
2007-05-22 15:15:51 +00:00
Scott Ehlert
307181de8d Added TrimString() native
Renamed StrBreak to BreakString

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40836
2007-05-22 03:42:04 +00:00
David Anderson
a6f446d4ec removed unused param from GetEntDataArray
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40833
2007-05-21 17:16:15 +00:00
David Anderson
9549136e06 fixed this - of course, offset needs to be incremented (Set/GetEntDataArray)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40832
2007-05-21 17:14:45 +00:00
David Anderson
608a1f0d80 added request amb312
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40829
2007-05-21 02:13:47 +00:00
David Anderson
314e7097f8 added request amb285
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40828
2007-05-21 01:54:17 +00:00
David Anderson
459a9d41ba added request amb278
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40827
2007-05-21 01:28:38 +00:00
David Anderson
daceab19cd added key selection setting
fixed amb309

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40825
2007-05-21 01:11:37 +00:00
David Anderson
bee6b715b9 fixed a typo in an unusable stock (so our include parser won't choke)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40823
2007-05-19 22:19:27 +00:00
David Anderson
2cad3c3424 fixed capitalization on uint64 keyvalues natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40822
2007-05-19 21:36:14 +00:00
David Anderson
a55400b0ac include file cleanup
added semicolons where needed
replaced taglists with 'any' tag
added braces to one-line stocks

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40821
2007-05-19 21:21:55 +00:00
David Anderson
86344c06af invalid tokens removed from admin.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40820
2007-05-19 17:28:19 +00:00
David Anderson
e1fd0b6940 updated admin.inc's commenting style
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40819
2007-05-18 18:05:11 +00:00
David Anderson
0fb64f891d removed @brief syntax from early includes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40818
2007-05-18 18:00:35 +00:00
David Anderson
5d4693c6f9 added <menus> to sourcemod.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40817
2007-05-17 17:17:14 +00:00
Scott Ehlert
4ed2d6e515 Implemented amb296 - Added HookEventEx() which does not generate a runtime error if the event does not exist and returns false instead.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40807
2007-05-16 04:09:31 +00:00
David Anderson
be9c5e8675 fixed a comment typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40802
2007-05-15 02:13:07 +00:00
David Anderson
49369d07bc redid API yet again - IMenuHandler is now bound to an IBaseMenu instance
implemented MOST natives
removed broadcasting/voting handlers for the time being
fixed a crash bug in basecontext when i didn't obey the api
moved radio displays to a caching stack

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40796
2007-05-14 04:46:06 +00:00
Scott Ehlert
8a9b5b7d41 amb283 - Renamed IsPlayerInGame() to IsClientInGame()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40790
2007-05-13 07:48:36 +00:00
David Anderson
47e359d195 fixed typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40770
2007-05-12 02:14:12 +00:00
David Anderson
3493467771 small rewrite of how keyvalues iterator and get deleted. phew!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40759
2007-05-07 02:58:58 +00:00
David Anderson
2f14014f3f oops, how did this happen
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40758
2007-05-07 00:11:10 +00:00
David Anderson
e69edf05eb added amb260
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40756
2007-05-07 00:02:33 +00:00
David Anderson
67a0cdf1c3 added StrCat stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40755
2007-05-06 23:35:45 +00:00
David Anderson
eb5b94ec44 more string natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40754
2007-05-06 23:12:54 +00:00
David Anderson
7013072236 added request amb251
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40749
2007-05-06 06:15:48 +00:00
David Anderson
45d5518b11 these should be default as the comments imply so
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40731
2007-05-02 20:51:28 +00:00
David Anderson
a5c018724a added amb217 (server.cfg forward)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40729
2007-05-02 20:44:35 +00:00