Javivi
9674e13cfb
Update docs and fix AMBuild
...
Updated documentation following the guidelines
2015-10-12 00:32:56 +02:00
Javivi
533e858ab9
Module rewrite
...
- WinSock version changed from 1.1 to 2.2.
- Properly check for WinSock initialization on OnAmxxAttach/Detach.
- Now natives will not be added if we can't start up WinSock.
- socket_open() is now IP version agnostic (both IPv4 and IPv6 are
supported).
- Error reporting has been changed on socket_open(), a new parameter
called _libc_errors has been added, and, if enabled, libc errors will be
returned instead of the previous made-up errors.
- socket_close() now returns a value on success/failure.
- Added non-blocking sockets at socket_open_nb().
- Added socket_is_writable() to check if a socket is ready for write.
- Added socket_is_readable() as an alias to socket_change().
- Code rewritten to be more readable, it should be self-explaining now.
2015-10-11 23:20:23 +02:00
Arkshine
b3e5e10473
Fix retrieval of sv address not working under linux
2015-10-11 13:25:31 +02:00
Arkshine
9997c31703
Fix (get/set)_pdata_(int/float) using the wrong offset value (typo from #297 )
2015-10-09 20:30:45 +02:00
Arkshine
9bee1f7edf
Consistency: Replace GETEDICT with HLTypeConversion in core
2015-10-08 19:36:42 +02:00
Arkshine
b65a0600ee
Consistency: Replace GETEDICT and variants with HLTypeConversion in cstrike module
2015-10-08 19:25:00 +02:00
Arkshine
6f301b5cea
Consistency: Replace GETEDICT, INDEXENT2 and others things with HLTypeConversion in hamsandwich module
2015-10-08 19:24:49 +02:00
Arkshine
bf5fdc2b5c
Consistency: Replace GetPlayerEdict with HLTypeConversion in fun module
2015-10-07 23:27:58 +02:00
Arkshine
e52fc14114
Consistency: Replace INDEXENT2 with HLTypeConversion in engine module
2015-10-07 23:27:57 +02:00
Arkshine
429a4596c1
Consistency: Replace INDEXENT2 and others things with HLTypeConversion in fakemeta module
2015-10-07 23:27:56 +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
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
Arkshine
16f65663dc
Add new natives to read/write on entity's private data based off class/member name available from gamedata files
2015-09-19 20:07:48 +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
Iván Lo Giudice
e4b635f5be
Update CstrikeNatives.cpp
2015-08-22 17:54:00 -03:00
Arkshine
f4f4d966f3
Reflect changes where game config functions are used
2015-08-10 18:05:59 +02:00
Vincent Herbet
20201290e3
Merge pull request #271 from Arkshine/fix/ns_remove_upgrade
...
Fix ns_remove_upgrade() native (bug 3394)
2015-08-10 15:28:44 +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
5987f389c6
Fix some potiental issues
2015-07-31 15:46:16 +02:00
Arkshine
73e84e9963
Fix "ham hooks" command not displaying all current hooks of a plugin
2015-07-31 14:25:19 +02:00
Pavel Djundik
378d89af2f
Fix resource leak when reading hamdata.ini
2015-07-30 14:02:46 +03: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
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
Arkshine
662fa61fc7
Cstrike: Fix typos and improve things
2015-07-15 16:40:07 +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
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
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
Arkshine
c0b9b91a06
Remove MakeFile
2015-07-14 00:13:24 +02:00
Valentin Grünbacher
a68df8de7f
Engine: Fix bcompat and consistency for CHECK_ENTITY
2015-07-13 15:38:37 +02:00
Vincent Herbet
846238fe99
Merge pull request #250 from Nextra/enginew
...
Engine Update
2015-07-02 18:43:35 +02:00