Guest KemazI Posted December 12, 2016 at 12:58 AM Share Posted December 12, 2016 at 12:58 AM VIDEO - Na parte do introloading metam as def antes da class. https://www.youtube.com/watch?v=in9m4joe3KY&feature=youtu.be CODIGO - Na parte do introloading metam as def antes da class. def CheckYmirD(): if os.path.exists('d:/ymir work'): dbg.LogBox("Foi encontrada a pasta ymir work no seu disco D, por favor remova a pasta para jogar.") dbg.TraceError("Foi encontrada a pasta ymir work no disco D.") app.Abort() sys.exit() def CheckYmirC(): if os.path.exists('c:/ymir work'): dbg.LogBox("Foi encontrada a pasta ymir work no disco C, por favor remove a pasta para jogar.") dbg.TraceError("Foi encontrada a pasta ymir work no disco C.") app.Abort() sys.exit() CheckYmirC() CheckYmirD() Link to comment Share on other sites More sharing options...
Karbust Posted December 17, 2016 at 09:06 PM Share Posted December 17, 2016 at 09:06 PM Melhor fazer pela source... UserInterface.cpp bool PackInitialize(const char * c_pszFolder) { NANOBEGIN string block_folder; block_folder == "D:\\ymir work"; struct stat st; if (stat("D:\\ymir work", &st) == 0) { LogBoxf("Something is wrong delete the file from D (ymir work)"); return true; } 3 1 Link to comment Share on other sites More sharing options...
Guest KemazI Posted December 17, 2016 at 09:26 PM Share Posted December 17, 2016 at 09:26 PM Melhor fazer pela source... UserInterface.cpp bool PackInitialize(const char * c_pszFolder) { NANOBEGIN string block_folder; block_folder == "D:\\ymir work"; struct stat st; if (stat("D:\\ymir work", &st) == 0) { LogBoxf("Something is wrong delete the file from D (ymir work)"); return true; } Mesmo assim não o faria dessa maneira se for pela source, de qualquer maneira existe quem não use source thanks anyway. Link to comment Share on other sites More sharing options...
JD9 Posted September 15, 2017 at 10:51 PM Share Posted September 15, 2017 at 10:51 PM video off Link to comment Share on other sites More sharing options...
Luffy Posted September 15, 2017 at 11:44 PM Share Posted September 15, 2017 at 11:44 PM Em 11/12/2016 em 22:58, KemazI disse: VIDEO - Mostrar conteúdo oculto Na parte do introloading metam as def antes da class. https://www.youtube.com/watch?v=in9m4joe3KY&feature=youtu.be CODIGO - Ocultar conteúdo Na parte do introloading metam as def antes da class. def CheckYmirD(): if os.path.exists('d:/ymir work'): dbg.LogBox("Foi encontrada a pasta ymir work no seu disco D, por favor remova a pasta para jogar.") dbg.TraceError("Foi encontrada a pasta ymir work no disco D.") app.Abort() sys.exit() def CheckYmirC(): if os.path.exists('c:/ymir work'): dbg.LogBox("Foi encontrada a pasta ymir work no disco C, por favor remove a pasta para jogar.") dbg.TraceError("Foi encontrada a pasta ymir work no disco C.") app.Abort() sys.exit() CheckYmirC()CheckYmirD() Tem algum tutorial? o do vídeo esta off Link to comment Share on other sites More sharing options...
juniorsilva Posted September 16, 2017 at 07:44 PM Share Posted September 16, 2017 at 07:44 PM Em 17/12/2016 em 19:06, charparodar disse: Melhor fazer pela source... UserInterface.cpp bool PackInitialize(const char * c_pszFolder) { NANOBEGIN string block_folder; block_folder == "D:\\ymir work"; struct stat st; if (stat("D:\\ymir work", &st) == 0) { LogBoxf("Something is wrong delete the file from D (ymir work)"); return true; } Tenho a mesma opinião. Link to comment Share on other sites More sharing options...
Luffy Posted September 16, 2017 at 10:21 PM Share Posted September 16, 2017 at 10:21 PM Algum poderia me explicar para que serve esse comando anti ymir work e como colocar ele no client via source Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted September 16, 2017 at 10:57 PM Share Posted September 16, 2017 at 10:57 PM 33 minutes ago, Luffy said: Algum poderia me explicar para que serve esse comando anti ymir work e como colocar ele no client via source Uma das maneiras de carregar damage hack no jogo é colocar o ficheiro alterado no disco D:, na localização completa que ele teria dentro de um epk (lembrando que ficheiros epk para o binario sao como pastas no formato D:\ymir work). Ao verificar se essa pasta existe, elimina esse vector de ataque UserInterface.cpp, procurar por: bool PackInitialize(const char * c_pszFolder) { e adicionas o resto do codigo acima que o charpararodar colocou 1 Link to comment Share on other sites More sharing options...
badjs Posted February 9, 2021 at 02:37 PM Share Posted February 9, 2021 at 02:37 PM Em 12/12/2016 em 00:58, Convidado KemazI disse: VIDEO - Mostrar conteúdo oculto Na parte do introloading metam as def antes da class. Hidden Content Give reaction or reply to this topic to see the hidden content. CODIGO - Hidden Content Give reaction or reply to this topic to see the hidden content. obrigado cara! Link to comment Share on other sites More sharing options...
servezaadda Posted July 31, 2021 at 04:03 PM Share Posted July 31, 2021 at 04:03 PM ty Link to comment Share on other sites More sharing options...
Kagin Posted February 1, 2023 at 02:44 AM Share Posted February 1, 2023 at 02:44 AM bool PackInitialize(const char * c_pszFolder) { NANOBEGIN string block_folder; block_folder == "D:\\ymir work"; struct stat st; if (stat("D:\\ymir work", &st) == 0) { LogBoxf("Foi encontrada a pasta ymir work no disco D, por favor remove a pasta para jogar."); return true; } string block_folder; block_folder == "C:\\ymir work"; struct stat st; if (stat("C:\\ymir work", &st) == 0) { LogBoxf("Foi encontrada a pasta ymir work no disco C, por favor remove a pasta para jogar."); return true; } Pra quem ainda procura, aqui segue para por na source UserInterface.cpp -> CTRL+F -> bool PackInitialize(const char * c_pszFolder) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now