Commit Graph

98 Commits

Author SHA1 Message Date
HttrckCldHKS
38db4d3ae0 Updating hahsers INC files and Acknowledgements
INC files have been updated changing the information, adding new
details.
Acknowledgements file includes now Hashing Librarying license.
Spacing consistency has been fixed in CPP Hashing files.
Testsuite plug-in has been rewritten, now using Server Commands.
2015-02-16 16:30:45 +02:00
HttrckCldHKS
c071f53f2c Add new hashers and new natives
Replace the only hasher called MD5 with the ones listed below.

(+) CRC32, MD5, SHA1, SHA256, SHA3 224 BIT, SHA3 256 BIT, SHA3 384 BIT,
SHA3 512 BIT, Keccak 224 BIT, Keccak 256 BIT, Keccak 384 BIT and Keccak
512 BIT.

Add the natives listed below.

(+) hash_string(const string[], hashType:type, output[], const
outputSize)
(+) hash_file(const fileName, hashType:type, output[], const outputSize)
(+) is_arkshine_a_doctor() :  Hidden native, but a sign of recompense
for him being very active since 1.8.3 version of AMX Mod X
(+) get_system_endianness() :  Checks if the system is currently Big
Endian or Little Endian.

Add the following Enum.

(+) hashType {}
(+) sysEndianness {}

Deprecate the following natives.

(-) amx_md5()
(-) amx_md5_file()

It has been tested on Windows and Linux. The sanity checks seems to be
properly working, so no worries about them.

These are useful if people are using Sockets, cURLs or MySQLs in order
to compare hashes of different files On-line for further investigation.
You are not able to check if the files are older or newer, but you can
see if the content is different (Hash Checksum mismatch).

I'm glad I did this. Thanks to
2015-02-16 14:39:45 +02:00
Arkshine
1b350b627b MAX_PLAYERS: Change value in includes 2015-02-01 18:40:20 +01:00
Arkshine
15ad1d2247 Cvars: Moving cvars stuffs in its own files
cvars.cpp renamed to CvarManager.cpp
all cvars natives moved to a new cvars.cpp file
Pawn include is updated as wall.
2015-01-23 19:05:34 +01:00
Arkshine
03e426fc28 Add FCVAR_NOEXTRAWHITEPACE in amxconst.inc 2015-01-16 23:21:01 +01:00
Valentin Grünbacher
1fb91dc02e Merge branch 'master' of ssh://github.com/alliedmodders/amxmodx into inc-doc
Conflicts:
	plugins/include/amxmodx.inc
	plugins/include/message_const.inc
	plugins/include/sockets.inc
2014-08-07 01:44:04 +02:00
Valentin Grünbacher
2659e63483 amxconst: Add some more structure 2014-08-05 18:59:08 +02:00
Valentin Grünbacher
d9b20d7896 amxconst: Move SND_* constants where they belong 2014-08-05 18:48:37 +02:00
Scott Ehlert
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
Valentin Grünbacher
c9316542be amxconst: Grant @xPaw his beloved tabs 2014-08-04 02:32:12 +02:00
Valentin Grünbacher
9544364116 amxconst: Purge tabs 2014-08-04 00:35:52 +02:00
Valentin Grünbacher
79f15d5621 amxconst: Fix up the headings some more and move long descriptions to @note 2014-08-04 00:30:49 +02:00
Valentin Grünbacher
5aef27a3ab amxconst: Add proper headings for all constant types 2014-08-03 16:33:08 +02:00
xPaw
c068c0d0f4 Fix some comments 2014-08-02 19:12:32 +03:00
Vincent Herbet
d2595b8b92 Merge pull request #31 from xPaw/burn-baby-burn
Remove compatibility stuff from the core
2014-07-27 12:07:58 +02:00
xPaw
57a1004c15 Replace svn_version with default amxmodx_version which should get replaced by AMBuild regardless 2014-07-27 11:07:13 +03:00
Arkshine
1fe80667a2 Fix definitively unused variable warning. 2014-07-20 15:25:37 +02:00
Arkshine
e84653571c Fix stupid compiler warning on unused wariable. 2014-07-20 10:27:58 +02:00
Arkshine
ee99ee93e4 Add 👍 to MAX_PLAYERS for the sake of convenience. 2014-07-19 19:58:22 +02:00
Arkshine
2c4e99fe8d Add some generic constants to amxconst.inc file. 2014-07-19 19:46:40 +02:00
xPaw
2e6dc308a8 🔥 Remove backwards compatible CreateMultiForwardEx 2014-06-05 23:33:45 +03:00
xPaw
2696f0af0e 🔥 Remove compatibility stuff from the core 2014-06-05 23:00:47 +03:00
Vincent Herbet
08378eed4b Merge pull request #25 from Arkshine/feature-client_buy-forward
Implement CS_OnBuy forward + Do some clean up (bug 5906)
2014-06-03 10:20:13 +02:00
Arkshine
9d99863c7e Cstrike: Add CSW_SHIELDGUN constant (valid CS value) 2014-05-30 16:56:26 +02:00
Valentin Grünbacher
3b87c428dc Newmenus: Add necessary API changes for newmenu timeouts 2014-05-21 19:17:04 +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
5f210d3404 Append a note about usage of the new buffer size (related to ce4ef6e272) 2014-05-08 16:18:50 +02:00
Arkshine
3b0ce189ea Add print_radio constant (counter-strike only) 2014-05-02 19:13:38 +02:00
Arkshine
ce4ef6e272 Increase get_amxstring buffer size (bug 5901, r=ds) 2014-04-30 15:22:55 +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
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
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
David Anderson
8298158f08 newmenu stuff is now in its own nice callback. yay 2007-08-16 19:07:59 +00:00
Scott Ehlert
e6663991a7 All include files should be semicolon-correct now 2007-08-10 04:52:12 +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
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
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
42f23a832a bumped version number for plugins 2006-12-19 14:24:01 +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
d2ebca38a1 Experimental addition to CreateMultiForward() for bcompat 2006-10-22 03:49:23 +00:00
David Anderson
5ded9eef2a Bumped version numbers to 1.76a 2006-09-25 23:48:07 +00:00
Borja Ferrer
4692335abb bumped version 2006-08-21 02:01:57 +00:00
Scott Ehlert
2d75dfe865 Even more include file changes...
1) Moved message_begin, message_end, and write_ natives to messages.inc
2) Moved MSG constants to message_const.inc
All completely backwards compatible with compiling older plugins of course :)
2006-05-17 20:08:04 +00:00
Scott Ehlert
c0334deae1 Added a whole bunch of constants at29843
Some minor changes to some other inc files that aren't even worth mentioning
2006-05-17 19:33:45 +00:00
David Anderson
b2b001c9e4 added M_ in front to match HLSDK and other things 2006-05-11 13:12:41 +00:00