Commit Graph

185 Commits

Author SHA1 Message Date
David Anderson
04354a809c Fixed FindTeamByName using wrong case sensitivity (bug 3446, r=pred). 2008-11-29 23:28:28 -06:00
David Anderson
3cf30f5e62 Added filetest.sp to testsuite. 2008-11-29 22:44:11 -06:00
David Anderson
7ff0129f36 Fixed ReadFileString ignoring fourth parameter (bug 3459, r=ds). 2008-11-29 22:43:30 -06:00
Matt Schubert
f164419baa Fixed hsay/tsay not checking for in-game players 2008-11-29 18:49:10 -05:00
David Anderson
bac975331d Merge from sourcemod-1.1. 2008-11-29 16:28:50 -06:00
David Anderson
dcccfbd26a Fixed sm_sql_addadmin reading the immunity field as a password (bug 3395, r=pred). 2008-11-29 16:27:52 -06:00
Matt Schubert
4baf847062 Fixed hsay/tsay not checking for in-game players 2008-11-29 13:16:33 -05:00
Matt Woodrow
f85bb7e490 SourceMod now handles steamid's internally without the STEAM_*: part (bug 3428) 2008-11-25 19:13:08 +13:00
Matt Woodrow
321443450a SourceMod now handles steamid's internally without the STEAM_*: part (bug 3428) 2008-11-25 19:10:52 +13:00
Scott Ehlert
ff7a2c6b73 Added preliminary support for Left 4 Dead; some things may not yet work. 2008-11-14 09:18:30 -06:00
Scott Ehlert
c1c5d2656c The replicate and notify parameters for SetConVarX and ResetConVar are now ignored on Orange Box.
- OB engine automatically replicates and fires server_cvar event notification for changes cvars.
- Added a note about this in comments for affected natives.
2008-11-12 23:14:49 -06:00
David Anderson
a04521b55a Fixed "nextmap" command being spammable (bug 3391, r=pred). 2008-11-05 21:02:07 -08:00
David Anderson
c8b3c82a12 Moved structs.inc out of plugins\include.
--HG--
rename : plugins/include/structs.inc => extensions/structs/structs.inc
2008-11-01 00:02:53 -07:00
David Anderson
b3b972caf7 Fixed missing semi-colon in sdktools_stocks.inc (bug 3376). 2008-10-31 08:38:44 -05:00
David Anderson
c25017e1a4 Fixed basechat not checking client in-game status for display center text (bug 3372). 2008-10-31 08:35:27 -05:00
Matt Woodrow
7b8cd751e1 I should get more sleep. 2008-10-19 17:44:19 +13:00
Matt Woodrow
849c4a70ae And again with the build breaking.. 2008-10-19 17:37:21 +13:00
Matt Woodrow
c231375e19 Mergesaurus Rex 2008-10-19 17:28:45 +13:00
Matt Woodrow
4e88a5a431 Updated rockthevote to use new OnClientConnected forward (bug 3311) 2008-10-19 16:18:22 +13:00
David Anderson
a6579c7bcb Added new OnClientConnected callback with correct pairing intent (bug 3311, r=pred). 2008-10-18 22:14:13 -05:00
Matt Woodrow
07cbe39552 Updated basetriggers to use more translation friendly phrases (bug 3330, r=dvander).
Basetriggers now counts rounds remaining for mp_maxrounds output.
2008-10-16 10:54:23 +13:00
Matt Woodrow
4a1c565b62 Updated rockthevote to use new MaxClients variable 2008-10-15 20:42:47 +13:00
Matt Woodrow
32f9c46424 Struct Test should compile now 2008-10-15 20:42:26 +13:00
David Anderson
2f36e3b231 Deprecated SQL_ConnectEx for SQL_ConnectCustom, which expresses the API intent better (bug 3307, r=pred). 2008-10-13 01:13:39 -05:00
Matt Woodrow
b7a2f221f2 Fixed a couple of plugin errors with third party mods (bug 3305) 2008-10-09 20:18:16 +13:00
Matt Woodrow
ed75da0f85 Reworked unavailable nominations showing in the menu (bug 3269)
Fixed a non-const String in mapchooser.inc
2008-10-09 14:24:30 +13:00
Matt Woodrow
7009e755fe Backed out changeset: 44b02986c01b
Damn you tortoisehg
2008-10-09 13:33:47 +13:00
Matt Woodrow
bba2cfc6f7 Structs now builds for the old engine (bug 3286) 2008-10-09 13:24:44 +13:00
Matt Woodrow
759c76e188 Maps nominated by owner=0 should not be replaced. Fixes sm_nominate_addmap only allowing a single map to be added (bug 3272) 2008-10-08 21:02:01 +13:00
Matt Woodrow
db5a0be4ca Backed out changeset: 19331eae67ad 2008-10-08 20:59:56 +13:00
Matt Woodrow
29e57e77f7 Maps nominated by owner=0 should not be replaced. Fixes sm_nominate_addmap only allowing a single map to be added (bug 3272) 2008-10-08 20:58:25 +13:00
David Anderson
f50c7469ca Added MaxClients public var to replace GetMaxClients (bug 3283, r=pred).
This is a hard bump of the plugin version number.  1.1 plugins compiled against this include set
will not run against earlier versions of SourceMod.
2008-10-05 15:20:17 -07:00
David Anderson
04b7b7b9ff Removed pointless performance warning. 2008-10-04 12:59:21 -07:00
David Anderson
2534fd1ce2 Fixed reverse order of evaluation in mapchooser causing an invalid handle read (bug 3290, r=bl4nk). 2008-09-30 22:45:26 -07:00
David Anderson
b016623fb5 Removed debug spew left in adminmenu.sp. 2008-09-28 15:38:32 -07:00
Matt Woodrow
49d14111e2 Fixed mapchooser not starting a vote if RTV result is "Don't change" (bug 2734, r=bl4nk). 2008-09-27 21:46:07 -07:00
David Anderson
31a4f40c9a Merge. 2008-09-23 01:17:40 -05:00
David Anderson
4001b0f804 Various chat commands now follow sm_show_activity (bug 2080, r=pred).
Added FormatActivitySource() native to assist in emulating ShowActivity().
2008-09-23 01:17:15 -05:00
David Anderson
a838276ec2 Changed functag syntax so public keyword is in the normal place. The old style is still allowed. 2008-09-21 14:56:38 -07:00
Matt Woodrow
4517031861 Updated randomcycle to use the Nextmap API 2008-09-21 14:20:01 +12:00
Matt Woodrow
46095d797c Merge 2008-09-18 15:33:50 +12:00
Matt Woodrow
5687a7ba90 Added Struct Abstraction extension (bug 2666 and bug 2663)
--HG--
rename : extensions/structs/structs.txt => gamedata/structs.gamedata.txt
rename : extensions/structs/structs.inc => plugins/include/structs.inc
rename : extensions/structs/structtest.sp => plugins/testsuite/structtest.sp
2008-09-18 15:32:22 +12:00
David Anderson
556c03babf Added CreateDirectory() native and a few permissions macros (bug 3253, r=ds). 2008-09-17 02:07:19 -05:00
David Anderson
fb44b51d26 Updated version files so I can build again. 2008-09-14 22:16:35 -07:00
David Anderson
bcf1b092ae Mirrored buildbot/version template changes from branch.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402539
2008-09-14 06:13:25 +00:00
Matt Schubert
d707ea0de5 Fixed amb1929 - Banning via console should now work properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402533
2008-09-12 20:36:53 +00:00
David Anderson
4951dccded Fixed amb1927 - client command case sensitivity did not match the server's logic.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402483
2008-09-02 03:58:34 +00:00
Matt Woodrow
05c8681336 Couple of small mapchooser tweaks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402477
2008-08-27 01:45:10 +00:00
Matt Woodrow
bf5ee181fa Removed a few debug messages from mapchooser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402476
2008-08-27 01:00:01 +00:00
Matt Woodrow
094acb1039 Fixed amb1957 - Mapchooser now counts arena rounds correctly.
Fixed amb1925 - Mapchooser countly rounds incorrectly during an RTV
Fixed amb1920 - Cleared retry timer
Fixed amb1921 - Cancelling a vote now marks the vote as complete

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402475
2008-08-27 00:49:56 +00:00
David Anderson
f6b088c2e6 Fixed amb1928 (EndOfMapVoteEnabled should be optional).
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402462
2008-08-15 17:21:48 +00:00
Matt Woodrow
95aca7b61b Fixed amb1924 - Nextmap command now checks if end of map voting is enabled
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402441
2008-08-10 05:39:25 +00:00
Matt Woodrow
eee77228e6 amb1919 - HasEndOfMapVote finished should be separate from determining if the vote will run at all.
amb1915 - Mapchooser should disable round end changes if forced to change early.
amb1901 - Timer errors with mapchooser

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402439
2008-08-08 00:06:14 +00:00
Matt Woodrow
eaccf6f90b Fixed amb1918 - Ban menu should compare userids, not client indexes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402436
2008-08-07 23:16:16 +00:00
Matt Woodrow
401c6b445d Fixed amb1891 : Basechat didn't check for blank message in private say's
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402431
2008-07-30 08:08:19 +00:00
Matt Woodrow
ae7e5a6a4b Pending Map should no longer be shown when mapvotes are disabled.
Removed tf2 include from mapchooser.
Moved sm_setnextmap to mapchooser and made it block the end of map vote.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402427
2008-07-28 07:47:28 +00:00
Matt Woodrow
dad66c9204 Nextmap command (basetriggers.sp) will now show 'Pending Vote' if mapchooser is running, and the vote has not yet occured.
Few cvar description changes in rockthevote.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402423
2008-07-17 07:47:11 +00:00
Matt Woodrow
e64e2534eb Fixed amb1810 - Clientprefs no longer blocks load.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402418
2008-07-15 00:24:08 +00:00
Matt Woodrow
67e28d7475 Moved nextmap command into basetriggers.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402417
2008-07-13 07:01:54 +00:00
Matt Woodrow
c75d607a00 - Added ForceChangeLevel and Map History to nextmap api
- Changed base plugins to use new api
- Added sm_maphistory command to nextmap.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402413
2008-07-13 05:13:37 +00:00
Matt Woodrow
e1882f97a1 Added amb1826 - 'nextmap' command now attempts to obey 'sm_trigger_show' if available.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402401
2008-07-11 08:31:57 +00:00
Matt Woodrow
b1072d3b09 Fixed amb1838 - Mapchooser should not instantly start a new vote if the current one was cancelled (and caused a stack overflow)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402392
2008-07-10 01:11:51 +00:00
Matt Woodrow
53acb70260 Fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402382
2008-07-07 23:12:21 +00:00
Matt Woodrow
6ef4c4b3ad Fixed amb1828 - Not killing timers properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402381
2008-07-07 22:17:55 +00:00
Matt Woodrow
4ac38946f2 Fixed amb1815 - Custom admin menu wasn't escaping input
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402380
2008-07-07 22:11:49 +00:00
Matt Woodrow
6a834ffef7 Fixed requiring dependencies at the wrong time.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402366
2008-07-06 03:30:06 +00:00
David Anderson
0e1ae4d85b fixed amb1808 - KickClient() is delayed and does not crash -- KickClientEx() is the old functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402363
2008-07-06 00:45:26 +00:00
David Anderson
2cc809be0c fixed amb1748 - timeleft was spammable from console
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402359
2008-07-05 23:02:27 +00:00
Matt Woodrow
c67a3cd749 Nominations not blocking current map and excluded maps when used from console.
Removed error causing debug stuff from mapchooser.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402343
2008-07-04 22:54:14 +00:00
Matt Woodrow
4106620928 New mapchooser, rockthevote and nominations plugins finally ready. Removed the existing mapmanager stuff.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402313
2008-07-01 01:18:52 +00:00
Matt Woodrow
ac9b9f8c2a Removed DEBUG from admin-sql-threaded.sp (amb1780)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402312
2008-06-30 23:18:26 +00:00
Scott Ehlert
ac68a441ee All natives that use a recipient filter now actually validate the clients passed to them.
This includes StartMessage(), StartMessageEx() from Core as well as EmitSound(), EmitSentence(), and TE_Send() from SDKTools

