Commit Graph

4169 Commits

Author SHA1 Message Date
Valentin Grünbacher
34337fb959 Newmenus: Add Menu::Close to remove a bunch of redundant code 2014-05-21 18:51:55 +02:00
Valentin Grünbacher
6a4c55de7d Newmenus: Fire MENU_TIMEOUT on menuselect client command 2014-05-21 18:47:20 +02:00
Valentin Grünbacher
2e8ce87c23 Newmenus: Add MENU_TIMEOUT status code and pass it where necessary 2014-05-21 18:45:40 +02:00
Valentin Grünbacher
cd7cb8c1a8 Newmenus: Execute menu callback when old-style menu overwrites new menu
show_menu simply resets CPlayer::newmenu. The menu callback is never fired and the plugin never informed that the menu has been closed. This can result in leaking menu handles. Using "menuselect 10" on the client is not an appropriate solution because it is possible to construct newmenus that contain 10 valid items.
2014-05-21 18:17:09 +02:00
Freeman-AM
44b4ff6f05 Telemenu: Fix view_ofs not correctly set at teleportation 2014-05-21 00:59:48 +02:00
Freeman-AM
d3bae33c64 Telemenu: Plugin style compliancy 2014-05-19 14:03:31 +02:00
Freeman-AM
914ae9e0d1 Telemenu: Improve ducking feature
Apply ducking state on teleported player only when the teleportation point is saved by a ducking player.
This feature fix possibles errors that could happen with games that don't use crouch, like ESF, NNK...
And for game like Counter-Strike 1.6, this is more logic.
2014-05-19 13:52:21 +02:00
Scott Ehlert
7ae802d736 Fix compile.sh script for OS X. 2014-05-18 20:37:44 -05:00
Scott Ehlert
d83ec1810a Merge pull request #18 from alliedmodders/static-libstdcxx
Link amxxpc with static libstdc++ on Linux.
2014-05-18 19:04:43 -05:00
Freeman-AM
b3d1b49fab Telemenu: Switch format to formatex 2014-05-18 16:20:40 +02:00
Freeman-AM
a6e3b57848 Telemenu: Add charsmax in place of hardcoded buffer lengths 2014-05-18 16:11:13 +02:00
Freeman-AM
7007105150 Telemenu: Add the ability to save the view and use it during teleportation 2014-05-18 15:58:53 +02:00
Freeman-AM
9c93cd1283 Telemenu: Add the ability to teleport in crouched areas 2014-05-18 15:32:45 +02:00
Freeman-AM
d2f909981a Telemenu: Use of float version of origin natives instead of integer version 2014-05-18 15:23:40 +02:00
Scott Ehlert
aa00fc6f63 Trigger build. 2014-05-17 19:22:10 -05:00
Scott Ehlert
db001a6eb5 Sync changes from SourceMod's bootstrap script. 2014-05-17 16:37:12 -05:00
Scott Ehlert
f69a8e66c6 Don't copy debug files into package directory.
Debugging symbols should be present in the binaries by default now.
2014-05-17 14:57:57 -05:00
Scott Ehlert
072747b741 Add --symbol-files option to AMBuild configure. 2014-05-17 14:54:38 -05:00
Scott Ehlert
4fa8a90787 Add build directories to gitignore. 2014-05-17 14:37:15 -05:00
Vincent Herbet
c0e3509e65 Merge pull request #15 from Arkshine/fix-cs-spectator-issue
CS: Fix spectator team index not being set in specific situation
2014-05-15 16:09:09 +02:00
Arkshine
0edb16150a CS: Manually set SPECTATOR team index. 2014-05-15 00:01:28 +02:00
Vincent Herbet
7e6812f64a Merge pull request #10 from Arkshine/client_printex
Add client_printex Stock (bug 5828)
2014-05-13 14:33:23 +02:00
Arkshine
1c13d0dd6b Use a more standard if conditionnal way. 2014-05-13 14:09:45 +02:00
Vincent Herbet
f58faf5f2c Merge pull request #13 from Arkshine/fix-cs_set_user_team
Fix cs_set_user_team issue on spectator
2014-05-13 13:27:03 +02:00
Vincent Herbet
207b9aef96 Merge pull request #14 from Arkshine/fix-missing-float-tag
Fix missing Float tag in some DoD forwards headers (bug 6121)
2014-05-13 13:26:34 +02:00
Arkshine
c5c2721e60 Fix missing Float tag in some DoD forwards headers. 2014-05-12 16:40:19 +02:00
Arkshine
db76fc7b66 Fix cs_set_user_team issue on spectator 2014-05-12 14:41:08 +02:00
Vincent Herbet
c1cf9d8e67 Update .gitignore 2014-05-12 14:14:26 +02:00
Arkshine
5f210d3404 Append a note about usage of the new buffer size (related to ce4ef6e272) 2014-05-08 16:18:50 +02:00
Arkshine
24328568ed Fix typo with TrieGetArray return value in #8. 2014-05-07 10:41:55 +02:00
Arkshine
f5921a3535 Refactor code
It would seem I was wrong (was I drunk?). It doesn't support custom
message using formating (%s).
This simplifies things, as this stock is now meant to be used only on
predefined message.

