Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: MaxGameInstances v1 - Limit main.exe  (Visto 7767 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline tdthanh95 Posteado: May 14, 2021, 10:06:37 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 96
  • Gracias recibida: 3058
  • vn
Source leech from GameGuard Anti Cheat System v1.2


Gracias:

pokimon, kazuya, jeferson, hoangtammedia, hieust1101, Djassar, k33n00, zedia93, armamor, diorandy, distuber1, 331515194, RafhaelSouza, thziin, b0n3v, unico, SPK, Watuyusei, Eureka26, MUXP, chipcoidj, hieuvt, zurect, carper, wallaceh, AnDeR, matan3599, Matt1995, princekannon001, mauri64, networks1, Bladimir1, fengyun52894, lehuuducmjnh, KenZ, HaPKoTuK, multipleer, hoangcungclub, drakulla, Viper, darkes607, tolitba101, Xysad, snaider205, Xenos, Domedica, Ryzenn, angel321, jeffzkie69, vokirval, xlichblack, jeuzinn, robiikaaa, komandirbk, Genius05, nescafe, OBBY, python, 1732313, exegame, warrior, DimensionX, teamrz, tyqhaha, NoobDK, majiko23, RaduOnica, coolgepds, muphantom, wallace36, DEATH, tutu100, minhtrong, PachoRasta, Shaper, xRonnye, ProTecno, jonathadll, max1musn1, dakosmu, 0911300989, deltime, 万三大哥哥, zhujianhui, zodiacobr, dkservermus6, rogeralexander, vlgtre, camxano1, pimkungclub, douglera21, darkalves2, okilove23, m4rd0k, Mazepa, wongda, ronglovel, viorb, DjGamer, ezesosa, draco425, somlee, geovanio, zHammer, erickmalfoy, finalfts24, AishaCT, antonionni, bamster89, zekcrom, kimera, thunwa1, xtian01, vitordodo157, wenleiady, RifleMaN_, TheLing, scfmt, victhorinox, kailknight, donciukas14, truongtienhp, v1rusjkee, birdy491, ProGuard, footballmuonline, boybudz321, Dizzy, rmoor1369, rapha_eu, nic269, iramondias, kaiocnx, aof10022535, paxgavilan, MuDragonBall, usersa, jhahernandezcas, HayllanderBR, bin9xhn2, dab30, fhengsho, takumi12, teza123, zerg24, pnicacio, kennypc, clockbooster, TeamCB, szewun, xiazaipw, AizeN_LP, miracle1, comelon666, wildriff66, bond2012, PhantomKr, kksky, allhoy, dhaomao, daniel202, muccone, snowking, thesofer, mavine, dieguitox, jangaka1, stopk, AZURE, pedrob, victorrz17, vaneavanea31, ruojing, Erick05, oxey.mu, samsunggon, nockasdd, Alejandra(-_-), djnansr, VERNERON, iamzuika, boylasd, TryMenow, ziza, Senhor-D, hoanmaster, Darki12345, TheKing027, skinmuonline, afiqui, liron003, T-LEGENDARY, Eymen2121, xz18786628, mrdezner, alexfy, RinOv, Smith200, knight.php, ImportedPotato, BladeKnight109, nhanphu200, MaxServers, Betell Host, mcalbert1, jinshao, baojianyang, RAGNAR111, thienthan1117, catkevin, juan1997, Shellshock, chuckhai, korron, 079333910, rekis, mos02673, byweltin@gmail.com, 161012, dreamboy7, thieugia, lucasvieira, m1sterio, gredy, Sweng, NghienMU, Pyke, phuongcuongmsqm, Rindy, axeman192, tunhi3000, Genilson23, son1xx2, vipgale01, solar, Orion88, nujd00, kieuson, atlansdev, awayvn, mapsung, spyderverr, MaxVoll, dlawls662, habacedu24, 153426, leanh, KhongGianOL, xxmenonxx, mittosaker, spartacus, taovanluc, thang1987, thongd45, bykale, louis, RaStraBaN, k12leito, romariols, ์Nightz, harry130, luciferlg, elcris99, peruzi, tammadall, manfromvn, tangyi90, 6atters, Phoenix666, Ryuno, Dieguinho, Tomsky75, tiendoanit, 423646802, datkool, matheusgom, 452745444, ArcSyS, kove0816, khyle650, Cartman, dahouzi, ZTMarkz, lechianh88, CezarMaster, nguyechien5520, anh1pk, beecubin, iSh4dow, tuyendam, phantrungloi, JavixFer, rodritwm, boncha, 183358, becoloko, ailsoncost, judakiss21, andreyzz, superrin, thieugiapc, jamiones24, TzCr4ck, c4nhsatcodong, gamingmu, kaisudo, stark98, MsotoC, s00x, xaxx10, mustx1, sannea, showmax, z348870672, cri0, animator, Specifier, choosemu, Wendigo, zhangjianle865, dizzys, LTP Team, kenh14, djagripnos, artem, Higgs, zodiacddos, LeeHenry, npt.formu, gacon201294, muzic25, sagamacus, Percy, GoldSun, besiktas, walkeny, Karuritoku, Angel18, mugloves99, melo920, zlethanhlong, ledemkhoc, vantuan02hn, Vanechka, ZabiinoOo, Keko, Peluuca, kayito, kakalot981, frenzo2009, Denis Alves, emersonx13, vnshell, xlockee, whisky123, lstuan, Lude, SaintZeus, Nexus, Odisk, lkt22

Online Odisk #1 Posteado: May 14, 2021, 10:27:41 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 896
  • Gracias recibida: 14059
  • pr
Can you explain what function it fulfills?

one day

Offline tdthanh95 #2 Posteado: May 14, 2021, 10:30:46 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 96
  • Gracias recibida: 3058
  • vn
Can you explain what function it fulfills?

add it to main, it will count "main.exe" running application.

gMaxGameInstances is the maximum number of you can open.  cool2


Offline frenzo2009 #3 Posteado: May 15, 2021, 01:29:20 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 1
  • tr
¿Dónde pongo este código? por favor ayuda.


Offline vantuan02hn #4 Posteado: May 15, 2021, 10:03:53 PM | Modificado: May 15, 2021, 10:46:55 PM by vantuan02hn

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 352
  • vn
#include <windows.h>
#include <tlhelp32.h>
#include <tchar.h>

int gMaxGameInstances = 20;
bool IsProcessRunning(const char *ProcessName, int maxProcess)
{
   PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
   HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
   int Temp = 0;
   if (Process32First(hSnapshot, &pe32))
   {
      do
      {
         if (_tcsicmp(pe32.szExeFile, ProcessName) == 0)
         {
            Temp++;
            //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: %d: %d", Temp, maxProcess);
            if (Temp > maxProcess)
            {
               CloseHandle(hSnapshot);
               return true;
            }
         }
      } while (Process32Next(hSnapshot, &pe32));
   }

   CloseHandle(hSnapshot);
   return false;
}
void CheckMaxGameInstances() // OK
{
   if (gMaxGameInstances == 0)
   {
      return;
   }

   if (IsProcessRunning("main.exe", gMaxGameInstances))
   {
      //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: SafeExitProcess");
      ExitProcess(1);
   }
}


Copy to main

Gracias:


Offline XCodeCorp #5 Posteado: May 16, 2021, 05:56:28 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 43
  • Gracias recibida: 1027
  • ar
#include <windows.h>
#include <tlhelp32.h>
#include <tchar.h>

int gMaxGameInstances = 20;
bool IsProcessRunning(const char *ProcessName, int maxProcess)
{
   PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
   HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
   int Temp = 0;
   if (Process32First(hSnapshot, &pe32))
   {
      do
      {
         if (_tcsicmp(pe32.szExeFile, ProcessName) == 0)
         {
            Temp++;
            //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: %d: %d", Temp, maxProcess);
            if (Temp > maxProcess)
            {
               CloseHandle(hSnapshot);
               return true;
            }
         }
      } while (Process32Next(hSnapshot, &pe32));
   }

   CloseHandle(hSnapshot);
   return false;
}
void CheckMaxGameInstances() // OK
{
   if (gMaxGameInstances == 0)
   {
      return;
   }

   if (IsProcessRunning("main.exe", gMaxGameInstances))
   {
      //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: SafeExitProcess");
      ExitProcess(1);
   }
}


Copy to main


Si estas aplicando el código de arriba, dice que el Maximo es 20, no 2 como pones en tu video. No me puse a ver cuantas ventas abriste, pero el titulo de tu video dice 2.


Offline vantuan02hn #6 Posteado: May 16, 2021, 11:32:29 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 352
  • vn
#include <windows.h>
#include <tlhelp32.h>
#include <tchar.h>

int gMaxGameInstances = 20;
bool IsProcessRunning(const char *ProcessName, int maxProcess)
{
   PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
   HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
   int Temp = 0;
   if (Process32First(hSnapshot, &pe32))
   {
      do
      {
         if (_tcsicmp(pe32.szExeFile, ProcessName) == 0)
         {
            Temp++;
            //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: %d: %d", Temp, maxProcess);
            if (Temp > maxProcess)
            {
               CloseHandle(hSnapshot);
               return true;
            }
         }
      } while (Process32Next(hSnapshot, &pe32));
   }

   CloseHandle(hSnapshot);
   return false;
}
void CheckMaxGameInstances() // OK
{
   if (gMaxGameInstances == 0)
   {
      return;
   }

   if (IsProcessRunning("main.exe", gMaxGameInstances))
   {
      //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: SafeExitProcess");
      ExitProcess(1);
   }
}


Copy to main


Si estas aplicando el código de arriba, dice que el Maximo es 20, no 2 como pones en tu video. No me puse a ver cuantas ventas abriste, pero el titulo de tu video dice 2.


Este código contará todo el archivo main.exe que se está ejecutando, si el cliente juega mucho MU no funcionará


Offline Higgs #7 Posteado: May 17, 2021, 12:13:42 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 50
  • Gracias recibida: 10
  • us
#include <windows.h>
#include <tlhelp32.h>
#include <tchar.h>

int gMaxGameInstances = 20;
bool IsProcessRunning(const char *ProcessName, int maxProcess)
{
   PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
   HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
   int Temp = 0;
   if (Process32First(hSnapshot, &pe32))
   {
      do
      {
         if (_tcsicmp(pe32.szExeFile, ProcessName) == 0)
         {
            Temp++;
            //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: %d: %d", Temp, maxProcess);
            if (Temp > maxProcess)
            {
               CloseHandle(hSnapshot);
               return true;
            }
         }
      } while (Process32Next(hSnapshot, &pe32));
   }

   CloseHandle(hSnapshot);
   return false;
}
void CheckMaxGameInstances() // OK
{
   if (gMaxGameInstances == 0)
   {
      return;
   }

   if (IsProcessRunning("main.exe", gMaxGameInstances))
   {
      //gLog.Output(LOG_DEBUG, "CheckMaxGameInstances: SafeExitProcess");
      ExitProcess(1);
   }
}


Copy to main


Si estas aplicando el código de arriba, dice que el Maximo es 20, no 2 como pones en tu video. No me puse a ver cuantas ventas abriste, pero el titulo de tu video dice 2.


Este código contará todo el archivo main.exe que se está ejecutando, si el cliente juega mucho MU no funcionará

El mío está funcionando bien  boxing


Offline vantuan02hn #8 Posteado: May 17, 2021, 12:39:37 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 352
  • vn
El mío está funcionando bien  boxing

El jugador juega 3 mu diferentes, establece su límite de mu en 4
- MU 1: 2 Clien
- MU 2: 2 Clien
- Su MU -> no se pudo abrir :)


