Arkshine
02ac6fa2d7
Update to the latest AMTL - Rename Ref to RefPtr.
2015-11-23 14:45:07 +01:00
Arkshine
ffe8b7761e
Cstrike: Move CSW_* constants from amxconst.inc to cstrike_const.inc
2015-11-03 10:45:49 +01:00
IgnacioFDM
b78c239395
Remove extra semicolon
2015-10-20 05:34:18 -03:00
Arkshine
42fb860077
Fix a potential crash if SV_DropClient address could not be found
2015-10-15 12:50:58 +02:00
Arkshine
9bee1f7edf
Consistency: Replace GETEDICT with HLTypeConversion in core
2015-10-08 19:36:42 +02:00
Arkshine
9980b7ac62
Fix some natives relying on a known engine bug related to last player's edict being invalid
2015-10-06 17:19:01 +02:00
Arkshine
c29eabec50
Fix max length inconsistencies + typo
2015-10-05 19:12:30 +02:00
Arkshine
138b9e1510
Remove UTIL_Format() and UTIL_VarArgs()
2015-10-05 19:12:08 +02:00
Arkshine
f22dc769f4
Replace some LibraySys usage with AMTL primitives
2015-10-02 23:22:22 +02:00
Arkshine
f976861e21
Fix AMBuild and VS projects files
2015-10-02 23:22:22 +02:00
Arkshine
2d910838a2
Fix AMTL internal paths
2015-10-02 23:22:21 +02:00
Vincent Herbet
ac2bcb2d19
Merge pull request #282 from Arkshine/gamedata-type-desc
...
Modify game config parser to support more offset data and reflect changes
2015-09-07 09:10:28 +02:00
Vincent Herbet
b63e63cfcd
Fix crash when dynamic native is executed with the max number of params
...
This fixes a buffer overflow with `g_Params`, which has a size of 16 but params index starts to 1. As consequence when 16 params are passed, `g_Params[16]` is indexed and likely overwrites something important which leads to a crash at some point.
It doesn't happen in 1.8.2. Possible reasons why it happens in dev version is this uses newer compiler and compiling optimization are better , resulting crash is triggered now.
Reported here https://forums.alliedmods.net/showthread.php?t=271103 .
2015-09-05 17:49:37 +02:00
Vincent Herbet
57a5004f4e
Fix typo
...
Related to #266 . Looks like I've changed the prefix afterward at some point for some reason, but engine is retarded and with `plugin.something.cfg` it will understand extension is `something` instead of `cfg` ; and will fail to execute as it's an invalid extension (only `cfg` and `rc` are allowed).
2015-09-05 08:42:31 +02:00
Arkshine
0005d1a6b5
Update AMTL submodule from upstream and reflect changes
2015-08-26 11:15:07 +02:00
Arkshine
5b8bbddbc1
AutoExecConfig: Adjust few things
2015-08-26 10:38:31 +02:00
Arkshine
78b1154b8d
AutoExecConfig: Do not traumatize Travis and Nextra
2015-08-14 16:38:29 +02:00
Arkshine
9a1dc5d179
AutoExecConfig: Add AutoExecConfig native
2015-08-14 16:38:27 +02:00
Arkshine
f22185d646
AutoExecConfig: Enable the configs
2015-08-14 16:38:27 +02:00
Arkshine
517a08e134
AutoExecConfig: Add CoreConfig class + OnAutoConfigsBuffered / OnConfigsExecuted forwards
2015-08-14 16:37:48 +02:00
Arkshine
ed4faf7c11
Fix player not being internally disconnected in some situation + add client_disconnected forward
2015-08-14 00:08:50 +02:00
Vincent Herbet
83a72a6e3a
Fix MPROP_NOCOLORS menu property not working
2015-08-13 12:04:31 +02:00
Arkshine
5f0b92f7c3
Fix typos
2015-08-12 10:43:59 +02:00
Arkshine
f4f4d966f3
Reflect changes where game config functions are used
2015-08-10 18:05:59 +02:00
Arkshine
7423ac6824
Modify game config parser to support more offset datas (type, size, etc.)
2015-08-10 18:05:59 +02:00
Vincent Herbet
4563f56e77
Merge pull request #277 from Arkshine/fix/potential-issues
...
Fix some potential issues
2015-08-10 15:28:32 +02:00
Arkshine
4d3e31cf6c
Fix an SortADTArray() issue where strings are not properly sorted
2015-08-04 17:08:40 +02:00
Arkshine
5987f389c6
Fix some potiental issues
2015-07-31 15:46:16 +02:00
Vincent Herbet
8c0534a055
Fix typo
2015-07-30 19:54:40 +02:00
Pavel Djundik
79bb453bb6
Return an error on Err_OldFile instead of falling through to default case
2015-07-30 15:59:01 +03:00
Vincent Herbet
8c16331b69
Merge pull request #272 from Arkshine/feature/textparser-data-param
...
Add a data argument in INI/SMC_ParseFile() to pass through to callbacks (bug 6228)
2015-07-30 10:43:44 +02:00
Vincent Herbet
fc4455d837
Merge pull request #273 from Arkshine/fix/newmenu-typo
...
Fix typo in newmenus (bug 6394)
2015-07-30 10:43:36 +02:00
Arkshine
5f83f77b2e
Fix typo in newmenus
2015-07-30 00:28:18 +02:00
Arkshine
6d6a1c1ab0
Add a data argument in INI/SMC_ParseFile() to pass through to callbacks (bug 6228)
2015-07-29 22:23:13 +02:00
Arkshine
2d583aa83a
Fix a ML parser crash on key with an associated empty value
2015-07-28 15:41:16 +02:00
Arkshine
6b3b351c9a
Rename Handle class to avoid name collision in mac
2015-07-21 00:18:54 +02:00
Arkshine
df5d935194
Add enable/disable_event() native
2015-07-20 23:06:32 +02:00
Arkshine
109b3481a7
Retrieve log type in MetaAttach to allow log to be written earlier
2015-07-18 09:55:13 +02:00
Vincent Herbet
717735311b
Fix typo
2015-07-17 17:53:52 +02:00
Vincent Herbet
e3489be0c0
Merge pull request #260 from Arkshine/feature/more-amtl-conversion
...
More AMTL conversion - 🔥 CString and CVector
2015-07-16 12:24:06 +02:00
Arkshine
9223989a01
Fix consistency
2015-07-16 08:11:19 +02:00
Vincent Herbet
b8dd9d19dd
Merge pull request #261 from Arkshine/feature/datapack-memory
...
Improve DataPack memory allocation
2015-07-14 00:40:15 +02:00
Arkshine
c0b9b91a06
Remove MakeFile
2015-07-14 00:13:24 +02:00
Arkshine
f7c4ed050f
Improve DataPack memory allocation
2015-07-13 23:49:51 +02:00
Arkshine
c775cfca73
More AMTL conversion - 🔥 CString and CVector
2015-07-13 23:37:20 +02:00
Ni3znajomy
cc12f0a0a4
Fix mistake
2015-07-11 20:18:43 +02:00
Arkshine
dbc9c7e0da
Remove duplicated code of native handles
2015-07-11 18:14:16 +02:00
Vincent Herbet
989034bd41
Attempt to fix mac build
2015-07-11 13:33:30 +02:00
Vincent Herbet
139a2a082c
Merge pull request #254 from Arkshine/feature/gameconfig
...
Implement a game config parser and expose functionnalities to the module/plugin API
2015-07-11 13:19:09 +02:00
Arkshine
f38c726faf
Gameconfig: Add game configs natives
2015-07-11 13:16:45 +02:00