[LINUX] Is it not working or am I not sure how to activate it?
I inject the cheat but nothing changes in the game.
➜ ~ cd git/Osiris/build/Source
➜ Source git:(master) ✗ ls
CMakeFiles cmake_install.cmake inj libOsiris.so Makefile
➜ Source git:(master) ✗ sudo gdb -batch-silent -p $(pidof cs2) -ex "call (void*)dlopen(\"$PWD/libOsiris.so\", 2)"
[sudo] password for h:
➜ Source git:(master) ✗
It doesn't give any output either. Is it not working or am I not sure how to activate it??
(i am using translate)
having the same issue here.
I got it working by compiling https://github.com/kubo/injector and then doing:
./cmd/injector -n cs2 ../Osiris/build/Source/libOsiris.so
Although not sure how safe this is.
i tried doing this but it says could not find the process: cs2
You can try replace -n cs2 with -p $(pidof cs2), and see if maybe that helps.
➜ Source git:(master) ✗ sudo injector -n cs2 ./libOsiris.so
targeting process "cs2" with pid 72354
"./libOsiris.so" successfully injected
➜ Source git:(master) ✗ sudo injector -p $(pidof cs2) libOsiris.so
targeting process with pid 72354
"libOsiris.so" successfully injected
I did what you said, but do I still need to do anything else to enable cheating in the game?
You can try replace
-n cs2with-p $(pidof cs2), and see if maybe that helps.
i tried -p $(pidof cs2) but it didnt work, then i found the pid myself and went -p 4718 and then it said could not inject "libOsiris.so" dlopen failed: /home/arhan/injector/cmd/tanku.so: cannot open shared object file: No such file or directory