Commit Graph

4868 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
Vincent Herbet
5a7752a22e Merge pull request #205 from ClaudiuHKS/patch-1
Fix missing "queuetime" FP_ param in SQL_ThreadQuery (sqlite) callback
2015-02-13 10:38:41 +01:00
HttrckCldHKS
ddb1af89e9 Added new FP_CELL to SQLite Forward
Added new FP_CELL to SQLite Forward.
2015-02-13 09:08:27 +02:00
Vincent Herbet
7452317c10 Merge pull request #203 from Arkshine/fix/crash-on-shutdown
Fix crash by freeing memory the right way
2015-02-12 14:46:53 +01:00
Arkshine
120e5b94f9 Fix crash by freeing memory the right way 2015-02-12 14:37:46 +01:00
Vincent Herbet
4ec11496e6 Fix missing new lines in "amxx version" command 2015-02-12 10:46:20 +01:00
Vincent Herbet
c556bf9f68 Merge pull request #202 from Arkshine/fix/crash-null-detour
Fix crash when cvar hook detour is not created
2015-02-11 00:19:08 +01:00
Arkshine
fb28b2d416 Fix missing parenthesis. 2015-02-11 00:18:22 +01:00
Arkshine
e99a1c8b09 Fix crash when cvar hook detour is not created 2015-02-10 23:19:03 +01:00
Vincent Herbet
0b80c4367d Merge pull request #201 from Arkshine/cleanup-geoip-code
Cleanup some code from previous commits
2015-02-08 11:24:37 +01:00
Arkshine
e95d5ed43c Cleanup some code from previous commits 2015-02-08 11:23:54 +01:00
Vincent Herbet
553663c952 Merge pull request #200 from ClaudiuHKS/master
Set length to 0 on failed lookup in lookupString()
2015-02-08 11:01:43 +01:00
HttrckCldHKS
780ce669d0 >> RENAMED maxminddb.cpp (FILTERS)
RENAMED maxminddb.cpp TO maxminddb.c (FILTERS)
2015-02-07 18:42:01 -08:00
HttrckCldHKS
47b5ff9a93 >> FIXED lookupString() LENGTH ISSUE
In (const char *) lookupString() :
For (const char *) NULL result :

