Commit Graph
100 Commits
Author SHA1 Message Date
Steve Dudenhoeffer ed84900ab6 amb467 - conmotd.txt is removed 2007-08-01 04:19:23 +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 ced56c79b6 what the hell how did this change 2007-07-25 18:13:38 +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 7c642fbf6e final fix for amb29 - ml issues with pause/stop saving in menu.
Need to sync ml changes before can test; should be good.
2007-07-25 17:28:26 +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 2cbf7fca08 Forgot to update SVN with TS3.0 and RegisterHamFromEntity changes 2007-07-19 18:43:27 +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
Steve Dudenhoeffer 8316318c31 Fix for amb343 - tfc_clearmodel didn't function as advertised. 2007-07-17 02:18:04 +00:00
Steve Dudenhoeffer 7b6d4ce699 Fix for amb503 - csx module not setting meta result when paused. 2007-06-30 05:11:13 +00:00
Steve Dudenhoeffer 16c17cff63 Undid portions of revision 3261: get_{pcvar,cvar}_num discrepancies, the added overhead just wasn't worth how stupidly rare the occurrences were. 2007-06-25 03:23:19 +00:00
Steve Dudenhoeffer ce526ac432 Fixed amb109 - mapsmenu now checks mapcyclefile cvar before reverting to mapcycle.txt 2007-06-22 18:37:38 +00:00
Steve Dudenhoeffer a3342213b5 Added amb427: Additional weapons to dod_{get,set}_user_ammo 2007-06-22 18:25:16 +00:00
Steve Dudenhoeffer ef41393bc3 Fixed amb130 - various menus did not take ADMIN_ALL / ADMIN_ADMIN into account. 2007-06-22 17:47:32 +00:00
Steve Dudenhoeffer a45d98efea Fix for amb421: get_user_weapons omitting a weapon in Day of Defeat. 2007-06-22 17:10:21 +00:00
Steve Dudenhoeffer e23f3747ba Possible fix for amb149 - register_event with "e" triggers false positives for dead players not fully in game. 2007-06-22 16:51:16 +00:00
Steve Dudenhoeffer 3f268e5f2e Fixed amb69 - metamod trying to reload amxmodx on systems with poorly configured clocks. 2007-06-22 16:02:17 +00:00
Steve Dudenhoeffer b3e61b1d75 Fix for amb108 - statsx keeping port when saving stats by ip - this should still allow for old stats files to work, but there is a small chance for idiosyncrasies if there are multiple users with the same ip (but different port) saved. 2007-06-22 15:35:46 +00:00
Steve Dudenhoeffer 6865b984e0 Fixed accidental reversal of think and touch virtual index under Day of Defeat. 2007-06-22 05:06:49 +00:00
Steve Dudenhoeffer 7c4dccac8c Added amb30 - csstats_rankbots will stop bots from showing in /top15 2007-06-21 19:37:58 +00:00
Steve Dudenhoeffer 6c0300801f Added amb32 - amxx {cvars,cmds} now takes an optional parameter to filter plugins by plugin filename 2007-06-21 15:26:02 +00:00
Steve Dudenhoeffer 069c293aba Fixed amb350 - typo in traceline_set_float 2007-06-21 03:44:36 +00:00
Steve Dudenhoeffer 7690f1a099 Fixed the mirror system not working. 2007-06-12 15:59:10 +00:00
Steve Dudenhoeffer 961114c260 Fix for amb305 - tasks cause a crash on mods that do not have the standard mp_timelimit cvar. 2007-05-28 14:49:34 +00:00
Steve Dudenhoeffer ff3def3d00 Forgot to remove the MAX_MAPS define :o 2007-05-24 18:19:45 +00:00
Steve Dudenhoeffer 39f759368f Added show_activity changes to mapsmenu
Made mapsmenu use cellarray natives instead of MAX_MAPS
2007-05-24 18:15:41 +00:00
Steve Dudenhoeffer 4cdd43b29b Fixed accidental commit of a language file 2007-05-24 17:16:36 +00:00
Steve Dudenhoeffer 0c82e09df1 Added amb42 - different amx_show_activity values. 2007-05-24 17:11:11 +00:00
Steve Dudenhoeffer 1129f09660 Added the any tag fix for functions returning any: 2007-05-22 01:29:18 +00:00
Steve Dudenhoeffer 079606c143 Added amb311 - mapcycle file now ignores .bsp extension 2007-05-20 15:03:26 +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 4504875df9 Fixed Makefile
Fixed a few forwards not having FP_DONE at the end (doh!)
2007-05-16 15:24:14 +00:00
Steve Dudenhoeffer cd023c30d9 Added GPL header to all files.
Item_CanDrop -> {CS,DOD}_Item_CanDrop

Added Ham_CS_Item_GetMaxSpeed

