Where do you have the packet from?
Make sure to use your GUID and to generate the hash automatically (so you don‘t have to change it everytime the client gets an update)
The packet is from the packetlooger, I just copy paste it.
Where do you have the packet from?
Make sure to use your GUID and to generate the hash automatically (so you don‘t have to change it everytime the client gets an update)
the GUID dont care so much for me i generate it for each login new and it works. But i think the 0x0B can be maybe the problem.
You should use a std::string to store the packet and encrypt/decrypt it. Finally you should cast it to const char* using .c_str() method and pass it to send() function with .length(). It does not care \0 since send() function is using the length you pass it as parameter.
NostaleString is an alternative to AnsiString for packet injection. It is not related to clientless.
Quote:
Originally Posted by IceTrailer
No and no.
When you have decrypted bytes you should never use a string due to the null byte.
Use a std::vector.
And no, C/C++ terminates strings on the first found \0 byte. You cannot change that.
What you said is a bullshit.
In fact, std::string is not caring \0 at all.
What you said is a bullshit.
In fact, std::string is not caring \0 at all.
It is not bullshit since it's about printing a encrypted text packet which contains \0. He might use a vector from the beginning which makes it easier than with a std::string.
It is not bullshit since it's about printing a encrypted text packet which contains \0. He might use a vector from the beginning which makes it easier than with a std::string.
Illuminate me. How is std::vector easier than std::string? The std::vector<char> .data() method returns a const char* which is exactly the same as std::string .c_str(). A std::string is not using \0 or any delimiter at all. You can operate on std::string the same way you operate on std::vector with the benefit of not having to convert from const char* to std::vector to convert it back again to const char* or std::string. You also have access to very useful methods which you may need. What you are saying is senseless and you should stop spreading disinformation out there.
Quote:
Originally Posted by Kolzy16
Couldn't I work with strings instead of vectors? And, is there a possible way to try avoiding the "\0" while you convert string to const char*?
My idea is to do it in C++ but I took this example code for a random page.
I see. The hardest part of learning programming is that most of code you can find online is done wrong. Feel free contacting me in private for any question. I will be glad to help you.
[Buying] &&&&&&&&&KAUFE STEAM ACCOUNT! &&&&&&&&& 06/07/2013 - Trading - 1 Replies Hallo, bin nicht hier um groß zu traden,sondern möchte einen Steam Account kaufen.
Fakten:
Biete maximal 60€ PaySafeCard
Es sollten viele kleine Spiele sowie COD enthalten sein
COD 7-9 sind Pflicht!
Kein VAC/TAC/Valve o.Ä Bann!
&&&&&&&&&KAUFE STEAM ACCOUNT! &&&&&&&&& 06/07/2013 - elite*gold Trading - 0 Replies Hallo, bin nicht hier um groß zu traden,sondern möchte einen Steam Account kaufen.
Fakten:
Biete maximal 60€ PaySafeCard oder kann es auch zu egold machen
Es sollten viele kleine Spiele sowie COD enthalten sein
COD 7-9 sind Pflicht!
Kein VAC/TAC/Valve o.Ä Bann!
[Buying] &&&&&&&&&KAUFE STEAM ACCOUNT! &&&&&&&&& 06/07/2013 - Steam Trading - 0 Replies Hallo, bin nicht hier um groß zu traden,sondern möchte einen Steam Account kaufen.
Fakten:
Biete maximal 60€ PaySafeCard
Es sollten viele kleine Spiele sowie COD enthalten sein
COD 7-9 sind Pflicht!
Kein VAC/TAC/Valve o.Ä Bann!