aixxe
713c4b4627
Use alternative method for finding 's_pInterfaceRegs' list.
...
* No longer relies on a pattern scan.
Signed-off-by: aixxe <me@aixxe.net>
2017-03-14 19:15:35 +00:00
aixxe
0eb481e754
Remove duplicate GetVirtualFunction.
...
* Thanks to @luk1337 for pointing this out.
Signed-off-by: aixxe <me@aixxe.net>
2017-02-22 15:40:50 +00:00
aixxe
3eafa3649a
Add missing dependency to README.md.
...
Signed-off-by: aixxe <me@aixxe.net>
2017-01-13 01:48:00 +00:00
aixxe
175daea1db
Fix mismatching whitespace.
...
Signed-off-by: aixxe <me@aixxe.net>
2017-01-11 16:50:03 +00:00
aixxe
d3ed74068a
Adjust code style and fix unloading in NetVar scanner.
...
Signed-off-by: aixxe <me@aixxe.net>
2017-01-08 16:47:03 +00:00
aixxe
ac03e2ead1
Merge pull request #2 from sakura57/master
...
Implemented a netvar offset cache
2017-01-08 16:40:18 +00:00
J. Farnsworth
b79d6b7c5f
Implemented a netvar offset cache
2017-01-07 17:09:21 -05:00
aixxe
51a4bf37f5
Merge branch 'master' of github.com:aixxe/cstrike-basehook-linux
2017-01-05 15:39:55 +00:00
aixxe
7344c374c4
Prepare for general release.
...
* I know someone is gonna say something about this if I don't
include a note about it.
Signed-off-by: aixxe <me@aixxe.net>
2017-01-05 15:39:41 +00:00
aixxe
125b2bb3af
Update copyright text to current year.
...
Signed-off-by: aixxe <me@aixxe.net>
2017-01-02 14:58:21 +00:00
aixxe
4b385695ca
Merge branch 'master' of github.com:aixxe/cstrike-basehook-linux
2016-12-26 11:47:19 +00:00
エイミー
6a6ecfd760
Merge pull request #1 from luk1337/master
...
Few CMakeLists.txt updates
2016-12-25 13:12:50 +00:00
LuK1337
974ef0cc33
Link library against libGL
...
Fixes unknown GL symbols:
undefined symbol: glEnable (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glTexCoordPointer (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPopAttrib (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glEnableClientState (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glMatrixMode (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDisable (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPushAttrib (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glLoadIdentity (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glBlendFunc (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glBindTexture (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glOrtho (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDeleteTextures (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDisableClientState (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPixelStorei (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glGetIntegerv (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDrawElements (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glTexImage2D (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glScissor (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPushMatrix (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glVertexPointer (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPopMatrix (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glViewport (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glColorPointer (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glTexParameteri (cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glGenTextures (cmake-build-debug/libcstrike-basehook.so)
2016-12-25 12:42:38 +01:00
LuK1337
11025e6484
Set include_directories in CMakeLists.txt
2016-12-25 12:40:39 +01:00
aixxe
f09c083a43
Only update world and sky materials when changes are made.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 21:31:54 +00:00
aixxe
468fbe5d07
Move default settings to relevant hook files.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 20:45:37 +00:00
aixxe
afc72efcd8
Add example event listener on player_footstep.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 12:22:27 +00:00
aixxe
c1738ce42b
Replace IPanel::PaintTraverse hook with IEngineVGui::Paint.
...
* Add example watermark text in bottom-right corner.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 12:15:31 +00:00
aixxe
f94aaad6c3
Add ASUS walls via AlphaModulate and ColorModulate.
...
* Again, should really call this somewhere else.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 16:28:54 +00:00
aixxe
3c4ad3d7ae
Add 'no sky' via IMaterial::ColorModulate.
...
* Really should move this out of FrameStageNotify. Only keeping it
here for demonstration purposes. Might find a better place later.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 16:05:36 +00:00
aixxe
8287f60778
Add auto-bunnyhop to CreateMove hook.
...
* TODO: Store NetVar offsets statically.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 15:23:43 +00:00
aixxe
d53dbcabfd
Use NetVars class statically.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 15:13:40 +00:00
aixxe
712963fc37
Add license and readme files.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 21:12:28 +00:00
aixxe
3ea355bf38
Properly handle input while menu is visible.
...
* INSERT toggles the menu.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:39:21 +00:00
aixxe
2f9b1f444d
Add main source file and placeholder hooks.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:20:39 +00:00
aixxe
27eb1e65e2
Move interface stuff to utility file.
...
* Alternative method to using dlopen and dlsym.
* Accepts partial version strings.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:18:12 +00:00
aixxe
5e10af4344
Add basic pattern scanner.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:14:58 +00:00
aixxe
8483f9b724
Add basic function to get shared library information.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:13:24 +00:00
aixxe
9e5f1b6ad9
Remove IBaseClientDLL extern from NetVars.h.
...
* No longer needed.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:11:49 +00:00
aixxe
66f7ff9b8e
Add externs to interface and class headers.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:09:50 +00:00
aixxe
c40361343c
Add CShowPixelsParams class to SDK.
...
* ImGui will draw twice if we don't check for m_noBlit.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 16:24:00 +00:00
LuK1337
7d0497e049
Respect io.WantCaptureKeyboard & io.WantCaptureMouse
...
* Fixes issues with the game cursor appearing during gameplay.
Original commit sources:
- 1601a6f269
- bb0d98b95d
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 16:22:48 +00:00
aixxe
13f8d44aa7
Expand CInput class and add VerifyUserCmd to CUserCmd.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 13:17:49 +00:00
aixxe
3b12e00ad1
Move CRC32 definition to separate file.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 13:14:21 +00:00
aixxe
33f3672867
Add recursive NetVar scanner.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 23:45:06 +00:00
aixxe
be015b415a
Add Counter-Strike: Source SDK header.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:26:16 +00:00
aixxe
6978e2eae8
Add ISurface interface.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:25:54 +00:00
aixxe
ca36020474
Add IVModelRender interface.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:13:48 +00:00
aixxe
072ec00930
Add basic placeholder Vector class.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:12:49 +00:00
aixxe
1b43cae68e
Add virtual method table hooking class.
...
* github.com/aixxe/vmthook (8f0479b)
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:10:10 +00:00
aixxe
da0e8efd27
Add client entity class headers.
...
* Remove 'isreplay' from player_info_s.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:05:41 +00:00
aixxe
f155818ed3
Add ImGui source files.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:04:01 +00:00
aixxe
fd60cdc93b
Add GetPlayerInfo and GetPlayerForUserID to IVEngineClient.
...
* Move CRC32_t typedef from CUserCmd.h to PlayerInfo.h.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 20:49:26 +00:00
aixxe
e8e7f1d4ae
Add 'Const.h' definition file.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:54:54 +00:00
aixxe
677de31665
Add CVerifiedUserCmd class.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:49:53 +00:00
aixxe
04fd052795
Add structures for hitbox sets and bounding boxes.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:40:35 +00:00
aixxe
b746fa1e3b
Add IVModelInfoClient::GetStudioModel.
...
* Proper structures coming soon.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:19:33 +00:00
aixxe
c8c27bcbcb
Add IDebugOverlay interface.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:55:45 +00:00
aixxe
1c2adbba17
Add IVEngineClient::GetScreenSize.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:55:16 +00:00
aixxe
dc524f61aa
Fix incorrect virtual index for IPanel::PaintTraverse.
...
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:29:20 +00:00