Reversed classname and callback parameters for RegisterHam.

Finished commenting ham_const.inc.
2007-05-16 03:57:18 +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
Steve Dudenhoeffer b660df8df6 Added {get,set}_pdata_cbase{_safe} - compliments Fakemeta's get_pdata functions, but this will set/get an offset that is a CBaseEntity.
Split constants from hamsandwich.inc into ham_const.inc.

Finished commenting native calls, need to finish the constant comments.
2007-05-13 14:01:13 +00:00
Steve Dudenhoeffer b1a086ee93 Added {get,set}_pdata_cbase{_safe} - compliments Fakemeta's get_pdata functions, but this will set/get an offset that is a CBaseEntity.
Split constants from hamsandwich.inc into ham_const.inc.

Finished commenting native calls, need to finish the constant comments.
2007-05-13 13:59:54 +00:00
Steve Dudenhoeffer 504ddb4c2f Expanded ESF entries (they had the Linux binary in a retarded location).
Added vanilla HLDM support.

Fixed a weird crash when compiled in release build for Linux.

Expanded HamFilter error messages a tad.
2007-05-12 17:33:58 +00:00
Steve Dudenhoeffer d38d2f56e1 Fixed large return values (Vectors) in MSVC. 2007-05-12 13:16:05 +00:00
Steve Dudenhoeffer 9b0ed67c9c Fixed vtable for TFC and NS 2007-05-11 16:54:26 +00:00
Steve Dudenhoeffer 1081e84981 Disassembled the rest of the mods, all but cs are untested currently. 2007-05-11 15:02:25 +00:00
Steve Dudenhoeffer ee64440fef Removed TFC_DBGetItemName because I can't figure out the return value syntax (it doesn't sound like a useful function anyway).
Disassembled DoD for the new virtual functions.

Fixed cs weapon virtual functions.  Oops :o
2007-05-10 17:17:33 +00:00
Steve Dudenhoeffer 0c56e2803e Added more virtual functions to the table, only have counter-strike disassembled currently. 2007-05-10 16:08:02 +00:00
Steve Dudenhoeffer 5fc89085d6 Added the ability to change parameters on the fly.
Added GetHamReturnStatus()
2007-05-09 14:58:55 +00:00
Steve Dudenhoeffer f747acdc7c Added return type modification / retrieval.
Added HAM_{IGNORED,HANDLED,OVERRIDE,SUPERCEDE} to include file.

Added the ability to disable and re-enable hooks.
2007-05-08 17:26:51 +00:00
Steve Dudenhoeffer 4e2493759e Hopefully fixed up HamExecuteB for the last time.
Fixed a small memory leak because I wasn't deleting post forwards at map change.

Hopefully fixed an erroneous display of 'stray' keys.
2007-05-07 13:51:40 +00:00
Steve Dudenhoeffer 1f1ecfa590 Added module auto load to hamsammich.
Started the stupid comment crap.
2007-05-05 12:36:12 +00:00
Steve Dudenhoeffer bd2ad31f5e Fixed HamExecuteB and made its system a bit more logical. 2007-05-04 15:42:02 +00:00
Steve Dudenhoeffer fb5e7dbfdb Added unhooking of virtual tables at map change.
Removed some more debugging output.
2007-05-04 14:56:57 +00:00
Steve Dudenhoeffer 0ac5ce46a7 Removed legacy code from my search to find the mystical link errors.
Removed some debug output from Trampolines.
2007-05-04 13:07:02 +00:00
Steve Dudenhoeffer 1073a42409 Fixed silly link errors in MSVC 2007-05-04 13:05:09 +00:00
Steve Dudenhoeffer 66d7d39bee First commit of the rewrite
Doesn't build on windows for some retarded reason
2007-05-04 12:51:13 +00:00
Steve Dudenhoeffer 46bd9127fb Removing files for a r3wr1t3 2007-05-04 12:39:53 +00:00
Steve Dudenhoeffer e3240214a3 Fixed some typos 2007-04-26 14:20:19 +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
Steve Dudenhoeffer 0d5531a090 IMessage now supports unlimited messages and uses pcvars 2007-04-24 18:18:45 +00:00
Steve Dudenhoeffer 2659c906fb Changed map list to use dynamic arrays 2007-04-24 17:41:56 +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 ea912f794c Stole the magical any: tag from sourcemod 2007-04-24 13:36:36 +00:00
Steve Dudenhoeffer 2c2259ea15 Fixed possible issue that could arise with the new newmenu last page handler :O 2007-04-20 15:47:55 +00:00
Steve Dudenhoeffer be4fdb1776 Fixed the completely börked handling of the last page with newmenus. 2007-04-20 15:27:04 +00:00
Steve Dudenhoeffer 76158b031d Forgot to actually register LookupLangKey :o 2007-04-20 03:02:41 +00:00
Steve Dudenhoeffer 599029b68e Fixed an issue where "exit" wasn't working properly on pages with valid next and more selections. 2007-04-20 02:59:35 +00:00
Steve Dudenhoeffer 201d65749e Added LookupLangKey for the upcoming show_activity changes. 2007-04-20 02:55:59 +00:00
Steve Dudenhoeffer 17d8197e72 Added amb#34 - Plugin cvar/command menus.
Still need to add ML support.
2007-04-18 15:52:03 +00:00
Steve Dudenhoeffer 1ed1d0005c Added menu property to change number color 2007-04-18 04:20:48 +00:00
Steve Dudenhoeffer 51f8d7f84e Added a more intuitive method for rcon-protecting cvars.
Added SQL cvars to the protected list
2007-04-17 19:03:25 +00:00
Steve Dudenhoeffer 7b4283bf4a Fixed amb207: Last item displayed as "10" instead of "0" on new menus. 2007-04-13 23:59:52 +00:00
Steve Dudenhoeffer 1f423dc39f Fixed amb208: new menu state not being reset when item has no state callback. 2007-04-13 23:57:14 +00:00
Steve Dudenhoeffer ab6fea5767 Added amb202: csstats_rankbots in amxx.cfg
Organized comments a bit in all config files.