(Warning: This may potentially cause a minor compatibility problem with plugins that don't check client validity before passing to these natives)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402252
2008-06-11 08:07:17 +00:00
Matt Woodrow
119592eefe Fixed typo in banning.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402251
2008-06-09 22:17:09 +00:00
Matt Woodrow
22aa6561b5 Added SetUserInfo command to sdktools.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402247
2008-06-09 07:12:32 +00:00
David Anderson
2c94b1268a phase0, new versioning. we don't use build numbers anymore except (VS_VERSIONINFO stays until phase 3 is done)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402242
2008-06-02 05:03:27 +00:00
Matt Woodrow
953da3f6e0 Fixed amb1734 - Escape characters are now enabled for the custom admin menu config.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402240
2008-06-01 22:24:11 +00:00
Scott Ehlert
076b5191c9 Removed TF2_GivePlayerWeapon() and TF2_EquipPlayerClassWeapons() stocks as they no longer work at all
The 'weapons' paramater in the TF2_SetPlayerClass() class is now ignored since it no longer works

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402237
2008-05-31 22:33:17 +00:00
David Anderson
c3492f0192 removed dynamicmenu folder -- everything is consistent now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402226
2008-05-31 07:57:33 +00:00
Scott Ehlert
d595e020cd Added #pragma deprecated to GetEntDataEnt() and SetEntDataEnt()
(these were already considered deprecated, but now the compiler will officially complain about them)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402225
2008-05-30 22:42:30 +00:00
David Anderson
81af704f58 added amb1715 - tracehull
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402201
2008-05-28 03:04:28 +00:00
Matt Woodrow
bff2b0a95d Added amb1665 and amb1381 - Added other map limits to 'timeleft' and handling of timeleft/nextmap console commands.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402195
2008-05-26 01:09:10 +00:00
Matt Woodrow
c9b320d645 Fixed amb1713 - The tiniest of tiny mixups in description orders.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402194
2008-05-25 20:50:11 +00:00
Matt Woodrow
29ee014a94 Quick build fix until my mapchooser changes are completed.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402192
2008-05-25 20:25:59 +00:00
Matt Woodrow
0a829027eb Fixed amb1663 - Dynamic Menu didn't use the ExitBack functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402189
2008-05-25 07:54:30 +00:00
Matt Woodrow
9c7249a1e9 Fixed amb1709 - Dynamic Menu selections not resetting on exit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402187
2008-05-25 07:44:58 +00:00
Matt Woodrow
d9357d5224 Fixed amb1454 - Nextmap broken on mods that use the scores usermsg differently to CS:S
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402185
2008-05-25 07:11:16 +00:00
Matt Woodrow
73a20de2ff Added server check to clientprefs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402184
2008-05-25 03:26:31 +00:00
David Anderson
2a11739e86 added amb1694 - FindCharInString()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402174
2008-05-24 05:02:35 +00:00
David Anderson
13cf254f08 how did i forget to commit this? sm_revote
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402171
2008-05-24 03:04:10 +00:00
David Anderson
40e0857a29 added a forward that helps prevent against race conditions in map config plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402162
2008-05-21 02:12:12 +00:00
David Anderson
d827c0fd2d added amb1685 - GetTickInterval()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402158
2008-05-20 05:39:37 +00:00
David Anderson
b2fbd9691d added amb1119 - sm_revote command
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402151
2008-05-17 05:12:52 +00:00
David Anderson
3342a84cf4 fixed amb1646 - implemented NetFlow_Both functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402149
2008-05-15 05:52:30 +00:00
Matt Woodrow
21359ea17e Fixed amb1657 - Server should see admin version of sm_who
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402148
2008-05-14 22:40:36 +00:00
David Anderson
a7cc2609e1 added amb1448 - duplicate admins are now combined rather than excluded
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402145
2008-05-14 05:31:14 +00:00
Matt Woodrow
c7dbacc134 Quick renaming
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402141
2008-05-12 08:56:24 +00:00
Matt Woodrow
d88ba02fde CLIENT PREFS ARE GO!!1!shiftone!!1!
Fully implemented amb734 - Including console interface and menu for clients to use.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402140
2008-05-12 08:06:47 +00:00
Matt Woodrow
35eb2f2ce5 A sad response to amb1655 - TF2_SetPlayerInvuln is broken and now removed.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402127
2008-05-08 23:43:02 +00:00
Matt Woodrow
394424c52f Moved mapchooser tf2 fix into trunk
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402112
2008-05-01 02:39:35 +00:00
David Anderson
62047b6d0d fixed amb1645 - command help typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402107
2008-04-29 15:14:50 +00:00