Arkshine
5f6756cb4d
Zlib: Remove unrelated changes
2015-03-10 00:06:30 +01:00
Arkshine
e60a2e9fcc
Zlib: Fix compilation (implicit-function-declaration error)
2015-03-10 00:06:30 +01:00
Arkshine
a565e4a7b1
Zlib: Update library to 1.2.8
2015-03-10 00:06:29 +01:00
Arkshine
265e15116b
Zlib: Adjust VS project files
2015-03-10 00:06:29 +01:00
Arkshine
85b7c26bb0
Zlib: Use the generated static library with MySQL module
2015-03-09 23:59:57 +01:00
Arkshine
9bbeb1f578
Zlib: Use the generated static library with AMXXPC
2015-03-09 23:59:12 +01:00
Arkshine
47cd091879
Zlib: Use the generated static library with AMXX
2015-03-09 23:59:11 +01:00
Arkshine
6ac5211062
Zlib: Compile as static library
2015-03-09 23:59:11 +01:00
Arkshine
25b1fa6fe0
Zlib: Add latest library version in /public directory
2015-03-09 23:59:10 +01:00
Vincent Herbet
dcae6a8a20
Merge pull request #218 from Arkshine/feature/amtl-upstream
...
Use upstream AMTL as a submodule
2015-03-09 23:25:15 +01:00
Arkshine
1ebd9044ca
Fix AppVeyor
2015-03-09 23:12:27 +01:00
Arkshine
181cbae74c
Use upstream AMTL as a submodule
2015-03-09 22:53:58 +01:00
Vincent Herbet
22c3d62dec
Merge pull request #208 from Nextra/inc-doc2
...
Update include documentation #2
2015-03-09 19:45:47 +01:00
Vincent Herbet
362a7e61f9
Merge pull request #214 from 9iky6/patch-13
...
Update menufront.sma
2015-03-09 14:47:08 +01:00
Vincent Herbet
c4497ff17d
Merge pull request #211 from Arkshine/fix/cvar-mapchange
...
Fix issue where at mapchange a cvar current value is overwritten by defined bounds where it should not
2015-02-20 15:50:49 +01:00
Vincent Herbet
62413f6277
Merge pull request #213 from ClaudiuHKS/CLang_mTime
...
Replace CLang file hashing with .st_mtime
2015-02-19 21:11:10 +01:00
Arkshine
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
Vincent Herbet
2b9e9c79b9
Merge pull request #207 from ClaudiuHKS/MySQLThreadingFix
...
Fix SQL Modules Threading
2015-02-18 19:34:18 +01:00
Vincent Herbet
3b16c6be92
Merge pull request #210 from Nextra/destroy-invalid
...
Fix ArrayDestroy/DestroyStack erroring on invalid handle
2015-02-18 00:44:26 +01:00
Vincent Herbet
af6c6850ec
Merge pull request #206 from ClaudiuHKS/master
...
Add new hashers and new natives
2015-02-17 14:34:38 +01: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
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
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
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
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
Arkshine
c87d46ad5b
Add cs_find_ent_by_class and fix documentation
2015-01-30 15:53:25 +01:00
Vincent Herbet
7d084ee0bf
Merge pull request #185 from Arkshine/feature/hooking-cvars
...
Introduce new features for cvars
2015-01-30 14:20:11 +01:00
Arkshine
1488b9747f
Cvars: De-frenchify by Nextra
2015-01-29 21:44:53 +01:00
Arkshine
2446ff49f2
Add cs_create_entity native
2015-01-29 20:43:01 +01:00
Arkshine
98d4031b5c
Add a new line at the end to not traumatize Nextra
2015-01-29 17:55:24 +01:00
Vincent Herbet
7e1911b13b
Merge pull request #187 from Arkshine/fix/nvault-formatting-issue
...
Fix potential formatting issue with nvault_[p]set
2015-01-29 17:26:49 +01:00
Vincent Herbet
1f304d55c4
Merge pull request #186 from Freeman-AM/product-version
...
Wrong product version for amxmodx-installer.nsi
2015-01-29 17:20:51 +01:00
Arkshine
9f93ff5168
Fix potential formatting issue with nvault_[p]set
2015-01-29 16:52:47 +01:00
Arkshine
a5b5c7e9cd
Cvars: Fix code to avoid Nextra be confused
2015-01-29 14:01:58 +01:00
Arkshine
f8ec7f94a4
Mysql: Establish a default timeout
2015-01-29 13:50:13 +01:00
Arkshine
f8baef15ca
Cvars: Adjust more things
...
- Moved some functions in CvarManager
- Fixed detour enabled all the time
- Fixed bounds not properly handled
- Refreshed data of regisetered cvars at map change
2015-01-28 23:51:43 +01:00
Arkshine
187b187ef2
Cvars: To not traumatize Nextra
2015-01-28 00:58:07 +01:00
Arkshine
ac50f3ff34
Cvars: Check lower/upper bounds in create_cvar as well
2015-01-28 00:47:01 +01:00
Arkshine
e4a7e67783
Cvars: Adjust few things
...
- Hook is not as post, because allowing blocking change is not really that useful and this makes a context more simpler.
- Setting a min bound > max bound and reversely throw an error
- set_pcvar_bounds set cvar value on new min/max bound.
- Remove error "A cvar can't be binded with several variables", it's okay to no error such situation.
2015-01-28 00:26:24 +01:00
Arkshine
1a5e1928ec
Cvars: Fix field orders and linux compilation
2015-01-27 16:27:26 +01:00
Arkshine
d75b14d4af
Cvars: Extend "amxx cvars" command output
2015-01-27 15:07:17 +01:00
Vincent Herbet
0bed55701f
Merge pull request #184 from Arkshine/fix/rename-change_level
...
Rename change_level to engine_changelevel
2015-01-27 00:21:50 +01:00
Arkshine
356a981164
Cvars: Add get/set_pcvar_bool natives
2015-01-26 14:26:48 +01:00
Arkshine
8a241ed0fd
Cvars: Add new description param in get_plugins_cvar
2015-01-25 11:38:01 +01:00
Arkshine
cb0b9da51f
Cvars: Add bind_pcvar_num/float/string
2015-01-24 21:31:00 +01:00
Arkshine
8ebb7be36d
Cvars: Add get|set_pcvar_bounds natives
2015-01-24 15:04:49 +01:00
Arkshine
a05d0df50e
Cvars: Add create_cvar native with more options (description, bounds)
2015-01-23 19:05:34 +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
768fa2c3bc
Cvars: Add hook_cvar_change, [enable|disable]_cvar_hook natives
2015-01-23 19:05:33 +01:00
Arkshine
0db5963641
Cvars: Remove global forward
2015-01-23 19:05:33 +01:00
Arkshine
cdc7d550eb
Cvars: Rearrange a bit some code
...
Changed class CCVar -> struct CvarInfo
Added CvarManager class and moved some code there
Code of registering a cvar is rewritten
Cvars datas are stored in a hashtable for fast lookup
For natives compatibility, an inline list is kept (though CList -> ke::InlineList)
Replace some CVAR_GET/SEt_ by FindVar
2015-01-23 19:05:32 +01:00
Arkshine
f973f5beb7
Cvars: Convert CString to ke::AString in CCVar class
2015-01-23 19:05:32 +01:00
Arkshine
6619176a76
Cvars: Move CCVar class to cvars.h
2015-01-23 19:05:31 +01:00
Arkshine
faeaf9259e
Cvars: Add OnCvarChanged global forward
...
I really tried to use "cvar_changed" as name, but it bothered me so much to look that weird I could not keep it.
2015-01-23 19:05:31 +01:00
Arkshine
34d91789c4
Cvars: Hook Cvar_DirectSet from engine library
2015-01-23 19:05:30 +01:00
Arkshine
cdfd789f56
Rename change_level to engine_changelevel
2015-01-23 16:55:16 +01:00
Vincent Herbet
5ca0e5617d
Merge pull request #173 from Arkshine/feature/compiler-concatenation
...
Add string literal concatenation and stringizing operator
2015-01-22 20:00:32 +01:00
Vincent Herbet
c197b58734
Merge pull request #183 from Arkshine/fix/cstrike-remove-stringtolower
...
Remove use of UTIL_StringToLowwer
2015-01-20 12:04:06 +01:00
Arkshine
8072f90536
Remove use of UTIL_StringToLowwer
2015-01-20 11:53:46 +01:00
Vincent Herbet
252f1919c2
Merge pull request #182 from Arkshine/fix/mysql-crash-amtl
...
Fix a mysql crash after CString -> ke::AString conversion
2015-01-18 19:27:35 +01:00
Vincent Herbet
2e64e9fd52
Merge pull request #181 from Arkshine/feature/add-new-fcvar
...
Add FCVAR_NOEXTRAWHITEPACE in amxconst.inc
2015-01-18 18:54:39 +01:00
Arkshine
c3e0753455
Fix a mysql crash after CString -> ke::AString conversion
2015-01-18 18:13:39 +01:00
Arkshine
03e426fc28
Add FCVAR_NOEXTRAWHITEPACE in amxconst.inc
2015-01-16 23:21:01 +01:00
Vincent Herbet
7f9d677f89
Merge pull request #178 from Arkshine/feature/update-libmaxminddb-1.0.4
...
Geoip: Update libmaxminddb to 1.0.4
2015-01-14 12:48:44 +01:00
Arkshine
314f2ec568
Geoip: Fix linux compilation
2015-01-14 12:37:43 +01:00
Arkshine
f09f4a4c6c
Geoip: Remove previous C99 compatibility changes with v100
...
Since we're compiling against v120_xp now, C99 is supported, which makes the previous compatibility changes pointless.
This reverts to the state of the original content.
For maintainability reason, it's welcomed.
For reference, the only change now is the moving of PACKAGE_VERSION define to be available for linux too (since we don't use configure.ac)
2015-01-14 12:35:04 +01:00