Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

[LINUX] Is it not working or am I not sure how to activate it?

Open liberteryen opened this issue 1 year ago • 6 comments

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)

liberteryen avatar Apr 01 '24 10:04 liberteryen

having the same issue here.

totkyle avatar Apr 01 '24 13:04 totkyle

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.

snipcola avatar Apr 05 '24 05:04 snipcola

i tried doing this but it says could not find the process: cs2

totkyle avatar Apr 05 '24 19:04 totkyle

You can try replace -n cs2 with -p $(pidof cs2), and see if maybe that helps.

snipcola avatar Apr 06 '24 04:04 snipcola

➜  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?

liberteryen avatar Apr 06 '24 11:04 liberteryen

You can try replace -n cs2 with -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

totkyle avatar Apr 06 '24 17:04 totkyle