Offline Ketamine #9 Posteado: May 17, 2021, 06:00:29 PM

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 293
  • Gracias recibida: 1809
  • cl
Mis 2 centavos:

La forma correcta de hacer esto es la siguiente:

Utilizas GetModuleFileName para obtener el nombre del proceso del juego y su directorio.
Escanea los procesos como lo estas haciendo y luego cuentas cuantos procesos tienen el nombre y directorio de tu cliente.
Haces el conteo y luego si supera el número, lo cierras ^^

Esa es la mejor manera de hacerlo ya que la forma expuesta en este post no sirve porque podría abrir otro MU de otro servidor y lo tomaría incorrectamente porque no comprueba el directorio del proceso, entonces comparando el directorio del proceso del juego se solucionaría el problema :D

 
Discord: ketaminemuonline
Anti-Cheat para MU Online (Premium): https://tuservermu.com.ve/index.php?topic=40028
Anti-Bypass para MU Online (Free): https://tuservermu.com.ve/index.php?topic=56763
Anti-Dupe para MU Online (Free): https://tuservermu.com.ve/index.php?topic=40607
 

Offline JavixFer #10 Posteado: May 17, 2021, 07:15:16 PM | Modificado: May 17, 2021, 07:56:48 PM by JavixFer

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 507
  • Gracias recibida: 4844
  • bo
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v