Length must be ZERO, if defined.
2015-02-07 18:40:52 -08:00
HttrckCldHKS
2bc6ced671 >> RENAMED maxminddb.cpp (MAKEFILE)
RENAMED maxminddb.cpp TO maxminddb.c (MAKEFILE)
2015-02-07 18:39:21 -08:00
HttrckCldHKS
f4738600b4 Merge pull request #1 from ClaudiuHKS/ClaudiuHKS-patch-1
>> RENAMED maxminddb.cpp (VCXPROJ)
2015-02-07 18:37:00 -08:00
HttrckCldHKS
83c0789246 >> RENAMED maxminddb.cpp (VCXPROJ)
>> RENAMED maxminddb.cpp TO maxminddb.c (VCXPROJ)
2015-02-07 18:34:46 -08:00
Vincent Herbet
0424aa7c19 Merge pull request #148 from Arkshine/update-sqllite
Update sqlite
2015-02-07 18:23:03 +01:00
Vincent Herbet
3e6d806ce2 Merge pull request #198 from Arkshine/fix/geoip_country-return-on-fail-lookup
Fix various compatibility issue with geoip module
2015-02-07 17:51:49 +01:00
Arkshine
77762b9c2c Fix typo in documentation 2015-02-07 17:51:30 +01:00
Arkshine
34de3964e6 More cleanup 2015-02-07 16:33:48 +01:00
Arkshine
5241fdf673 Add geoip_country_ex, mark geoip_country as deprecated, and do some cleanup 2015-02-07 16:26:40 +01:00
Arkshine
51adb7385c Fix a compatibility issue with geoip_country native 2015-02-06 23:25:26 +01:00
Vincent Herbet
21edabf07f Merge pull request #197 from Arkshine/fix/osx-compilation-free
Fix OSX compilation
2015-02-06 22:10:43 +01:00
Arkshine
7d6705345d Fix OSX compilation 2015-02-06 22:08:32 +01:00
Vincent Herbet
2dc1982e11 Merge pull request #196 from Arkshine/fix/floorf-dependency-linux
Fix missing libm linkage under linux (math functions like floor, etc.)
2015-02-06 21:51:42 +01:00
Vincent Herbet
041113dbc4 Merge pull request #194 from Freeman-AM/amxmisc-smallupdate
amxmisc.inc: Missing charsmax, more readability, more compliance to amxmodx style.
2015-02-06 21:51:26 +01:00
Arkshine
c93995a827 Fix missing libm linkage (math functions like floor, etc.) 2015-02-06 21:37:14 +01:00
Freeman-AM
35eeb6036d missing alignment 2015-02-06 01:36:32 +01:00
Freeman-AM
9e5810e615 amxmisc.inc: Missing charsmax, more readability, more compliance to amxmodx style 2015-02-06 01:32:33 +01:00
Vincent Herbet
a51904b13f Merge pull request #192 from Arkshine/fix/max_players
Change MAX_PLAYERS value to 32
2015-02-03 10:58:39 +01:00
Vincent Herbet
c4ec65bd5a Merge pull request #193 from Arkshine/fix/cstrike-crash-on-start
Cstrike: Fix crash at server start
2015-02-02 12:50:56 +01:00
Arkshine
604f227751 Sqlite: Update broken VS project files 2015-02-02 11:22:45 +01:00
Arkshine
61063a54ef Sqlite: Update library to 3.8.8.2 2015-02-02 11:06:07 +01:00
Arkshine
162171618c Sqlite: Update library to 3.8.7.
Sqlite: Update project files.
2015-02-02 11:06:05 +01:00
Arkshine
14f06ca1bb MAX_PLAYERS: Fix moar 2015-02-01 21:45:16 +01:00
Arkshine
c47896232c CStrike: Fix crash 2015-02-01 20:43:06 +01:00
Arkshine
91c4b5d708 MAX_¨PLAYERS: Fix more. 2015-02-01 20:34:35 +01:00
Arkshine
e441908230 MAX_PLAYERS: Fix plugins 2015-02-01 19:25:36 +01:00
Arkshine
1b350b627b MAX_PLAYERS: Change value in includes 2015-02-01 18:40:20 +01:00
Vincent Herbet
dd38ee103b Merge pull request #189 from Arkshine/feature/add-cs_create_entity
Add cs_create_entity and cs_find_ent_by_class natives
2015-01-31 16:39:43 +01:00
Vincent Herbet
53829a1270 Merge pull request #191 from Arkshine/fix/compiler-tagof
Fix tagof operator used as a default value for function arguments
2015-01-31 16:39:33 +01:00
Vincent Herbet
14b072dd47 Merge pull request #190 from Freeman-AM/small-plmenu-update
Plmenu: small update: formatex, semicolon, missing things, remove useless TABs
2015-01-31 16:39:18 +01:00
Arkshine
30ee4df0fa Fix typo 2015-01-31 15:38:35 +01:00
Arkshine
4ceb767022 Add error messages and fix documentation 2015-01-31 14:45:37 +01:00
Arkshine
b0543a111d Fix tagof operator used as a default value for function arguments 2015-01-30 23:34:04 +01:00
Freeman-AM
7a3ee17093 Remove #pragma semicolon 1
It could disturb non initiated people who want to modify base plugins.
2015-01-30 22:57:31 +01:00
Arkshine
e0426f10b2 Fix typo 2015-01-30 16:01:26 +01:00
Vincent Herbet
6319331a33 Merge pull request #188 from Arkshine/feature/mysql-rw-and-default-timeout
Establish a default timeout for MySQL connectivity
2015-01-30 15:56:40 +01:00