Commit Graph

375 Commits

Author SHA1 Message Date
s1lentq
b4fec27dc6 ReGameDLL API: Added calls func AddEntityHashValue, RemoveEntityHashValue, GetItemInfo, GetAmmoInfo
Fix: mp_refill_bpammo_weapons 2 - was not refill bpammo for shotguns.
2016-08-05 18:35:45 +07:00
s1lentq
5864d1ea34 Bugfix: func_door_rotating with spawnflags SF_DOOR_START_OPEN (working incorrectly)
Bugfix: func_breakable not precached some sound files.
2016-08-03 23:40:12 +07:00
s1lentq
611344ed05 Fix touched armoury_entity 2016-08-03 14:35:36 +07:00
s1lentq
c3e632eacc adjustment physics of amoury_entity (#51) 2016-08-02 09:03:01 +00:00
s1lentq
07e861eb30 Added cvar mp_team_maxkills
Changed enum AmmoType
2016-07-28 07:05:00 +07:00
s1lentq
baac9cbad4 Bugfix: leak entities from weaponbox when touched grenades. (bug by valve)
CZBot: the check cvar bot_deathmath on every time.
2016-07-21 07:25:49 +07:00
s1lentq
aa8a8e7bb1 Cleaning sdk 2016-07-20 18:40:03 +07:00
s1lentq
1e8180f5ad Added gradle task buildFixes for faster building. 2016-07-18 06:49:12 +07:00
s1lentq
8914b84129 Fix the bots behavior when death bot_kill and mp_freeforall 1 2016-07-18 03:48:24 +07:00
s1lentq
183a9f674c Fix: now nades not drop if throws a grenade player.
Rollback: remove virtual destructor in class CBaseEntity
Add: Using info about item from table weaponInfo (yet only for hegrenade, flashbang, smokegrenade)
2016-07-15 20:52:38 +07:00
s1lentq
552a1d1bb4 Fix compile 2016-07-15 01:34:34 +07:00
s1lentq
4a2029194b Merge branch 'revert_commit' 2016-07-14 22:59:51 +07:00
s1lentq
f27b125d15 Refactoring.
Removed useless entities: (item_security, item_suit)
Bugfix: was resetting m_iCount from armoury_entity
Bugfix: incorrect check with pev->takedamage in CBaseEntity::TraceAttack, CBaseMonster::TraceAttack
Bugfix: zBot not continues to play after defused bomb and when mp_round_infinite is not 0
2016-07-14 21:12:17 +07:00
Alibek Omarov
f529673ee5 Add client specific variables (#48)
Referring to HLSDK, pm_shared compiles with server and client both, so I added client specific variables and it don't errors when compiling it with CLIENT_DLL macro enabled.
2016-07-04 03:45:36 +07:00
s1lentq
ffd603a477 set force align stack for ClientCommand (for compatibility with the amxx cstrike module hacks) 2016-06-27 15:40:34 +07:00
s1lentq
82d49fdcb6 Improvement function CCSPlayer::RemovePlayerItem (with considering item_*/weapon_shield/weapon_c4)
Fix: using CCSPlayer::RemovePlayerItem removal of the primary slot later was impossible to pick up armoury_entity.
Fix: Do was not pack all bpammo of the item with flag ITEM_FLAG_EXHAUSTIBLE (always only 0 or 1)
2016-06-23 02:50:14 +07:00
s1lentq
83a01dbb48 Removed api hooks CanBuyThisItem, CanBuyThis, CWeaponBox::Touch, CArmoury::ArmouryTouch
Added api hook CBasePlayer::HasRestrictItem
2016-06-21 04:13:16 +07:00
s1lentq
2d69db1232 Added api hook CWeaponBox::Touch, CArmoury::Touch 2016-06-20 17:50:59 +07:00
s1lentq
a1e7b9dae5 Added api hook CBasePlayer::DropPlayerItem 2016-06-20 14:05:47 +07:00
s1lentq
f071682392 Fix #43
Added hook api CanBuyItemThis
Use BOOL for TakeDamage/TakeHealth because should return TRUE/FALSE
2016-06-19 18:00:44 +07:00
s1lentq
21b0689030 Moved SelectDefaultTeam the function to CHalfLifeMultiplay. 2016-06-15 20:10:40 +07:00
s1lentq
aaf1d9648e Added cvar mp_auto_join_team 2016-06-15 19:46:25 +07:00
s1lentq
e57371d0f4 Added some features to the API 2016-06-15 04:21:34 +07:00
s1lentq
d71dda542d Fixed typo: Not replenished bpammo for the weapons from weaponbox. 2016-06-15 03:06:13 +07:00
s1lentq
2132203504 Fix: it was not implementation of the virtual function IsNetClient for method CBot 2016-06-15 01:03:12 +07:00
s1lentq
7caa82b054 Removed the dependency of the mode FFA from the cvar mp_friendlyfire 2
Added cvar mp_freeforall for FFA
Reworked cvar bot_deathmatch
2016-06-14 22:10:39 +07:00
s1lentq
d6b59dc0c3 Added cvar bot_deathmatch #39
Added checks for null pointers into GetPlayerGaitsequence
Fixed mp_nadedrops: If pressed a the button attack before player death, then not drop nades to ground.
Compiler: remove rrti, added -ipo
Refactoring
2016-06-14 20:14:31 +07:00
Alibek Omarov
4f1ca61628 Fix crash when custom SV_StudioSetupBones exported to the engine (#40)
* Fix crash when custom SV_StudioSetupBones exported to the engine
2016-06-12 19:55:45 +06:00
s1lentq
e6df6ef577 Added cvar mp_refill_bpammo_weapons
Added new things for API
Update README.md
2016-06-08 16:20:18 +07:00
s1lentq
51313e9b2b Refactoring implementation hookchain
Added align stack for some functions
Update major version API
2016-06-06 20:18:45 +07:00
s1lentq
6115723666 Bugfix: Wrong counting of GetMapCount and typo in CHalfLifeMultiplay::ProcessMapVote 2016-06-04 17:43:52 +06:00
s1lentq
c406141e47 Added cvar mp_auto_reload_weapons
Added api hook SetClientUserInfoName
2016-06-04 00:31:24 +06:00
s1lentq
1fc388a2cc Bugfix: game_playerspawn called when fullupdate (ResetHUD)
Mini-refactoring
2016-06-03 15:15:59 +06:00
s1lentq
465f304934 Bugfix: typo the name of ammo for dual elite 2016-06-01 18:03:40 +06:00
s1lentq
06b0c16145 Refactoring API 2016-06-01 05:08:23 +06:00
s1lentq
905064d44d Added custom function SetClientUserInfoModel and him hook.
Added param -host-improv for enable HostageImprove.
Refactoring hostage.
2016-05-31 19:30:42 +06:00
s1lentq
9203344b98 Added argument about type awards to CBasePlayer::AddAccount
Some adjustments in RadiusDamage
2016-05-26 01:21:40 +06:00
s1lentq
b6e0420365 Added api hook ShowMenu, ShowVGUIMenu
Unlocked some cvars limit of the value #34
2016-05-23 04:51:21 +06:00
s1lentq
61d9d64c19 Added API hook HandleMenu_ChooseAppearance, HandleMenu_ChooseTeam 2016-05-19 16:04:44 +06:00
s1lentq
32d0c580dc Added api hooks gamerules functions 2016-05-18 20:09:14 +06:00
s1lentq
d75089461c Refactoring ReGame-API 2016-05-17 19:35:16 +06:00
s1lentq
ab4a8437ce Added API hook PM_Init, PM_Move, PM_AirMove 2016-05-16 21:30:14 +06:00
s1lentq
bc8dbf056c Changes In GiveNamedItem: force remove the item if not touches. 2016-05-16 20:07:27 +06:00
s1lentq
d9c6805e28 CBasePlayer::TakeDamage: Add reference for argument flDamage 2016-05-16 04:55:25 +06:00
s1lentq
a9d5e3bb4a Merge pull request #32 from s1lentq/regamedll_api_01
Regamedll api 01
2016-05-12 01:05:02 +06:00
s1lentq
0d209c1cd4 Mini-refactoring.
Added at weaponInfo name for weapon_shield
2016-05-11 20:06:43 +06:00
s1lentq
13e12cc0ae Simplification existing code associated with buy weapons and more 2016-05-04 03:55:04 +06:00
s1lentq
bba210b6a1 API: Added hook InstallGameRules 2016-05-02 19:21:43 +06:00
s1lentq
982d12176e Reworked mp_nadedrops 2
Added #31: cvar mp_roundrespawn_time
Added hook CanBuyThis
Added api functions: UTIL_FindEntityByString, GetWeaponInfo
2016-05-01 20:37:25 +06:00
s1lentq
f8136978c8 Using a reference to Vector into interfaces wrapper
Regamedll API: Added hook RoundEnd
Added API EndRoundMessage
2016-04-30 21:22:44 +06:00
s1lentq
427d975c2d Merge branch 'master' of github.com:s1lentq/ReGameDLL_CS 2016-04-25 00:28:06 +06:00
s1lentq
f3f72281ee Merge pull request #30 from theAsmodai/master
Fixed Vector constructors
2016-04-24 20:01:11 +06:00
asmodai
c815a7708f Fixed Vector constructors
Removed some unnecessary checks
2016-04-24 15:08:00 +03:00
s1lentq
641fe3c102 Added detailed about versioning 2016-04-24 13:19:24 +06:00
s1lentq
22ae6a2c59 Regamedll API WIP: Added new api functions 2016-04-21 07:00:02 +06:00
s1lentq
d8b12ee80b Regamedll API WIP: added some more API functions.
Added new cvar, mp_hegrenade_penetration, mp_nadedrops more details in game.cfg.
Let inflict damage by grenades to breakable objects.
2016-04-19 21:26:46 +06:00
s1lentq
455f0c6118 Regamedll API WIP: Added new api functions
Fix crash-bug with autobuy (CBasePlayer::AddAutoBuyData)
Removed some useless code for CS
Added cssdk
2016-04-05 22:11:41 +06:00
s1lentq
9b955f2672 Regamedll API WIP: Added new interfaces-objects
Removed some useless code in CBasePlayerWeapon::GetNextAttackDelay
Removed the allocation of the entity CSoundEnt, because it is useless for CS 1.6 also removed UpdatePlayerSound
2016-03-17 23:58:24 +06:00
s1lentq
7b227c0edb Regamedll API WIP: implemented interfaces some objects. 2016-03-13 21:38:00 +06:00
s1lentq
9fd5eaa043 Improved versioning: Added detection remote url repository.
Update PreBuild.bat
2016-03-04 07:26:04 +06:00
s1lentq
6d282d58e4 Merge pull request #27 from IgnacioFDM/restart_round_command
End round command
2016-03-03 15:42:36 +05:00
IgnacioDM
afe6d2a86a Add end round command 2016-03-02 20:55:48 -03:00
s1lentq
43c9b2cb8c Improved versioning: added info about commit id and commit author. 2016-03-01 16:46:19 +06:00
s1lentq
d20d9a8a78 command option '-bots' referenced code wrap in REGAMEDLL_ADD 2016-02-29 22:55:15 +06:00
s1lentq
cbd030e72a Fix typo with virtual function CPathCorner::GetDelay 2016-02-29 22:00:29 +06:00
s1lentq
ba1e521f89 Update README.md
Added info about - how to install zBot
2016-02-24 03:26:03 +06:00
s1lentq
49de531e8c Use the tests demo record/player from ReHLDS.
Update version dependencies testimg HLDS for upload.
Update test map regamedll_test_map_v5
2016-02-24 01:54:07 +06:00
s1lentq
3d252fe527 Refactoring and cleanup.
Fixed some critical bugs and typos (carrer_task, tutor, zbot and other)
Added command line option `-bots` to run bots in CS 1.6
Removed the tests demo record/player from myself the project and also dependency of the steam library.
Fixed the progress bar when generating a nav file.
2016-02-23 05:23:45 +06:00
Jonatan Matějka
e3503670d1 SV_StudioSetupBones fix for non-players 2016-02-16 21:04:34 +01:00
s1lentq
25f425801a Refactoring and cleanup project.
Removed project bzip2.
CZero: Fix crashing of HostageEscapeState.
2016-02-04 22:45:37 +06:00
s1lentq
4e3e9351fe When using the func_tank reset the FOV and hide the v_ model of knife etc. 2016-02-01 17:07:22 +06:00
s1lentq
b1ebf5fb11 Fix: Bug func_breakable with spawnflags pressure (when it is destroyed but you still will see it) 2016-02-01 16:37:43 +06:00
s1lentq
5317e0a502 Resolves #19: enable long-jump 2016-02-01 15:47:57 +06:00
s1lentq
4d9a0b2cc3 Fix: Bug with camera (not reset the speed) 2016-02-01 15:32:32 +06:00
s1lentq
ae4ec28fad Issue #17: The implemented of the dummy class with the inheritance of the weapons classes. 2016-01-29 20:49:18 +06:00
s1lentq
3eb7513411 cosmetic changes
Added #12, send zero origin in radar position for FFA mode
2016-01-28 10:48:09 +06:00
s1lentq
9f9fdb721a Added #13 by user request IgnacioFDM 2016-01-28 08:51:34 +06:00
s1lentq
c0df05d418 Fix #15: ignore the dependence of hooks for hl.exe 2016-01-28 06:01:30 +06:00
s1lentq
ed19a39b5b Merge branch 'master' of github.com:s1lentq/ReGameDLL_CS 2016-01-28 05:51:53 +06:00
s1lentq
4a774865ba Refactoring
Added remaining functions of pm_math/pm_debug
2016-01-28 05:50:27 +06:00
Jonatan Matějka
1bb33cb980 Fix crash on bot_nav_save 2016-01-27 11:05:04 +01:00
s1lentq
a8cc9cc76f Final: fully reversed functions CZ 2016-01-25 23:17:37 +06:00
s1lentq
e80480a400 Refactoring git versioning
Added print about version ReGameDLL
2016-01-22 01:22:14 +06:00
s1lentq
2085f00203 Added game.cfg 2016-01-21 23:23:25 +06:00
s1lentq
b51ca11c39 Fix: double free for pFile 2016-01-20 05:48:46 +06:00
s1lentq
ac386fb1e3 Gradle: Added define NDEBUG 2016-01-19 23:43:27 +06:00
s1lentq
08798e0e14 Fix: bug with mp_buytime in reset always set to 0 because of cast to const int. 2016-01-19 21:27:10 +06:00
s1lentq
6f51a65ae9 WIP CZ: Reversed some functions of bots.
Cleanup.
2016-01-19 18:05:41 +06:00
s1lentq
51e921b0f6 Fix: bug with check C4 (CHalfLifeMultiplay::IsBombPlanted)
Cleanup: cosmetic changes
2016-01-14 19:24:28 +06:00
s1lentq
3170a9f26c Fix #11: bug in StackVIPQueue.
Fix bug with boomb planted.
Disable -ipo for testing.
2016-01-12 19:52:42 +06:00
s1lentq
0d3940f731 cleanup player.cpp.
Fix #10: fix with mp_friendlyfire 2
2016-01-06 18:50:26 +06:00
IgnacioDM
2198176a13 Fix player.cpp crash when m_pActiveItem = null 2016-01-06 06:09:50 -03:00
s1lentq
cc19972496 Fixed bug in BuyMenu.
Added some features gameplay:
 - extended limits money and round time
 - FFA mode with mp_friendlyfire 2
 - added new cvars mp_maxmoney and mp_minmoney for low limit
 - added new cvar mp_round_infinite (Infinite round)
2015-12-29 04:57:01 +06:00
s1lentq
c3618f32b1 Added forced PSAPI_VERSION to 1 2015-12-28 00:04:26 +06:00
s1lentq
5a4dfb0c3c Edit Gradle: added defined CSTRIKE 2015-12-27 15:09:13 +06:00
s1lentq
9416463508 WIP CZ: Reversed functions from Improved hostages 2015-12-23 00:07:49 +06:00
s1lentq
6b05ce2c89 Fix: Improperly reversed function CBasePlayer::ParseAutoBuyString 2015-12-18 22:32:50 +06:00
s1lentq
bfa30daadb update voice mask for spectator/unassigned etc 2015-12-18 15:20:59 +06:00
s1lentq
0627574b6f Enable force align stack 2015-12-17 01:21:47 +06:00
s1lentq
38e75d2189 Fix Host_Say: crash on cs 1.6 with dependencies from Czero 2015-12-12 19:06:18 +06:00
s1lentq
bdc3b63261 Fix: not displayed StatusText of player 2015-12-11 18:16:18 +06:00
s1lentq
27424741a0 Fix: axis wrong rotation func_door_rotating from touch the player 2015-12-11 02:40:04 +06:00
s1lentq
70dc948091 Added EXT_FUNC for virtual functions 2015-12-11 02:30:31 +06:00
s1lentq
bd08ec6939 WIP CZERO: Reversed Nav Area 2015-12-07 20:26:22 +06:00
s1lentq
03bc9da727 added compatibility with old STL containers list/vector from Visual Studio 6.0 SP6 2015-12-07 15:40:16 +06:00
dreamstalker
14df9039eb Optimized compilation time on linux 2015-12-07 01:18:51 +04:00
s1lentq
3283cc01ba added for linker flag -no-opt-class-analysis 2015-12-07 01:02:16 +06:00
s1lentq
38f79929ee added for compiler flag -no-opt-class-analysis 2015-12-06 23:42:56 +06:00
s1lentq
b93a2a35ad Fix bug with message BarTime 2015-12-06 15:24:26 +06:00
s1lentq
fd665a9764 Cleanup. Added define CSTRIKE in build gradle 2015-12-06 03:20:34 +06:00
s1lentq
48ec89893a Reverse Hostages cs 1.6, SV_StudioSetupBones
Added project build mp.dll/cs.so
work final the reverse-engineering for CS 1.6
2015-12-06 01:58:53 +06:00
s1lentq
dc557b37f2 WIP: Reversed functions all weapons 2015-11-24 03:01:09 +06:00
s1lentq
0fc3351cb8 Cleanup.
Reversed functions: CBasePlayer::PickPrimaryCareerTaskWeapon, CBasePlayer::PickSecondaryCareerTaskWeapon.
Added comments to some parts of the code.
Fixed some bugs in CZ:Career.
2015-11-06 20:58:48 +06:00
s1lentq
ed1dd85d6e Refactoring 2015-09-30 06:49:22 +06:00
s1lentq
0aa8ac73a6 WIP: reversed weapons CC4, CGLOCK18 2015-09-28 06:13:39 +06:00
s1lentq
8508f2d517 Added reversed weapon_knife.
Update README.md
Cleanup.
2015-09-27 19:59:44 +06:00
s1lentq
625ef14d46 WIP: full of reversed basic part 2015-09-22 22:56:27 +06:00
s1lentq
d4cf69b587 WIP: a new batch of reverse functions 2015-08-20 17:24:18 +06:00
s1lentq
5bf6b21649 Added a new reverse the functions.
Implemented recovery a virtual table in GetClassPtr<BasClass> after linking of self class.
2015-08-03 00:17:07 +06:00
s1lentq
d1d017e2b5 Server_GetBlendingInterface: fix using struct for Mod_Extradata 2015-07-13 03:17:38 +06:00
s1lentq
ed2e465d2b Reversed CBasePlayer and some function blending from animation.cpp
Fix line ending all files
2015-07-13 02:32:09 +06:00
s1lentq
32d9488658 New reversed of functions from CBasePlayer etc 2015-07-09 06:22:48 +06:00
s1lentq
2f82bb17ae Reversed some function from player.cpp
Better implemented static members by all objects of the class
MSVC: Added loading of custom configurations for the test demo with the launch --regamedll-cfg-init filename.cfg (NOTE: The config should be in the "tests" folder)
Gradle script: Added stuff for each the test demo and their auto-unpacking the root folder HLDS
2015-07-05 17:19:59 +06:00
s1lentq
c35c7c60b3 Fix linux compilation
cleanup
fixed offset some of a members of the class
Reversed CRecharge, CCStrikeGameMgrHelper, CVoiceGameMgr
2015-07-02 03:47:54 +06:00
s1lentq
56c2cb635f Added initial files project 2015-06-30 15:46:07 +06:00