Commit Graph

1406 Commits

Author SHA1 Message Date
Vincent Herbet
a828ee8fda Merge pull request #21 from Nextra/newmenus
Newmenus: Add menu timeouts (+ extra bugfix)
2014-05-27 12:31:30 +02:00
Valentin Grünbacher
c91d67912b Newmenus: Update MENU_TIMEOUT doc 2014-05-27 10:32:28 +02:00
Freeman-AM
94e0021e78 Telemenu: Fix a typo error 2014-05-25 11:50:11 +02:00
Freeman-AM
1b4d0c7965 Telemenu: Remove some TAB before comments for readability 2014-05-24 18:35:06 +02:00
Freeman-AM
2ca61e2de2 Telemenu: Fix bad array usage 2014-05-24 18:30:02 +02:00
Freeman-AM
aa67fae7b9 Telemenu: Fix some bugs and add some improvements
Bugfixes
- a typo error induced by me, id instead of player
- The second teleportation way of this plugin can only be done when the menuactor is not alive.
There is no crouch in death mod or spectator mod, so i remove this useless call. (Line 134 - 139)
Improvements :
- Check mod VEC_DUCK_VIEW only one time.
- Removal of code duplication
2014-05-24 15:53:30 +02:00
Valentin Grünbacher
ff18b03250 Newmenus: Add MEXIT_FORCE for proper exit button on non-paginated menus 2014-05-21 22:18:48 +02:00
Valentin Grünbacher
3b87c428dc Newmenus: Add necessary API changes for newmenu timeouts 2014-05-21 19:17:04 +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
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
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
Arkshine
c5c2721e60 Fix missing Float tag in some DoD forwards headers. 2014-05-12 16:40:19 +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
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
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
Arkshine
0c1931284e Clean up include file. 2014-05-03 23:50:43 +02:00
Arkshine
9ac3763267 Add iterators natives 2014-05-03 23:21:56 +02:00
Arkshine
b6cd247d12 Add new 'replace' and 'size' paramaters in some natives.
Fix some typos
Update the test plugin
2014-05-03 22:36:40 +02:00
Arkshine
f3bce9ecfd Add TrieGetSize native. 2014-05-03 16:09:31 +02:00
Arkshine
d933783629 Switch trie_natives off KTrie 2014-05-03 13:22:48 +02:00
Arkshine
3b0ce189ea Add print_radio constant (counter-strike only) 2014-05-02 19:13:38 +02:00
Arkshine
9a2bce66fd Add client_printex stock 2014-05-02 19:13:15 +02:00
Arkshine
9c191949d8 Add amxclient_cmd native (bug 5887, r=Nextra) 2014-05-02 09:16:16 +02:00
Arkshine
d3f22d2089 Add support for bot without "player" classname in Hamsandwich (bug 6111, r=ds) 2014-05-01 10:21:46 +02:00
Arkshine
6eb10a5f5a Missing modification on a86ca1491 2014-04-30 16:11:27 +02:00
Arkshine
ce4ef6e272 Increase get_amxstring buffer size (bug 5901, r=ds) 2014-04-30 15:22:55 +02:00
Arkshine
a86ca1491f Add new string natives/stocks, make some UTF-8 safe (bug 6110, r=ds) 2014-04-30 09:33:03 +02:00
Arkshine
3d732bbbb6 Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds). 2014-04-18 22:04:32 +02:00
Lev
19e160117f Directly kick players rather than use a loopback command (bug 5946, r=arkshine) 2014-04-16 17:27:20 +02:00
Arkshine
f78fda6d9c Add new CellArray natives: Clone/Resize/FindString/FindValue (bug 6104, r=ds) 2014-04-15 10:34:48 +02:00
Arkshine
b3609a23fa Add missing magic tag in include file (previous patch). For some reason my change was ignored. 2014-04-11 23:02:46 +02:00
Arkshine
8a1464ac41 Introduce DataPacks (bug 5885, r=ds) 2014-04-11 22:57:42 +02:00
Arkshine
5468e9745c Add set/show_dhudmessage (bug 5979, r=ds) 2014-04-11 21:54:24 +02:00
Arkshine
4cd9d1df46 Fix issue by not including port when an admin is added by IP address (bug 5978, r=arkshine) 2014-04-11 21:47:43 +02:00
Arkshine
f097e01c3f Fix typo in previous commit. 2014-04-10 12:55:58 +02:00
Arkshine
1a7daad657 Update globally Hamsandwich module (bug 5611, r=sawce) 2014-04-09 16:44:02 +02:00
DynamicBits
1503a6571f Fix TFC_PC_CIVILIAN value (bug 6042, r=arkshine) 2014-03-22 16:59:15 +01:00
connorr
46fb7b310e Add amx_xvar command (bug 5896, r=arkshine) 2014-03-20 23:41:10 +01:00
DynamicBits
64327b8ddb Fix nextmap plugin failing in game where mp_chattime cvar doesn't exist (bug 5922, r=arkshine) 2014-03-20 19:05:41 +01:00
Fysiks
33cdfa644e Add check for empty string in amx_chat command (bug 6017, r=arkshine) 2014-03-20 18:49:59 +01:00
Vincent Herbet
5dc96ddf47 Add strtof native (bug 5909, r=Nextra) 2014-03-20 18:21:38 +01:00
Vincent Herbet
f520a39c89 Add DMG_GRENADE constant (bug 6030, r=arkshine) 2014-03-20 18:14:31 +01:00
David Anderson
e2855dee7d Undo vim modelines. 2014-02-09 23:49:19 -08:00
David Anderson
aa46469878 Add new variants of strbreak, which is too broken to use. 2014-02-09 23:40:45 -08:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef1f3b52716decfb4dafcfd66167730d
2014-02-08 20:37:33 -08:00
David Anderson
8f51d87826 Get PackageScript release-equivalent on Linux.
Former-commit-id: 15cfb571fbfb37281e1465a013305ff6267b7dce
2014-02-08 14:29:15 -08:00
David Anderson
fdc804b7df Remove precompiled binaries from the plugins folder.
Former-commit-id: 4821df4aaf289b1f7d9fed0b2dfee40179d9e542
2014-02-08 12:44:35 -08:00
David Anderson
ad36859607 Port plugin building to AMBuild.
Former-commit-id: 9ac73de5b247da341b0b4cdf00ec3c7e0472be82
2014-02-08 12:42:00 -08:00
Vincent Herbet
878d68bb21 Backed out changeset: 2bc36c43b15f
Former-commit-id: 0f14674ff19adc5bd1461bc622a01c3064281026
2013-09-10 09:04:52 +02:00
connorr
3b6c207ea8 Move slay as last option instead of first in Slay/Slap Menu (bug 5861, r=arkshine)
Former-commit-id: 31f5fdfa9788d5ea8552e2dc101c582e7959ecc0
2013-08-24 01:14:54 +02:00
Vincent Herbet
af0a1200ab Add client_print_color native (CS only) (bug 5823, r=Nextra)
Former-commit-id: 9e37c60bc543676cbd659621a129bd953fc71473
2013-08-24 01:03:13 +02:00
connorr
ab6644c874 Add client command in Misc. Stats plugin to enable/disable sounds (bug 5846, r=arkshine)
Former-commit-id: b2de28b5f32d7d2c9dc52aacc4d95a7e4b029db1
2013-08-24 00:59:57 +02:00
connorr
73b365e952 Fix two player transfer issues in Players Menu plugin (bug 5850, r=arkshine)
Former-commit-id: 16f9e669369e6d2b5be6a39ba56b3c8f07b5a5f2
2013-08-24 00:55:21 +02:00
Lev
d9fb9bac09 Add assign operator for floats to allow implicit int-to-float conversion (bug 3997, r=dvander)
Former-commit-id: 04b6a21f239bb9332a1410d22c8c3c45510a28b2
2013-08-24 00:42:16 +02:00
connorr
784f91e441 Add a new access level flag 'v' for temporary bans (bug 3218, r=arkshine)
Former-commit-id: d09b92cf6c3ffa6ea82b4c4b005056e7875ee80f
2013-08-16 18:49:55 +02:00
Vincent Herbet
ddacdb0ab2 Add set_ent_rendering native (bug 5773, r=Nextra)
Former-commit-id: d322cd2e79497eae463e941973db952079219c80
2013-08-10 14:16:26 +02:00
Vincent Herbet
54cac3b051 Check map objectives in d4d32d912299 using the new get_map_objectives native.
Former-commit-id: 25fe31aa3450099529a955532090347f85485336
2013-08-10 12:03:08 +02:00
connorr
9e4fe0d514 Add missing stats sounds, sounds precaching and fix few bugs in miscstats plugin (bug 5810, r=arkshine)
Former-commit-id: beca0030e4636dffce77d34e18c981adef34b065
2013-08-10 11:46:02 +02:00
Nextra
917c52ec96 Add ewrite_[coord_f/angle_f], write_[coord_f/angle_f] and [e]message_begin_f natives (bug 5829, r=arkshine)
Former-commit-id: 34ab529d53729009fce913582838b609077b5f37
2013-08-10 10:22:38 +02:00
Vincent Herbet
0afe87be0a Add get_map_objectives native for CS (bug 5820, r=Nextra)
Former-commit-id: 47487a4aa7b32a5767c2a23df5ddc7e9643c3428
2013-08-08 19:11:12 +02:00
Vincent Herbet
7e11cb5cc1 Add has_map_ent_class native (bug 5814, r=Nextra)
Former-commit-id: bfa749105feb49cf9f9b3878dededa33ae7d699c
2013-08-07 16:40:37 +02:00
connorr
5557124f05 Add an additionnal note to reflect change in 436d02c3ec30
Former-commit-id: 3ceb00dfdd2528eb9ab544b77d629938a916e386
2013-08-05 19:12:16 +02:00
connorr
a459f578fa Set set_user_rendering default color/amount to 0 to follow game behavior (bug 5772, r=arkshine)
Former-commit-id: b9d6327829da6da96ea32a1a8bb428cb816c23f4
2013-08-05 19:00:51 +02:00
connorr
98f8602c59 Set set_hudmessage default channel to -1 to reflect auto-channeling support (bug 5771, r=arkshine)
Former-commit-id: 418023ed916ff68e77a75ea729ac456d72b97cf5
2013-08-05 18:54:19 +02:00
connorr
f3f29e4769 Fix broken admin chat access consistency and apply general optimizations in adminchat plugin (bug 5822, r=arkshine)
Former-commit-id: 99caf22f48f0da39f5cbfe04b847dfa576366f5c
2013-08-05 18:44:23 +02:00
connorr
16b2721c2a Apply general optimizations in adminslots plugin (bug 5831, r=arkshine)
Former-commit-id: 1ea1766188a73cb80a50396fb2b88e11c88bc1e1
2013-08-05 18:26:57 +02:00
connorr
2385dd3972 Remove slowhack in amx_nick command and apply general optimizations in admincmd plugin (bug 5832, r=me)
Former-commit-id: 9d85ff7b1f4c5ee9c7b13a3bc362095c002add94
2013-08-05 18:18:58 +02:00
connorr
fd47b6e0c6 Apply general optimizations in adminhelp plugin (bug 5833, r=me)
Former-commit-id: 100fff803ff2796fe0772d83d0cfb15d9b02ee3a
2013-08-05 17:44:15 +02:00
Vincent Herbet
5a6d3fde61 Add ArraySortEx/SortADTArray natives and new sort method Sort_Random (bug 5494, r=Nextra)
Former-commit-id: 1ff337d9801e2fbd9ad210bc1285d31679b3029e
2013-08-05 16:56:59 +02:00
Vincent Herbet
71ac17464a Add UTF-8 support in /top15 MOTD (bug 5825, r=me)
Former-commit-id: ae91c6f5ade72b2c851eb1289423444e4a7d42e4
2013-08-03 20:35:05 +02:00
connorr
4b717322d3 Fix possible out of bound error and apply general optimizations in timeleft plugin (bug 5818, r=arkshine)
Former-commit-id: 3abd8429022833f93f18d1f08abaff8204f53306
2013-08-01 00:55:44 +02:00
Nextra
eb43b69e4d Add strtok2 which fixes a trim issue with strtok (bug 3993, r=arkshine)
Former-commit-id: ad9e3ad972b6f7a2e34c61d615e25de07c9acdfa
2013-07-31 23:40:49 +02:00
connorr
da6d417d5d Fix last mapcycle issue and apply general optimizations in nextmap plugin (bug 5817, r=arkshine)
Former-commit-id: 9b5c7afc0048f6fc8830bc5475cbe60d4230f7ef
2013-07-31 20:18:55 +02:00
connorr
bde7b8dd7f Implement cooldown on say_team @ to prevent admin's client get overflowed if executed a couple of times (bug 5815, r=arkshine)
Former-commit-id: 7db35f0d9764430d34d53844e8f5eb0933527e16
2013-07-31 17:01:55 +02:00
Nextra
e4d74f199f Fix re-entrancy issue when a [generated] message is sent during register_event forward (bug 3664, r=joropito)
Former-commit-id: 163098892c0f0315ece9d89667782fd0ad53f3ca
2013-07-27 20:49:19 +02:00