Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to launch it? #13

Open
acidbathqq opened this issue Oct 14, 2022 · 11 comments
Open

How to launch it? #13

acidbathqq opened this issue Oct 14, 2022 · 11 comments

Comments

@acidbathqq
Copy link

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?

@yourmnbbn
Copy link
Owner

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 

@acidbathqq
Copy link
Author

I am using a limited version, the main one could not be compiled.
Returns an error:
Option "-ticket" is required but not found!

@yourmnbbn
Copy link
Owner

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.

@acidbathqq
Copy link
Author

Then I have a compilation error
/home/acid/hl2sdk-csgo/public/tier0/threadtools.h:874:33: error: expected unqualified-id before ‘const’
874 | CAutoLockT<MUTEX_TYPE>( const CAutoLockT<MUTEX_TYPE> & );
/home/acid/hl2sdk-csgo/public/tier0/threadtools.h:874:32: error: expected ‘)’ before ‘const’
874 | CAutoLockT<MUTEX_TYPE>( const CAutoLockT<MUTEX_TYPE> & );

@yourmnbbn
Copy link
Owner

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.

@acidbathqq
Copy link
Author

gcc 11.2.0
error.txt

@yourmnbbn
Copy link
Owner

Well, looks like the sdk is not compatible with higher version of gcc. I've tested this on gcc 10.3 it worked fine.

@acidbathqq
Copy link
Author

error.txt

@acidbathqq
Copy link
Author

I apologize, above, this is a new error. Changed to gcc 10.3. Don't know how to fix it:(

@acidbathqq
Copy link
Author

Can you please specify your version of ldd and ld?

@yourmnbbn
Copy link
Owner

ld: GNU ld (GNU Binutils for Debian) 2.35.2
ldd: ldd (Debian GLIBC 2.31-13+deb11u3) 2.31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants