Commit Graph

5224 Commits

Author SHA1 Message Date
80b01d3505 Fix issue where at mapchange a cvar current value is overwritten by defined bounds where it should not 2015-02-19 16:05:49 +01:00
2b9e9c79b9 Merge pull request #207 from ClaudiuHKS/MySQLThreadingFix
Fix SQL Modules Threading
2015-02-18 19:34:18 +01:00
3fc438ffd1 Fix SQL modules threading system. 2015-02-18 10:32:45 +02:00
3b16c6be92 Merge pull request #210 from Nextra/destroy-invalid
Fix ArrayDestroy/DestroyStack erroring on invalid handle
2015-02-18 00:44:26 +01:00
78f577686a Fix ArrayDestroy/DestroyStack erroring on null handle 2015-02-17 23:24:17 +01:00
af6c6850ec Merge pull request #206 from ClaudiuHKS/master
Add new hashers and new natives
2015-02-17 14:34:38 +01:00
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
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
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
ddb1af89e9 Added new FP_CELL to SQLite Forward
Added new FP_CELL to SQLite Forward.
2015-02-13 09:08:27 +02:00
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
120e5b94f9 Fix crash by freeing memory the right way 2015-02-12 14:37:46 +01:00
4ec11496e6 Fix missing new lines in "amxx version" command 2015-02-12 10:46:20 +01:00
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
fb28b2d416 Fix missing parenthesis. 2015-02-11 00:18:22 +01:00
e99a1c8b09 Fix crash when cvar hook detour is not created 2015-02-10 23:19:03 +01:00
0b80c4367d Merge pull request #201 from Arkshine/cleanup-geoip-code
Cleanup some code from previous commits
2015-02-08 11:24:37 +01:00
e95d5ed43c Cleanup some code from previous commits 2015-02-08 11:23:54 +01:00
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
780ce669d0 >> RENAMED maxminddb.cpp (FILTERS)
RENAMED maxminddb.cpp TO maxminddb.c (FILTERS)
2015-02-07 18:42:01 -08:00
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
2bc6ced671 >> RENAMED maxminddb.cpp (MAKEFILE)
RENAMED maxminddb.cpp TO maxminddb.c (MAKEFILE)
2015-02-07 18:39:21 -08:00
f4738600b4 Merge pull request #1 from ClaudiuHKS/ClaudiuHKS-patch-1
>> RENAMED maxminddb.cpp (VCXPROJ)
2015-02-07 18:37:00 -08:00
83c0789246 >> RENAMED maxminddb.cpp (VCXPROJ)
>> RENAMED maxminddb.cpp TO maxminddb.c (VCXPROJ)
2015-02-07 18:34:46 -08:00
0424aa7c19 Merge pull request #148 from Arkshine/update-sqllite
Update sqlite
2015-02-07 18:23:03 +01:00
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
77762b9c2c Fix typo in documentation 2015-02-07 17:51:30 +01:00
34de3964e6 More cleanup 2015-02-07 16:33:48 +01:00
5241fdf673 Add geoip_country_ex, mark geoip_country as deprecated, and do some cleanup 2015-02-07 16:26:40 +01:00
51adb7385c Fix a compatibility issue with geoip_country native 2015-02-06 23:25:26 +01:00
21edabf07f Merge pull request #197 from Arkshine/fix/osx-compilation-free
Fix OSX compilation
2015-02-06 22:10:43 +01:00
7d6705345d Fix OSX compilation 2015-02-06 22:08:32 +01:00
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
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
c93995a827 Fix missing libm linkage (math functions like floor, etc.) 2015-02-06 21:37:14 +01:00
35eeb6036d missing alignment 2015-02-06 01:36:32 +01:00
9e5810e615 amxmisc.inc: Missing charsmax, more readability, more compliance to amxmodx style 2015-02-06 01:32:33 +01:00
a51904b13f Merge pull request #192 from Arkshine/fix/max_players
Change MAX_PLAYERS value to 32
2015-02-03 10:58:39 +01:00
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
604f227751 Sqlite: Update broken VS project files 2015-02-02 11:22:45 +01:00
61063a54ef Sqlite: Update library to 3.8.8.2 2015-02-02 11:06:07 +01:00
162171618c Sqlite: Update library to 3.8.7.
Sqlite: Update project files.
2015-02-02 11:06:05 +01:00
14f06ca1bb MAX_PLAYERS: Fix moar 2015-02-01 21:45:16 +01:00
c47896232c CStrike: Fix crash 2015-02-01 20:43:06 +01:00
91c4b5d708 MAX_¨PLAYERS: Fix more. 2015-02-01 20:34:35 +01:00
e441908230 MAX_PLAYERS: Fix plugins 2015-02-01 19:25:36 +01:00
1b350b627b MAX_PLAYERS: Change value in includes 2015-02-01 18:40:20 +01:00
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
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
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