Added default value comments to all cvars.
2007-04-13 20:21:51 +00:00
Steve Dudenhoeffer 3328b570d4 Removed accidental server debug output. 2007-04-13 18:44:39 +00:00
Steve Dudenhoeffer 63427b2ad0 Added amb51 - 4 options in amx_vote
Also fixed a potential formatting issue with the vote display.
2007-04-13 18:43:36 +00:00
Steve Dudenhoeffer 61052c41a1 added amb64 - amx_voteban auto detects if it should ip ban. 2007-04-13 18:17:24 +00:00
Steve Dudenhoeffer 5c68df7ac7 Fixed the damn comments 2007-04-02 18:39:38 +00:00
Steve Dudenhoeffer 8872d98dd6 Possible fix for amb86: "USER" key should have been "PLAYER" 2007-03-30 14:33:52 +00:00
Steve Dudenhoeffer 03bae80ed2 Addendum to revision 3434; fixed for other mods, although they're not multilingual, just in-case. 2007-03-30 13:35:08 +00:00
Steve Dudenhoeffer 1161b5ee7e Fix for amb91: miststats buffer was too small for some language translations.
Not sure if this affects other mods, need to look through their stats stuff.
2007-03-30 13:22:12 +00:00
Steve Dudenhoeffer b49bf1b13c Fix for amb78: get_concmdsnum result caching causing discrepencies 2007-03-30 02:13:49 +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
Steve Dudenhoeffer b9a0ffacc4 Fix for amb118: amx_help would not output ADMIN_ADMIN commands 2007-03-30 01:52:10 +00:00
Steve Dudenhoeffer e326ab1593 Fixed amb94 - Name length in amx_psay
I'm never trusting Brad again.
2007-03-18 12:10:36 +00:00
Steve Dudenhoeffer 7124f8bd2c MSVC didn't like my cdecl placement :( 2007-03-10 18:16:21 +00:00
Steve Dudenhoeffer c9b19c76a5 Added a whole lot more functions that nobody will use 2007-03-10 18:05:30 +00:00
Steve Dudenhoeffer 8939c3076a Continued making adding new entries easier
{hs_}register_function->ham_register(HamHook:function,...)

Added a few more hooks

Fixed a few directory errors

Updated config file
2007-03-09 18:15:09 +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
Steve Dudenhoeffer 1f1edef98d Merged in NS 3.2 Final offsets 2007-03-01 22:39:57 +00:00
Steve Dudenhoeffer 77e7ea161b Fixed half of amb29 - Debug plugins could not be paused/stopped
Waiting on language keys to fix the rest
2007-02-21 21:03:48 +00:00
Steve Dudenhoeffer e35a8326d5 Fixed an issue where backwards amx mod compatibility layer wasn't transparent. 2007-02-20 22:25:17 +00:00
Steve Dudenhoeffer 615e097c68 Fixed am49892 - Plugin load fails going to error logs instead of normal logs 2007-02-19 08:46:43 +00:00
Steve Dudenhoeffer ade56b62e9 Fixed am50089 - unary - float operator 2007-02-19 08:11:00 +00:00
Steve Dudenhoeffer b3d7f04b5e Fixed am50530 - amx_psay output format fix 2007-02-19 07:34:38 +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 d45c3aeb96 Fixed am51050 - "amxx {pause,unpause" had misleading output 2007-02-19 06:57:26 +00:00
Steve Dudenhoeffer fff603635a Fixed am51051 - unpause() returning true on stopped plugins 2007-02-19 06:43:52 +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