Offline khyle650 #11 Posteado: May 18, 2021, 12:03:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 103
  • Gracias recibida: 2425
  • es
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v
Funciona perfecto, te falto esto:
Protect.h
Buscar:
Code: [Select]
class CProtect
{
public:
y añadir:
Code: [Select]
	bool IsProcessRunning(const char *ProcessName, int maxProcess);

Gracias:


Offline nujd00 #12 Posteado: October 31, 2021, 11:12:51 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 364
  • Gracias recibida: 333
  • ph
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v

i correctly installed all but if you go inside server. all become lightning speed hahahah so fast. you walk so fast all everything
how to fix it?

NUJD RABAGO

Offline Sweng #13 Posteado: November 01, 2021, 07:08:27 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 5
  • ua

Offline JavixFer #14 Posteado: November 01, 2021, 08:58:46 AM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 507
  • Gracias recibida: 4844
  • bo
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v

i correctly installed all but if you go inside server. all become lightning speed hahahah so fast. you walk so fast all everything
how to fix it?
Esto no tiene que ver en nada con la velocidad de juego simplemente es para limitar el limite de main.exe que se abren nada mas.


Offline Betell Host #15 Posteado: November 11, 2021, 04:00:36 PM | Modificado: November 11, 2021, 04:40:28 PM by Betell Host

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 548
  • Gracias recibida: 3643
  • br
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v

i correctly installed all but if you go inside server. all become lightning speed hahahah so fast. you walk so fast all everything
how to fix it?

Meu amigo é so descer o codigo

//=================================================================================================================
//-- MaxGameInstances, seleciona la cantidad de main.exe que de desea abrir
//=================================================================================================================
[Custom]
MaxGameInstances= 1

Para o Final e vai normalizar a velocidade



Offline ImportedPotato #16 Posteado: August 01, 2022, 12:21:25 PM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 169
  • Gracias recibida: 41
  • ph
how to put this in anti hack ltp? please make a guide too


Offline stopk #17 Posteado: August 02, 2022, 07:28:48 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 100
  • Gracias recibida: 169
  • bh
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v
Make no difference


Offline Alexandra_Daddario #18 Posteado: August 03, 2022, 01:05:17 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 1
  • Gracias recibida: 0
  • us
This is very helpful! Thank you for sharing these ideas!
quordle
 


Offline fhengsho #19 Posteado: September 30, 2022, 06:03:09 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 7
  • tw
aqui esta mi granito de arena el man de arriba me ilumino, para aquellos que no les funciona MaxGameInstances este seria mi modificacion y tambien hace un llamado al Getmain para que lo puedan manipular desde alli... anda de 10 :v

NOT WORKING USING FOX UPDATE 19  SOURCE

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2759 Views
Last post February 16, 2020, 09:47:28 AM
by modaxd
6 Replies
2870 Views
Last post March 18, 2020, 09:55:22 PM
by matheusgom
1 Replies
1205 Views
Last post March 19, 2020, 09:18:30 PM
by mututhan
1 Replies
2602 Views
Last post September 17, 2023, 05:15:02 PM
by pedornela
5 Replies
858 Views
Last post June 20, 2025, 10:27:47 PM
by ace17