Commit Graph

682 Commits

Author SHA1 Message Date
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
Vincent Herbet
878d68bb21 Backed out changeset: 2bc36c43b15f
Former-commit-id: 0f14674ff19adc5bd1461bc622a01c3064281026
2013-09-10 09:04:52 +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
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
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
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
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
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
Vincent Herbet
0dd14eed43 Add ability to text formatting to set_fail_state (bug 5800, r=me)
Former-commit-id: 2af8a27164f9332e4a6178691fe11b41d2bef7d1
2013-07-27 20:33:17 +02:00
Vincent Herbet
93339d9be4 Add client_cmdStart forward (bug 5779, r=me)
Former-commit-id: 785ce1ea81567e30a729954a74ded7fdfef1ef7c
2013-07-03 01:00:52 +02:00
Vincent Herbet
6c2655c841 Comply to AMXX style for more consistency in a4e667e91410
Former-commit-id: 6a989a1857bd8a768b1701f842840c4d16351eb1
2013-07-02 23:32:22 +02:00
Vincent Herbet
1e7a4d2727 Comply to AMXX style for more consistency in 47c47df488e8
Former-commit-id: f9deb552af855345c8bd11d5eea17b0c5e9439f6
2013-07-02 23:31:27 +02:00
Vincent Herbet
6912199ae0 Comply to AMXX style for more consistency in 8f3605ea03d5
Former-commit-id: 3075e0b375fcede21f2055442305d1ffdb9b64fd
2013-07-02 23:13:26 +02:00
Vincent Herbet
83e70d7dd7 Add [Get|Set]ModelCollisionBox and [Get|Set]ModelBoundingBox (bug 3527, r=joropito)
Former-commit-id: 4d174007b14a9b6b8589f96a9259f3249db23799
2013-07-02 20:48:18 +02:00
Vincent Herbet
c0fcf06c96 Add [get|set]_pdata_[bool|byte|short|vector|ehandle] and set_pdata_ent (bug 5770, r=joropito)
Former-commit-id: da3d13a9c027f764d0506273fca2ac71a75719c7
2013-07-02 16:05:39 +02:00
Nextra
21a00e00a2 Add menu_addblank2 and menu_addtext2 to fix unexpected behavior with the original ones when slot=1 (bug 3096, r=Arkshine)
Former-commit-id: b4f84a5cee58d4a8fad716af82bca5b8aa0f5ff2
2013-07-02 14:54:07 +02:00
Vincent Herbet
1026edec6c Add new register_event flags to filter humans and bots (bug 5768, r=me)
Former-commit-id: 15b0fba122d8c2ba7024b74aa07b78a877cc9d8c
2013-07-02 11:22:43 +02:00
Vincent Herbet
e409a6cf23 Fix typo in 3bcba0ef360b
Former-commit-id: 4fcf93afb9a154cf92163cecdb3e8b7493d0aa71
2013-06-29 12:31:08 +02:00
Vincent Herbet
873fb6924f Add strtol native (bug 3233, r=joropito)
Former-commit-id: 9508f9f86db99e93de1819f585c741396d8e4c30
2013-06-27 18:55:19 +02:00
Vincent HERBET
e5864c5abf Add GetFileTime returning a file timestamp as a unix timestamp (bug 4543, r=joropito)
Former-commit-id: cf7b8645fa6a14e5be71336df4543901b2c53e0b
2013-06-21 23:09:41 +02:00
Vincent Herbert
4e81779adb Fix native_filter documentation (bug 5692, r=me)
Former-commit-id: b44616576fd47ac6742428759b73ef50d5d68f89
2013-06-15 22:37:52 +02:00
Fysiks
a26a98cb98 Fix incorrect result for replace_all (bug 5064, r=dvander).
Former-commit-id: e3824c4c87c43734e6c5d4831f2ca7cece0a5147
2013-02-13 00:40:57 -08:00
Scott Ehlert
40c1fee55a Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
fezh cs
26d2a4f877 Add documentation to set_view (bug 4065, r=dvander). 2010-12-12 18:24:30 -08:00
Fysiks
76d407b45a Fix menu_create() documentation (bug 4426, r=dvander). 2010-09-11 22:33:57 -05:00
David Anderson
73e3e52057 Updated version files for HG. 2010-04-04 17:22:45 -07:00
David Anderson
0f8c61c1e1 Re-added fflush function (bug 3355, r=sawce). 2009-02-07 23:43:07 +00:00
David Anderson
0b4f28fecf SQL_QuoteString can now be used without a DB handle (bug 3427, r=sawce). 2009-01-08 20:02:09 +00:00
David Anderson
cdf3807955 Bumped version numbers. 2008-08-17 00:50:57 +00:00
David Anderson
6486c56a15 Bumped versions. 2008-08-16 22:47:59 +00:00
Steve Dudenhoeffer
0a38ef831f Fix for amb1647: brush origin retrieval was wrong 2008-05-07 05:17:21 +00:00
Steve Dudenhoeffer
f410ea743d Added part of amb1604: unregister_message - OH GOD I HOPE I DIDNT BREAK IT 2008-04-29 02:18:39 +00:00
Steve Dudenhoeffer
9100ec753c Added amb1167: menu_addtext(menu, const text[], slot=1) 2008-04-27 19:19:53 +00:00
Steve Dudenhoeffer
4049a0c3be Initial addition of ns_remove_upgrade (amb1635): oh god I hope this will suffice 2008-04-26 21:40:56 +00:00
Steve Dudenhoeffer
86ea50dfdd amb1624: revision 3234 was accidentally undone 2008-04-26 08:18:34 +00:00
Steve Dudenhoeffer
53ed817183 Added amb1600: trie natives 2008-04-14 19:52:11 +00:00
Steve Dudenhoeffer
375d6aa0da Added amb1263: A new flag in users.ini, 'k' implies name/tags are case sensitive 2008-03-30 19:28:36 +00:00
Steve Dudenhoeffer
5e9e119c76 Fix for amb1545: show_activity was ignoring the last client 2008-03-30 07:36:10 +00:00
Steve Dudenhoeffer
2a383feef6 added amb1290: Invalid_Array handle in cellarray.inc 2008-03-30 07:26:59 +00:00
Steve Dudenhoeffer
4c79232f17 Fix for amb1199 - incorrect comment for Ham_DOD_RoundRespawnEnt 2008-03-04 19:21:09 +00:00
Steve Dudenhoeffer
16720a2f70 Fix for amb1343 - show_activity() had a messed up vformat() call 2008-03-04 19:18:17 +00:00
Steve Dudenhoeffer
b0286c9c4d Half-fix for amb1218 - typo in ns.inc 2008-03-04 18:55:54 +00:00
David Anderson
afd1072583 fixed amb1049 - sloppy TraceResult namings 2007-11-15 18:08:15 +00:00
David Anderson
cc99d6d1fb finalized build numbers and all that other release crap 2007-10-26 02:23:21 +00:00
David Anderson
36241e2905 updated revision numbers 2007-10-26 00:28:17 +00:00
David Anderson
a86b1c5097 added amb281 - multiple result sets for MySQL 2007-10-22 21:31:02 +00:00
David Anderson
b7f8503655 added amb844 - get_pdata_ent 2007-10-22 19:52:06 +00:00
David Anderson
468e6fb9dd added amb909 - LoadFileForMe() 2007-10-22 19:26:45 +00:00
David Anderson
50bbefa3ba fixed amb1023 - register_library had an outdated comment 2007-10-22 19:00:25 +00:00
David Anderson
26f1c8dec7 clarified menu_create and its handler 2007-09-02 18:52:24 +00:00
David Anderson
a749aad1b4 - inserted a nasty backwards compatibility shim specifically for war3ft 3.0-rc. this may be extended globally if i can find a way to generalize it without breaking menu_create().
- updated comment about player_menu_info() as it was wrong.
2007-09-02 18:35:53 +00:00
David Anderson
d163ead2ac it helps, just a bit, to actually commit the file 2007-08-16 19:09:49 +00:00
David Anderson
8298158f08 newmenu stuff is now in its own nice callback. yay 2007-08-16 19:07:59 +00:00
Steve Dudenhoeffer
643ddc18be Removed erroneous default values for pdata string natives. 2007-08-16 17:13:07 +00:00
Steve Dudenhoeffer
0bb430b3eb Reverted amb149 2007-08-16 15:16:41 +00:00
Scott Ehlert
e6663991a7 All include files should be semicolon-correct now 2007-08-10 04:52:12 +00:00
Steve Dudenhoeffer
62c41fbd03 Removed semi colon pragma 2007-08-10 03:41:59 +00:00
Steve Dudenhoeffer
76a7cafe50 Changed the new %S format option to %a to hopefully prevent some confusion. 2007-08-08 02:40:40 +00:00
Steve Dudenhoeffer
544d2dedef moved mkdir from amxmodx.inc to file.inc 2007-08-07 00:54:22 +00:00
Steve Dudenhoeffer
1721383237 Fix for amb736 - find_entity defined twice 2007-08-05 11:23:02 +00:00
Steve Dudenhoeffer
2efc82ea59 Included fakemeta_util for convenience. 2007-08-04 03:59:56 +00:00
Steve Dudenhoeffer
a95658bd2d Added hamsandwich include files to back include directory 2007-08-04 03:55:42 +00:00
Steve Dudenhoeffer
ffb8fc683b Implemented amb291 - cs_{set,get}_c4_defusing() 2007-08-03 19:11:47 +00:00
Steve Dudenhoeffer
2bc6d965f6 Fix for amb437
dod_set_user_kills & dod_set_user_score no longer have the dead scoreboard class side effect.

