cathook icon indicating copy to clipboard operation
cathook copied to clipboard

streamsafe mode don't work

Open hellidox opened this issue 3 years ago • 6 comments
trafficstars

System Information

OS: Ubuntu 20.04 LTS
DE: Gnome 3.36.8 w/ X11
Cathook Version: latest

Logs / Crash Report

if I include navbot:

atrius@main:~/git/cathook$ ./install-all 
~/git/cathook/build ~/git/cathook
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is exact version "1.76.0")
-- Fetching Boost
-- Fetching Boost - done
-- Boost found: 1.76.0 /home/atrius/git/cathook/build/_deps/boost-src
-- Found Boost: /home/atrius/git/cathook/build/_deps/boost-src (found suitable exact version "1.76.0")  
-- Found Boost: /home/atrius/git/cathook/build/_deps/boost-src (found version "1.76.0")  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/atrius/git/cathook/build
Consolidate compiler generated dependencies of target xoverlay
[  2%] Built target xoverlay
Consolidate compiler generated dependencies of target cathook
[  3%] Building CXX object CMakeFiles/cathook.dir/src/hacks/NavBot.cpp.o
/home/atrius/git/cathook/src/hacks/NavBot.cpp: In function ‘bool hacks::tf2::NavBot::stayNearTarget(CachedEntity*)’:
/home/atrius/git/cathook/src/hacks/NavBot.cpp:669:14: error: ‘std::ranges’ has not been declared
  669 |     if (std::ranges::any_of(good_areas, [](std::pair<CNavArea *, float> area) { return navparser::NavEngine::navTo(area.first->m_center, staynear, true, !navparser::NavEngine::isPathing()); }))
      |              ^~~~~~
/home/atrius/git/cathook/src/hacks/NavBot.cpp: In function ‘bool hacks::tf2::NavBot::tryToSnipe(CachedEntity*)’:
/home/atrius/git/cathook/src/hacks/NavBot.cpp:997:14: error: ‘std::ranges’ has not been declared
  997 |     if (std::ranges::any_of(good_areas, [](std::pair<CNavArea *, float> area) { return navparser::NavEngine::navTo(area.first->m_center, snipe_sentry); }))
      |              ^~~~~~
make[3]: *** [CMakeFiles/cathook.dir/build.make:1485: CMakeFiles/cathook.dir/src/hacks/NavBot.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:732: CMakeFiles/cathook.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:739: CMakeFiles/cathook.dir/rule] Error 2
make: *** [Makefile:182: cathook] Error 2
 
 
Failed to compile cathook

if I blank navbot.cpp

atrius@main:~/git/cathook$ ./install-all 
~/git/cathook/build ~/git/cathook
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is exact version "1.76.0")
-- Fetching Boost
-- Fetching Boost - done
-- Boost found: 1.76.0 /home/atrius/git/cathook/build/_deps/boost-src
-- Found Boost: /home/atrius/git/cathook/build/_deps/boost-src (found suitable exact version "1.76.0")  
-- Found Boost: /home/atrius/git/cathook/build/_deps/boost-src (found version "1.76.0")  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/atrius/git/cathook/build
Consolidate compiler generated dependencies of target xoverlay
[  2%] Built target xoverlay
Consolidate compiler generated dependencies of target cathook
[  3%] Building CXX object CMakeFiles/cathook.dir/src/hacks/NavBot.cpp.o
[  4%] Linking CXX shared library bin/libcathook.so
/usr/bin/ld: /usr/lib/libGLEW.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/cathook.dir/build.make:3562: bin/libcathook.so] Error 1
make[2]: *** [CMakeFiles/Makefile2:732: CMakeFiles/cathook.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:739: CMakeFiles/cathook.dir/rule] Error 2
make: *** [Makefile:182: cathook] Error 2
 
 
Failed to compile cathook

Description

does not compile

Steps to reproduce

  • [X] I am able to consistently reproduce this error

Steps to reproduce the behavior:
switch to imgui streamproof and compile

Additional context

command line install

Checklist

  • [X] I have included my DE, WM, and version of Cathook.
  • [X] I have included the steps to reproduce and my logs to the best I am able to share.
  • [X] The Developers are allowed to contact me on the official telegram for further information if they need it. (Put your username here)

hellidox avatar Aug 03 '22 16:08 hellidox

this seems to be because you can't build glew for 32 bit but cathook is 32 bit?? maybe??

hellidox avatar Aug 03 '22 17:08 hellidox

ok i "fixed" it by adding -m32 to every compille line in glew's makefile but now when i inject my screen goes black until i kill tf this is actually what i see 2

hellidox avatar Aug 03 '22 18:08 hellidox

you need to enable transparency in your DE else that will be the case

LemonatedCat avatar Aug 04 '22 09:08 LemonatedCat

image i was under the impression it was already on?

hellidox avatar Aug 04 '22 21:08 hellidox

image doesnt seem to work is there a way to see if its actually enabled?

hellidox avatar Aug 04 '22 22:08 hellidox

you need to enable transparency in your DE else that will be the case

rebuilt, how do i do that

hellidox avatar Aug 05 '22 01:08 hellidox

image doesnt seem to work is there a way to see if its actually enabled?

Disable Tracer

UndefindedUser25 avatar Aug 21 '22 22:08 UndefindedUser25

you need to enable transparency in your DE else that will be the case

gonna close this because i dont get what you mean

hellidox avatar Aug 29 '22 18:08 hellidox

fix

hellidox avatar Aug 29 '22 18:08 hellidox