Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-07-02 00:00:00Z and 2021-07-03 00:00:00Z
Avatar
SHA1 But I Let Copilot Take The Wheel. GitHub Gist: instantly share code, notes, and snippets.
Avatar
void sha1_of_string(char* string, unsigned char* hash) { unsigned char hash_buffer[20]; sha1(string, strlen(string), hash_buffer); for (int i = 0; i < 20; i++) { hash[i] = hash_buffer[i]; } } it should be: void sha1_of_string(char* string, unsigned char* hash) { sha1(string, strlen(string), hash); }
11:27
int buffer_size => size_t buffer_size
Avatar
Avatar
TsFreddie
i dont know if i want to oof that
big oof
Avatar
mega oof
Avatar
oof_size: std::bad_alloc
Avatar
and the main doesn't make any sense at all 😄
11:34
// calculates the sha1 hash of argv[1] int main(int argc, char** argv) { if (argc != 2) { printf("usage: %s <string>\n", argv[0]); return 1; } sha1_of_string(argv[1], (unsigned char*)argv[2]); return 0; }
11:34
"AI"
11:34
it's just a search engine with automatic copy-paste
11:34
shame
Avatar
probably why they didn't just call it autopilot.
Avatar
oh it's work
17:46
don't care
17:46
passes hard work to understand 😛
Avatar
where are files located when installing with steam?
19:17
on windows
Avatar
Avatar
Chairn
where are files located when installing with steam?
rightclick game -> manage -> browse locale files
Avatar
that doesn't work for my version, idk why but i dont have the same system for hooking, i mean in void CCharacterCore::Tick(bool UseInput) i have some rotation line
19:37
but i just want to give to everybody the strong, i think this is just a value to change like playerforce = x and playerforcewithstrong = playerforce*x
19:38
maybe im wrong 😄 (edited)
19:38
look one post below it
19:38
yeah tried too
19:38
but my code is completely different cuz im working on a old version
19:39
ok but shoudl work for all versions, its basically just having 2 loops
19:39
movement split from hooking & bounce
19:40
ok im trying, i will send u the error
Avatar
@Deleted User where i stop the } 😅
19:48
after the end of if (m_pworld)? (edited)
19:48
before (edited)
19:48
after if(m_HookState == HOOK_GRABBED)
19:49
(after the whole if block)
Avatar
Avatar
Deleted User
after if(m_HookState == HOOK_GRABBED)
my if(m_HookState == HOOK_GRABBED) is before the m_pworld
19:53
yes
19:53
between those
Exported 37 message(s)