Open acidbathqq opened 1 year ago
These two command lines you’ve mentioned are optional, you don’t need them to run this project.
The example running command lines are as follows.
Windows:
tiny-csgo-client.exe -ip 127.0.0.1 -cport 44444 -port 27016 -name fakeplayer -pw pwd
Linux:
./tiny-csgo-client ip 127.0.0.1 -cport 44444 -port 27016 -name fakeplayer -pw pwd
I am using a limited version, the main one could not be compiled. Returns an error: Option "-ticket" is required but not found!
Please read the README of that branch which contains everything you need to know.
Limited version does have some flaws and it’s not recommended to use until #12 has been completed.
Then I have a compilation error
/home/acid/hl2sdk-csgo/public/tier0/threadtools.h:874:33: error: expected unqualified-id before ‘const’
874 | CAutoLockT
Please paste the whole log here, and if you are using clang then you should switch to gcc10 or newer gcc compiler to compile this.
gcc 11.2.0 error.txt
Well, looks like the sdk is not compatible with higher version of gcc. I've tested this on gcc 10.3 it worked fine.
I apologize, above, this is a new error. Changed to gcc 10.3. Don't know how to fix it:(
Can you please specify your version of ldd and ld?
ld: GNU ld (GNU Binutils for Debian) 2.35.2
ldd: ldd (Debian GLIBC 2.31-13+deb11u3) 2.31
Hello, I can't run this program, I don't understand what should be in the following paragraphs and where to get this information -ticket Use custom ticket to connect to server. -ts Connect to tiny-csgo-server and authenticate your ticket. Can you show an example of a startup string?