* If not a predefined message, we redirect to client_print, as there is
more checks and can deal with ML.
* If length goes above known limits, we redirect to client_print to be
cut properly.
* Changed MSG_ONE to MSG_UNRELIABLE and MSG_ALL to MSG_BROADCAST.
* Updated documention.
2014-05-05 20:42:51 +02:00
Arkshine
f691d2ed79 Fix english 2014-05-05 00:59:36 +02:00
Vincent Herbet
60f54ee691 Merge pull request #9 from Nextra/statsx-lang
StatsX Language/Translation Update (bug 3040)
2014-05-04 20:15:22 +02:00
Vincent Herbet
db3933d150 Merge pull request #8 from Arkshine/trie-update
Trie Update
2014-05-04 20:14:10 +02:00
Arkshine
d0b335dc6e Add missing 'stock' keyword. 2014-05-04 18:32:15 +02:00
Valentin Grünbacher
25f507c5e3 StatsX: Add is_user_alive check to eventSpawn 2014-05-04 17:04:01 +02:00
Valentin Grünbacher
2fb232ee68 StatsX: Use replace_string and set task timer to 0.1 (AMXX minimum) 2014-05-04 17:03:59 +02:00
Valentin Grünbacher
90c4eed92e StatsX: More charsmax in place of hardcoded buffer lengths 2014-05-04 17:03:58 +02:00
Valentin Grünbacher
bf4ba091e4 StatsX: cmdReport has to use LANG_SERVER 2014-05-04 17:03:57 +02:00
Valentin Grünbacher
c19b9d9d5d StatsX: Switch spawn detection from ResetHUD to Ham_Spawn 2014-05-04 17:03:56 +02:00
Valentin Grünbacher
5143cada8e StatsX: Don't format roundend hudstats if we don't show them 2014-05-04 17:03:55 +02:00
Valentin Grünbacher
f630a8afc8 StatsX: Format team score (g_sScore) on demand 2014-05-04 17:03:54 +02:00
Valentin Grünbacher
ccd0adb84d StatsX: Actually use cached player id in end_game_stats 2014-05-04 17:03:53 +02:00
Valentin Grünbacher
4afefa25d1 StatsX: Format roundend stats for each player individually 2014-05-04 17:03:52 +02:00
Valentin Grünbacher
4de2bf21a3 StatsX: Remove implicit usages of global buffers for formatting 2014-05-04 17:03:51 +02:00
Valentin Grünbacher
136309ae6f StatsX: Move hudstats formatting to own function 2014-05-04 17:03:50 +02:00
Valentin Grünbacher
12d2e49adf StatsX: Rip out LANG_SERVER where possible (still pass 0 as id) 2014-05-04 17:03:48 +02:00
Valentin Grünbacher
85bb592eeb StatsX: Switch cvar access to pcvars 2014-05-04 17:03:47 +02:00
Valentin Grünbacher
164285b221 StatsX: Switch from using defines to charsmax 2014-05-04 17:03:46 +02:00
Valentin Grünbacher
297ced77b9 StatsX: Switch format to formatex 2014-05-04 17:03:45 +02:00