Commit Graph

721 Commits

Author SHA1 Message Date
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
Steve Dudenhoeffer
201d65749e Added LookupLangKey for the upcoming show_activity changes. 2007-04-20 02:55:59 +00:00
Steve Dudenhoeffer
1ed1d0005c Added menu property to change number color 2007-04-18 04:20:48 +00:00
David Anderson
5d4669d52e implemented amb17
expanded menu tests
deprecated MEXIT_NORMAL, MPROP_ORDER, MPROP_PADMENU
fixed various bugs in PagekeyToItem
2007-04-16 06:58:28 +00:00
Steve Dudenhoeffer
5c68df7ac7 Fixed the damn comments 2007-04-02 18:39:38 +00:00
Steve Dudenhoeffer
81994ecf58 Fix for access() with ADMIN_ALL
Very minor optimization for is_user_admin

(amb81)
2007-03-30 02:04:30 +00:00
Steve Dudenhoeffer
4682cec1cb Documentation fix for amb120 2007-03-30 01:59:57 +00:00
Scott Ehlert
397479cd77 Fixed amb85 - tag mismatch warning on ShowSyncHudMsg 2007-03-13 22:51:12 +00:00
David Anderson
cc6b9d3d81 added dynamic versioning
committed .sln files to a few wayward projects
2007-03-12 22:27:27 +00:00
David Anderson
71065a65dd attempted merge at 1.77 back into trunk... Oh MY GOD 2007-03-09 03:04:40 +00:00
Steve Dudenhoeffer
bd412d7204 Fixed bug amb70 - include files not semicolon-correct
Also, removed OLOcode from amxmisc.inc
2007-03-05 19:30:40 +00:00
David Anderson
ef4d19378d bumped more versions 2007-03-04 03:43:57 +00:00
David Anderson
6eb1242600 fixed tags (amb36) 2007-02-24 20:07:21 +00:00
Steve Dudenhoeffer
ade56b62e9 Fixed am50089 - unary - float operator 2007-02-19 08:11:00 +00:00
Steve Dudenhoeffer
4f81c50a3e Fixed am50731 - compiler crash when amxmisc is included before amxmodx 2007-02-19 07:03:26 +00:00
Steve Dudenhoeffer
06f01ea7dc Wow I deleted the comment too! 2007-02-19 06:38:08 +00:00
Steve Dudenhoeffer
2395abcf7e Fixed retarded typo 2007-02-19 06:37:03 +00:00
Steve Dudenhoeffer
d33f9ba2d4 Fixed am51083 - Comments in amxmodx.inc 2007-02-19 06:29:02 +00:00
Steve Dudenhoeffer
aec28542ac Fixed am51276 - typod "return" 2007-02-19 06:23:34 +00:00
DevconeS
0f22a7fa06 Added missing natives:
- take_damage
- entity_use
- get_num_ents
2007-01-31 20:20:49 +00:00
Steve Dudenhoeffer
35fcca8a66 Merged revision 3258 from 1.77; forward_return with non-string values 2007-01-26 06:08:29 +00:00
Steve Dudenhoeffer
7a01503478 Merged revision 3249 from 1.77; fixed typo in tfcconst.in (am50097) 2007-01-26 06:04:11 +00:00
Steve Dudenhoeffer
dd8f138892 Back ported revision 3242 - Every include file now is const correct (am49281) 2007-01-26 05:56:10 +00:00
Orangutanz
8341e41f04 Fixed TE_GLOWSPRITE (vittu) & TE_PLAYERSPRITES examples 2007-01-18 00:18:31 +00:00
Orangutanz
a682ec6b7a Fixed TE_DLIGHT example Valve mistake! (P34nut) 2007-01-17 18:16:17 +00:00
Christian Hammacher
c5ccf7d2c8 fixed am48881 2007-01-02 13:04:56 +00:00
David Anderson
42f23a832a bumped version number for plugins 2006-12-19 14:24:01 +00:00
David Anderson
b762174c30 fixed bug am48275 2006-12-19 02:02:49 +00:00
David Anderson
86838bead1 Fixed bug am48294 2006-12-19 01:58:46 +00:00
Split
93cb2060dd fixed typo 2006-12-11 04:07:55 +00:00
David Anderson
1905ea7295 added info about console commands 2006-11-22 02:47:15 +00:00
David Anderson
8b8cc3dd6b Fixed bug am46630: rename_file did not have a relative location version 2006-10-31 20:18:44 +00:00
David Anderson
102c2b219f Fixed bug am46336 - could not compile TraceLn 2006-10-27 05:53:09 +00:00
David Anderson
4e1d420495 added AMX_ERR_GENERAL to the error list 2006-10-27 05:49:34 +00:00
David Anderson
e93e75fa39 Bumped version numbers 2006-10-27 05:47:38 +00:00
David Anderson
2a1dbf5247 Fixed bug am46350 2006-10-24 17:13:02 +00:00
David Anderson
d2ebca38a1 Experimental addition to CreateMultiForward() for bcompat 2006-10-22 03:49:23 +00:00
David Anderson
553a950b98 added comment :( yes we broke backwards compat 2006-10-21 20:20:44 +00:00
David Anderson
fe1ebfe7bb fix for 45337 and some other little things 2006-10-01 19:46:56 +00:00
Scott Ehlert
39d5ea94fb Added extra param to is_in_viewcone to switch between a 2D and 3D calculation
Neither is still as accurate as I want them to be though :\
2006-10-01 06:08:39 +00:00
Scott Ehlert
90f11b52bc Fixed am45318 - Some wrong constants from TraceResult enum 2006-10-01 02:39:59 +00:00
David Anderson
5ded9eef2a Bumped version numbers to 1.76a 2006-09-25 23:48:07 +00:00
David Anderson
3c923170a9 whoa, forgot a SEMICOLON 2006-09-14 08:06:08 +00:00
David Anderson
09beb4b81e Fixed bug am44776 2006-09-14 08:00:55 +00:00
Scott Ehlert
918e1c3195 Better, but still not perfect. :( 2006-09-13 13:44:37 +00:00
Scott Ehlert
6e56aed778 More tiny bcompat stuff. admincmd is now source compatible at least 2006-09-13 10:58:47 +00:00
Pavol Marko
d925dc6e41 bugfix: correct string length computation in replace_all 2006-09-12 13:26:40 +00:00
David Anderson
651c5d9f01 added more api to help with amxmod compat layer
cleaned up some more bcompat stuff
2006-09-12 07:59:56 +00:00
David Anderson
3c379469d5 added get_cmdaccess() 2006-09-10 22:16:04 +00:00
David Anderson
14aff9b19b added simple access level wrappers (Obbin) 2006-09-10 10:14:58 +00:00
David Anderson
d95f794844 rewrote replace_all()
added replace_all() tests
2006-09-10 08:15:00 +00:00
David Anderson
3754604686 Fixed a serious bug in replace_all() that could make replaces fail or corrupt random data 2006-09-10 07:23:08 +00:00
David Anderson
1b9ef4d268 2006-09-10 05:16:26 +00:00
David Anderson
f6f6bcc356 added a note to hostage natives for CZ 2006-09-10 04:36:44 +00:00
David Anderson
4f95899d2e Added request am44580 (simple query w/ formatting) 2006-09-10 03:46:35 +00:00
David Anderson
77e4d85002 fixed up a callfunc issue and added copyback parameter 2006-09-10 02:30:10 +00:00
David Anderson
4599b59834 corrected issue am44595 2006-09-10 00:51:35 +00:00
David Anderson
8df33abd70 initial import of the bcompat plugins (userland layer) 2006-09-08 14:49:54 +00:00
David Anderson
78956f3d89 merged bcompat changed into trunk
removed amxmod compat files for now
2006-09-01 03:29:27 +00:00
David Anderson
6a28bc602a Request am43716 - moved IVecFVec and FVecIVec around 2006-09-01 01:34:43 +00:00
David Anderson
9bd22661ff Added SQL_GetInsertId() 2006-08-28 19:17:26 +00:00
David Anderson
388711e969 Synced bcompat tree additions and fixes found so far 2006-08-28 11:08:18 +00:00