dod_set_pl_deaths comment has been updated to reflect the side effect.
2007-08-03 17:35:12 +00:00
Steve Dudenhoeffer
747d326ed5 Implemented amb216 - SQL_MakeStdTuple now has an optional timeout parameter. 2007-08-03 15:52:35 +00:00
Steve Dudenhoeffer
15b62648c9 Implemented amb307 - admincmd now caches a few of the last connections.
amx_addban changed back to ADMIN_BAN.  Users without RCON access will only be able to ban those in the old connection cache.  Users with RCON access still have unrestricted access to amx_addban.

The old connection cache can be viewed with amx_last (ADMIN_BAN access required by default).
2007-08-03 15:26:22 +00:00
Steve Dudenhoeffer
b09bf4c532 Work around for amb228 - amxmod_compat caused set_user_hitzones to stop functioning.
Any plugins being emulated by amxmod_compat that still use the traceline forward will still cause the issue, but if no plugins use that forward it won't interfere.

(also, plugin_flags() can now specify a plid)
2007-08-03 06:48:08 +00:00
Steve Dudenhoeffer
e254ef6b15 Added ns_get_user_team for a replacement for get_user_team. 2007-08-03 02:57:59 +00:00
Steve Dudenhoeffer
7038305812 Merged ns plugins / include files to trunk.
(ns/unstuck doesn't require engine any more)
2007-08-02 16:37:57 +00:00
Steve Dudenhoeffer
48022d3c5c Implemented amb673 - pre-compiled regular expression support.
Also commented in the include file a bit better.
2007-08-01 17:36:10 +00:00
Steve Dudenhoeffer
83c82387e3 Changed ArrayGetCell() to return the cell value instead of byreferencing the value. 2007-07-26 16:22:29 +00:00
Steve Dudenhoeffer
9ce9b142e7 Implemented amb397 - amx_add{client}menuitem now accepts filenames as well as registered plugin names
(is_plugin_loaded() now has an optional second parameter to search for filenames)
2007-07-25 18:54:32 +00:00
Steve Dudenhoeffer
d836aeb716 Added some defines for cmd_target's filter system (for less cryptic code)
Changed all immunity obeying commands to allow for self execution - amb633
2007-07-25 18:10:08 +00:00
Steve Dudenhoeffer
a28a80e45f Few additions to fakemeta:
Implemented amb632 - lookup_sequence, also added set_controller (since it dealt with models).

Implemented set_pev_string, for setting with an already allocated string handle.  Also added pev_serial, to get the entity serial number.
2007-07-24 06:05:43 +00:00
Steve Dudenhoeffer
4b02ffa920 Fix for amb519: geoip_code2 and geoip_code3 will overflow the result buffer on an unsuccessful lookup.
Added two replacement natives for those two: geoip_code2_ex and geoip_code3_ex, could not modify the old natives without breaking backwards compatibility.
2007-07-19 18:37:13 +00:00
Scott Ehlert
add02dc55e Fixed amb365 - EF_SetSize() stock had incorrect params 2007-06-05 02:38:48 +00:00
Steve Dudenhoeffer
0c82e09df1 Added amb42 - different amx_show_activity values. 2007-05-24 17:11:11 +00:00
Steve Dudenhoeffer
66feed1d2b Added charsmax() define, as a less typo-prone utility for sizeof(array)-1.
Added any: syntax to all variable args that need it, added proper {Float,_}: tags to some that didn't have it but should have.
2007-05-18 15:20:34 +00:00
Steve Dudenhoeffer
65748001f0 Added FCAP_* constants 2007-05-16 16:28:44 +00:00
Steve Dudenhoeffer
7bb562182f Changed _array_included to _cellarray_included 2007-05-14 22:11:28 +00:00
Steve Dudenhoeffer
77ca104a8d Renamed array.inc to cellarray.inc so that rukia doesn't start hagging about it. 2007-05-14 22:10:13 +00:00
David Anderson
6170cbc95a implemented amb92 2007-05-02 23:11:49 +00:00
Scott Ehlert
e34120803d Implemented request amb242: added cs_get/set_user_hostagekills() natives 2007-05-01 21:38:39 +00:00
Scott Ehlert
897ed0cb10 Implemented request amb237 - added ServerPrint to Fakemeta 2007-04-30 18:29:33 +00:00
David Anderson
2f6bfca68e added CS hook to catch internal bot commands and rebuy commands for players 2007-04-26 19:21:11 +00:00
Steve Dudenhoeffer
68d2b03e48 Added amb37, amb38, amb39 and amb205: various cstrike natives.
(Still need to test)
2007-04-25 15:40:15 +00:00
David Anderson
c957a9db0f Added SQL_QuoteString to include/tests 2007-04-25 13:45:15 +00:00
David Anderson
359b7e25dd added sql_rewind 2007-04-25 13:19:42 +00:00
Steve Dudenhoeffer
d563ecb060 Added pseudo dynamic array natives.
Changed some of the "..." tags to "any".
2007-04-24 16:38:36 +00:00