Vincent Herbet
0462ca02c8
Merge pull request #340 from Arkshine/fix/cstrike-lower-command
...
Fix CS_OnBuy* not triggered from alias containing uppercase letters
2016-01-25 01:03:41 +01:00
Vincent Herbet
209ff4d527
Merge pull request #339 from IgnacioFDM/fix-whitespace
...
Normalize line endings and whitespace
2016-01-23 22:56:46 +01:00
Vincent Herbet
fa7391e814
Merge pull request #330 from WPMGPRoSToTeMa/csgetuserweapon
...
Add cs_get_user_weapon_entity() and cs_get_user_weapon() natives
2016-01-23 17:53:54 +01:00
Arkshine
fafa1f11f0
Fix CS_OnBuy* not triggered from alias containing uppercase letters
2016-01-23 00:09:04 +01:00
Vincent Herbet
06290483da
Merge pull request #337 from Ni3znajomy/cvar_directset
...
Move Cvar_DirectSet to gamedata
2016-01-22 01:25:21 +01:00
Karol Szuster
0e8d876c5d
Move Cvar_DirectSet to gamedata
2016-01-21 23:50:07 +01:00
IgnacioDM
e502e12e07
Normalize line endings and whitespace
2016-01-16 21:15:52 -03:00
Vincent Herbet
60ebc444ab
Merge pull request #338 from Arkshine/fix/client_print_color
...
Improve client_print_color by inserting default color code at the start of string
2016-01-16 14:13:22 +01:00
Vincent Herbet
307dab47c8
Merge pull request #326 from Arkshine/feature/enable-disable-logevent
...
Add enable/disable_logevent() natives
2016-01-16 12:18:59 +01:00
Vincent Herbet
a64dbe0268
Merge pull request #331 from Arkshine/fix/buffer-oob
...
Fix an out of bound buffer index
2016-01-16 12:17:29 +01:00
Vincent Herbet
89dda4879b
Merge pull request #335 from Arkshine/fix/closing-newmenus
...
Fix recursion issue with show_menu and newmenus
2016-01-16 12:17:02 +01:00
Arkshine
240c81e626
Improve client_print_color by inserting default color code at the start of string
2016-01-16 12:09:13 +01:00
Arkshine
e634e512c8
Fix recursion issue with show_menu and newmenus
2016-01-15 12:56:16 +01:00
Vincent Herbet
af0042b71d
Merge pull request #333 from Arkshine/update-gitignore
...
Ignore .opendb extension introduced with VS 2015 Update 1
2016-01-11 20:00:36 +01:00
Arkshine
9df5bd708e
Ignore .opendb extension introduced with VS 2015 Update 1
2016-01-11 19:58:35 +01:00
Vincent Herbet
5b54a24b4e
Merge pull request #325 from flaviommedeiros/master
...
Avoiding directives that split up parts of statements.
2016-01-11 19:38:13 +01:00
Arkshine
4662109980
Fix an out of bound buffer index
2016-01-07 19:42:47 +01:00
WPMGPRoSToTeMa
b85b37192e
New natives: cs_get_user_weapon_entity and cs_get_user_weapon
2016-01-06 23:10:31 +03:00
Vincent Herbet
0af2c0e4c1
Merge pull request #328 from WPMGPRoSToTeMa/selinuxcompatibility
...
SELinux compatibility: memalign -> mmap
2016-01-04 17:27:09 +01:00
WPMGPRoSToTeMa
48d7a04c73
SELinux compatibility: memalign -> mmap
2016-01-03 21:38:31 +03:00
Vincent Herbet
866339eff6
Merge pull request #327 from Arkshine/fix/replace_stringex
...
Fix typo in replace_stringex native
2015-12-24 23:13:04 +01:00
Arkshine
b0e5e8d331
Fix typo in replace_stringex native
2015-12-24 19:12:55 +01:00
Arkshine
17a31b75d7
Add enable/disable_logevent() natives
2015-12-24 19:08:00 +01:00
Flavio Medeiros
f796df783c
Avoiding directives that split up parts of statements.
2015-12-24 12:42:34 -03:00
Vincent Herbet
ac37f8053b
Merge pull request #320 from Arkshine/fix/l-translation-specifier
...
Fix incorrect translation language for %l format identifier
2015-12-24 15:54:28 +01:00
Vincent Herbet
01d703cdbb
Merge pull request #323 from luxxxoor/patch-1
...
Adding flag parameter to user_silentkill.
2015-12-24 14:45:45 +01:00
Vincent Herbet
20959d1444
Merge pull request #322 from Ni3znajomy/feature/client-connecting
...
New client_connectex forward & extend client_authorized
2015-12-24 14:41:06 +01:00
Karol Szuster
62a5c54a18
Add client_connectex & extend client_authorized forward
2015-12-22 16:36:51 +01:00
luxxxoor
892f0519ad
Adding flag parameter to user_silentkill.
...
The api says that the user_silentkill() "Kills a user without a message.", that means it is just user_kill() without sending deathmsg.
But user_silentkill() automatically kills player without affecting the client's score (and that is not mentioned in api), so i'll add a second parameter to user_silnetkill() to let user to decide if he want to kill a player without or not affecting the table.
New parameter has the default value 1, so it won't break the compatibility.
2015-12-20 01:02:39 +02:00
Arkshine
6a18f8007d
Fix incorrect translation language for %l format identifier
2015-12-13 20:02:13 +01:00
Vincent Herbet
8bb8aaa0db
Merge pull request #318 from Arkshine/fix-cvar-bounds-and-hook
...
Enable hook detour on cvar with bounds regardless current value
2015-12-11 14:45:59 +01:00
Arkshine
cc9f679a85
Enable hook detour on cvar with bounds regardless current value
2015-12-11 10:33:54 +01:00
Vincent Herbet
7cdc72f936
Merge pull request #317 from WPMGPRoSToTeMa/hamposthookretval
...
Hamsandwich: fix HAM_OVERRIDE in post hooks (bug 6443)
2015-12-10 19:25:14 +01:00
WPMGPRoSToTeMa
5c8c925e8a
Hamsandwich: fix HAM_OVERRIDE in post hooks (bug 6443)
2015-12-09 21:38:08 +03:00
Vincent Herbet
8ec6136a7c
Merge pull request #315 from Arkshine/cstrike-sanity-check
...
Make sure client is alive before checking buying commands
2015-12-08 01:06:16 +01:00
Arkshine
5b0191f691
Make sure client is alive before checking buying commands
2015-12-07 19:20:48 +01:00
Vincent Herbet
0df3715894
Merge pull request #316 from Arkshine/fix/missing-master.games.txt
...
Fix missing master.games.txt reference in PackageScript
2015-12-05 18:49:58 +01:00
Arkshine
6190582f16
Fix missing master.games.txt reference in PackageScript
2015-12-05 18:43:33 +01:00
Vincent Herbet
4cea082303
Merge pull request #314 from Th3-822/fix-strncmp-case-sensitivity
...
Fix strncmp case sensitivity
2015-12-03 00:55:20 +01:00
Th3-822
578a2f9852
Fix strncmp case sensitivity
...
strncmp was using case insensitive call when ignorecase == false
2015-12-02 19:08:10 -04:30
Vincent Herbet
47f66a3d13
Merge pull request #310 from Arkshine/update-latest-amtl-refptr
...
Update to the latest AMTL - Rename Ref to RefPtr.
2015-11-23 20:17:27 +01:00
Arkshine
02ac6fa2d7
Update to the latest AMTL - Rename Ref to RefPtr.
2015-11-23 14:45:07 +01:00
Vincent Herbet
2971bb65fd
Merge pull request #309 from Arkshine/refactor-gamerules-retrieval
...
Refactor gamerules address retrieval
2015-11-23 00:58:37 +01:00
Vincent Herbet
91f02b145b
Merge pull request #308 from Arkshine/fix/cstrike-meta-return
...
Fix missing meta return in ServerActivate
2015-11-23 00:47:21 +01:00
Arkshine
42a09f8593
Fix missing meta return in ServerActivate
2015-11-23 00:35:44 +01:00
Arkshine
87b1833f73
Refactor gamerules address retrieval
2015-11-23 00:29:43 +01:00
Vincent Herbet
664c85106f
Merge pull request #278 from Arkshine/feature/cstrike-update-2
...
Update cstrike module - 2
2015-11-21 00:19:01 +01:00
Arkshine
a445e806ea
Cstrike: Refactor - Simplify forwards logic, fix and improve few things
...
- The logic around CS_OnBuy forward has been simplified. Since there is no way to have a consistent way to hook/block for all items, the new logic is to have as less as possible code, especially in blocking mode where we want to avoid to do extra stuffs (e.g blocking sound, event, etc).
* All guns + shield -> CanBuyThis()
* Nvgs and Fefuser only -> CanPlayerBuy()
* The others items -> GiveNamedItem() + AddAccount()
* Ammos -> -> BuyGunAmmo() + GiveNamedItem() + AddAccount()
- Fixed missing buyzone check when alias from console are used (CS_OnBUy* were incorrectly fired).
- Fixed an infinite loop when buying of ammos are blocked. Sorted by hooking BuyGunAmmo().
- Fixed blocking mode for some items. Some game behaviors were not blocked (e.g. weapon drop).
- Fixed forwards being triggered even though errors were found. Detours are now a destroyed and associated variables resetted when necessary. Toggling forwards state is now based on detours state.
- Moved things in its own functions (game functions to execute, class members retrieval)
- Renamed CommandAliases -> ItemInfos (more generic)
2015-11-21 00:13:06 +01:00
Vincent Herbet
1ad01f4989
Merge pull request #307 from Arkshine/fix/comma-compiler
...
Fix shifted warning messages from pawn compiler due to missing comma in array
2015-11-12 21:05:37 +01:00
Arkshine
6d9fe60608
Fix shifted warning messages from compiler due to missing comma in array
2015-11-12 20:13:54 +01:00