Commit Graph

5289 Commits

Author SHA1 Message Date
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
6b1650ae4f Merge pull request #274 from xPaw/patch-1
Fix resource leak when reading hamdata.ini
2015-07-30 13:23:03 +02:00
Pavel Djundik
378d89af2f Fix resource leak when reading hamdata.ini 2015-07-30 14:02:46 +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
aa5c340029 NS: Fix ns_remove_upgrade() native 2015-07-29 20:49:14 +02:00
Arkshine
a35af02494 NS: Refactor some bits 2015-07-29 20:21:09 +02:00
Vincent Herbet
decde43371 Merge pull request #270 from Arkshine/fix/ml-parser-with-empty_value
Fix a ML parser crash on key with an associated empty value
2015-07-29 09:45:14 +02:00
Arkshine
2d583aa83a Fix a ML parser crash on key with an associated empty value 2015-07-28 15:41:16 +02:00
Vincent Herbet
57037740fd Merge pull request #269 from Arkshine/update-libmaxminddb
Update libmaxminddb to v1.1.0
2015-07-22 12:57:46 +02:00
Arkshine
8efa1ba067 Update libmaxminddb to v1.1.0 2015-07-22 00:21:44 +02:00
Vincent Herbet
2162059352 Merge pull request #268 from Arkshine/fix/handle-name-conflict
Rename Handle class to avoid name collision in mac
2015-07-21 00:23:13 +02:00
Arkshine
6b3b351c9a Rename Handle class to avoid name collision in mac 2015-07-21 00:18:54 +02:00
Vincent Herbet
c6a3290c4f Merge pull request #267 from Arkshine/feature/unregister_event
Add enable/disable_event() native (bug 6360)
2015-07-21 00:00:28 +02:00
Arkshine
df5d935194 Add enable/disable_event() native 2015-07-20 23:06:32 +02:00
Vincent Herbet
075ed7b7b4 Merge pull request #265 from Arkshine/fix/set-log-type
Retrieve log type in MetaAttach to allow log to be written earlier
2015-07-18 10:21:09 +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
83bc3f518b Fix wrong buffer length 2015-07-17 19:12:02 +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
4ed80b88de Merge pull request #255 from Arkshine/feature/cstrike-gamedata
Update cstrike module - 1
2015-07-15 22:21:08 +02:00
Arkshine
662fa61fc7 Cstrike: Fix typos and improve things 2015-07-15 16:40:07 +02:00
Arkshine
dcc2d91b14 Cstrike: cs_get_user_driving - Add the associated constants from HLSDK 2015-07-14 19:44:10 +02:00
Arkshine
86e33d0cb1 Cstrike: cs_set_user_model - Add a param to choose whether modelindex should be updated 2015-07-14 19:44:10 +02:00
Arkshine
5d6f829624 Cstrike: Rename file for consistency 2015-07-14 19:44:09 +02:00
Arkshine
1ed354890b Cstrike: Add CSI_SHIELD for convenience and fix typos 2015-07-14 19:44:08 +02:00
Arkshine
939aad5cb9 Cstrike: cs_set_user_team - Add a param to choose whether TeamInfo message should be sent 2015-07-14 19:44:08 +02:00
Arkshine
8be119aa6a Cstrike: cs_set/reset_user_model/team - Stagger user's info updates across multiple frames (bug 3134) 2015-07-14 19:44:08 +02:00
Arkshine
aedde87f42 Cstrike: cs_set_user_zoom - Use a more event-based approach when mode is 0 2015-07-14 19:44:07 +02:00
Arkshine
63a0910f5b Cstrike: cs_get/set_armoury_type - Add a param to get/set the number of weapons inside an armoury 2015-07-14 19:44:06 +02:00
Arkshine
81f9a23d16 Cstrike: cs_get_user_armor - Make optional armortype param 2015-07-14 19:44:06 +02:00
Arkshine
7842d0160b Cstrike: cs_set_weapon_silen - Add a new value for draw_animation to follow game behavior
- Player's model sequence will be properly played
- Disallow firing while animation is playing
2015-07-14 19:44:06 +02:00
Arkshine
87d740b92a Cstrike: Add CZ support for some hostage natives 2015-07-14 19:44:05 +02:00
Arkshine
d9a9b7a74e Cstrike: Add support for monster_scientist entity (alias of hostage_entity) 2015-07-14 19:44:05 +02:00
Arkshine
27d6a0cc08 Cstrike: cs_get_hostage_id - Fix error check, an hostage can't be a player 2015-07-14 19:44:04 +02:00
Arkshine
b82588f081 Cstrike: cs_set_user_deaths - Add a param to choose whether scoreboard should be updated 2015-07-14 19:44:04 +02:00
Arkshine
71c6ac8c2e Cstrike: cs_set_no_knives - pfnCreateNamedEntity is now hooked only when needed 2015-07-14 19:44:03 +02:00
Arkshine
2de1f9a33b Cstrike: Do some more cleanup 2015-07-14 19:44:03 +02:00
Arkshine
f13461caee Cstrike: Cache GET_USER_MSG_ID calls 2015-07-14 19:44:02 +02:00
Arkshine
84c320d539 Cstrike: Do some cleanup for the sake of consistency and readability 2015-07-14 19:44:02 +02:00
Arkshine
864e0b88eb Cstrike: Move all hardcoded datas to its own gamedata files 2015-07-14 19:44:01 +02:00
Vincent Herbet
6555ecf6b8 Merge pull request #263 from Sylvert0/master
Fix CS_OnBuyAttempt
2015-07-14 15:55:07 +02:00
Iván Lo Giudice
f3df286985 Fix CS_OnBuyAttempt
If i dont have CS_OnBuy on my plugin, CS_OnBuyAttempt doen't work
2015-07-14 10:40:16 -03: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
Vincent Herbet
fab9dbf294 Merge pull request #262 from Arkshine/remove-makefile
Remove MakeFile
2015-07-14 00:40:02 +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