10:42 <+bridge> [ddnet] https://gist.github.com/0xabad1dea/7026665beb6de41c17c89beebfb1bb90 11:54 <+bridge> [ddnet] i dont know if i want to oof that 13:26 <+bridge> [ddnet] ```c 13:26 <+bridge> [ddnet] void sha1_of_string(char* string, unsigned char* hash) 13:26 <+bridge> [ddnet] { 13:26 <+bridge> [ddnet] unsigned char hash_buffer[20]; 13:26 <+bridge> [ddnet] 13:26 <+bridge> [ddnet] sha1(string, strlen(string), hash_buffer); 13:26 <+bridge> [ddnet] for (int i = 0; i < 20; i++) 13:26 <+bridge> [ddnet] { 13:26 <+bridge> [ddnet] hash[i] = hash_buffer[i]; 13:26 <+bridge> [ddnet] } 13:26 <+bridge> [ddnet] } 13:26 <+bridge> [ddnet] ``` 13:26 <+bridge> [ddnet] it should be: 13:26 <+bridge> [ddnet] ```c 13:26 <+bridge> [ddnet] void sha1_of_string(char* string, unsigned char* hash) 13:26 <+bridge> [ddnet] { 13:26 <+bridge> [ddnet] sha1(string, strlen(string), hash); 13:26 <+bridge> [ddnet] } 13:26 <+bridge> [ddnet] ``` 13:27 <+bridge> [ddnet] `int buffer_size` => `size_t buffer_size` 13:29 <+bridge> [ddnet] big oof 13:29 <+bridge> [ddnet] mega oof 13:32 <+bridge> [ddnet] oof_size: std::bad_alloc 13:33 <+bridge> [ddnet] and the `main` doesn't make any sense at all 😄 13:34 <+bridge> [ddnet] ```c 13:34 <+bridge> [ddnet] // calculates the sha1 hash of argv[1] 13:34 <+bridge> [ddnet] int main(int argc, char** argv) 13:34 <+bridge> [ddnet] { 13:34 <+bridge> [ddnet] if (argc != 2) 13:34 <+bridge> [ddnet] { 13:34 <+bridge> [ddnet] printf("usage: %s \n", argv[0]); 13:34 <+bridge> [ddnet] return 1; 13:34 <+bridge> [ddnet] } 13:34 <+bridge> [ddnet] sha1_of_string(argv[1], (unsigned char*)argv[2]); 13:34 <+bridge> [ddnet] return 0; 13:34 <+bridge> [ddnet] } 13:34 <+bridge> [ddnet] ``` 13:34 <+bridge> [ddnet] "AI" 13:34 <+bridge> [ddnet] it's just a search engine with automatic copy-paste 13:34 <+bridge> [ddnet] shame 18:08 <+bridge> [ddnet] probably why they didn't just call it autopilot. 18:09 <+bridge> [ddnet] xd 19:45 <+bridge> [ddnet] need fix this 19:45 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/860576875469602816/unknown.png 19:45 <+bridge> [ddnet] he not here and we want change map but can't 19:46 <+bridge> [ddnet] oh it's work 19:46 <+bridge> [ddnet] don't care 19:46 <+bridge> [ddnet] passes hard work to understand 😛 21:17 <+bridge> [ddnet] where are files located when installing with steam? 21:17 <+bridge> [ddnet] on windows 21:30 <+bridge> [ddnet] rightclick game -> manage -> browse locale files 21:36 <+bridge> [ddnet] 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 21:37 <+bridge> [ddnet] 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 21:38 <+bridge> [ddnet] maybe im wrong ;D 21:38 <+bridge> [ddnet] maybe im wrong 😄 21:38 <+bridge> [ddnet] look one post below it 21:38 <+bridge> [ddnet] yeah tried too 21:38 <+bridge> [ddnet] but my code is completely different cuz im working on a old version 21:39 <+bridge> [ddnet] ok but shoudl work for all versions, its basically just having 2 loops 21:39 <+bridge> [ddnet] movement split from hooking & bounce 21:40 <+bridge> [ddnet] ok im trying, i will send u the error 21:47 <+bridge> [ddnet] @Jupstar ✪ where i stop the `}` 😅 21:47 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/860607679193546823/unknown.png 21:48 <+bridge> [ddnet] after the if (m_pworld)? 21:48 <+bridge> [ddnet] after the end of if (m_pworld)? 21:48 <+bridge> [ddnet] bevor 21:48 <+bridge> [ddnet] after if(m_HookState == HOOK_GRABBED) 21:49 <+bridge> [ddnet] before 21:49 <+bridge> [ddnet] (after the whole if block) 21:53 <+bridge> [ddnet] my if(m_HookState == HOOK_GRABBED) is before the m_pworld 21:53 <+bridge> [ddnet] yes 21:53 <+bridge> [ddnet] between those