Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: takumi12 - CProtect Source 5.2  (Visto 5275 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline takumi12 Posteado: August 21, 2022, 05:05:03 PM | Modificado: August 31, 2022, 03:23:29 AM by takumi12

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.048
  • Gracias recibida: 45422
  • mx
para los que quieran agregarle un sistema de maininfo como el de mu emu a la source 5.2

en la función int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int nCmdShow)




en la función BOOL OpenInitFile()

de bajo de GetPrivateProfileString("LOGIN", "Version", "", m_Version, 11, szIniFilePath); agregar esto



CProyect.h




CProtect.cpp



Las offset no se crea, ni se destruye, solo se transforma

Gracias:

hieuthangtg, HayllanderBR, nhandr2304, stopk, BastarDesing, kendy93, zeronycs, hanzel, ledemkhoc, Eureka26, andinh, Axelfvm, vampzao123, wener1992, vietbang, ghuty, beecubin, zerosp, sannea, Watuyusei, mavine, aujindo, walassi12, gmmuchang, smil158, SPK, Demian25, KenZ, haziel, kingofmubn, hoangha001, ichigo, MUXP, magos22, kanam3, Almdar, rivaldo123, luckystar, dreamboy7, swedka, Androjd123, kimjfsim, nhockute, Smudevelop, lehuuducmjnh, tangyi90, komandirbk, marcelin, Pecan, hola23, thanggsm, dizzys, leehenry1208, xufqing, hoangtammedia, nyanha, sgak1pg, zhujianhui, LeeHenry, dakosmu, vcore30, vaneavanea31, jeuzinn, b0n3v, Dexign, bhramabr, ProTecno, Orion88, a269633915, Viper, qixar, Matt1995, mauri64, mantios, anonymousgh, hieuvt, Domedica, igznoth, anhdatz2023, Ryzenn, tuyendam, phuongcuongmsqm, GoldSun, RoleS123, bin9xhn2, Ketamine, JnnDougg, xlockee, HaPKoTuK, darkes607, Shaper, hlinxuan20, Mineiro, allhoy, testaccount, amadeusx2, Xysad, malokatm0, kaiocnx, npt.formu, S!ngle, wellihard, usersa, hyonzinho666, erickmalfoy, lozlomoka, SetecSoft, hfhmu, 1732313, rowdy2014, Bladimir1, nowalova, hald22, gamesperu, origeweb, Tmchien44, mjkjo0, llZeuzll, berte, Saige, comelon666, c4nhsatcodong, lkt22, kellington, lzm100001, dahouzi, xRonnye, wanwaycom, son1xx2, warrior, httdeptrai, deltime, m4rd0k, Honghai1992, Rifah, marlonbdr, RinOv, mehralion, DevCrime, cobyzero, backerchen, thongd45, 331515194, haintbn, vitordodo157, somlee, Pilligrim, Sweng, socolas, jonathadll, python, chuckhai, oxey.mu, afiqui, melo920, kenh14, SHILDKING, truongtienhp, Zeus, dsw_pool, Hoangsy99, zhangjianle865, Konnopny, LTP Team, gredy, Encrypter, narinrak1, GabrielDev, redf0x, thziin, zHammer, Thale, artem, angel321, hennedy, Annabel, roie, birdy491, teza123, JavixFer, SaintZeus, judakiss21, h3yShOk, devid123, nailsonbr, deathsquad, mittosaker, victorbk2k, FIESTERO, tyqhaha, pimkungclub, viorb, thesofer, manfromvn, Dieguinho, Kapocha33, InFamous, vnshell, emaspc93, Odisk, roshux, MsotoC, fengyun52894, nhanphu200, Van_Bom, tutu100, ImportedPotato, muzic25, BDCAM, dlawls662, me19900, RaStraBaN, Hugo, hoanmaster, DjGamer, stark98, aof10022535, andreyzz, 183358, Genilson23, Erick05, drendy, pdrmed, tammadall, zodiacddos, showmax, wenleiady, djagripnos, axeman192, whisky123, kimrubi, Murilo, Nakamura, Wikka, NghienMU, carlosx1302, juan1997, quyanxu, muccone, kaisudo, Pyke, mugloves99, wildriff66, knight.php, RAGNAR111, lucasvieira, xianwen, nsynecs, m1sterio

Offline Odisk #1 Posteado: August 30, 2022, 09:17:56 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 895
  • Gracias recibida: 14054
  • pr
Estoy tratando de hacer el  getmainInfo  lo agarre de uno limpio pero a la hora de abrir el main tengo el mismo error de
"main.t not found or invalid!"


aqui la modificacion adaptandolo para que funcione sin las custom's que trae xteam.

Alguna sugerencia ?

GetMainInfo.ccp
Code: [Select]
#include "stdafx.h"
#include "ThemidaSDK.h"

// Common
#include "Util/CCRC32.H"

struct MAIN_FILE_INFO
{

char IpAddress[32];
WORD IpAddressPort;
char ClientVersion[8];
char ClientSerial[17];
char ClientName[32];
DWORD ClientCRC32;
};

int _tmain(int argc,_TCHAR* argv[]) // OK
{
CLEAR_START

ENCODE_START

MAIN_FILE_INFO info;

memset(&info,0,sizeof(info));

info.IpAddressPort = GetPrivateProfileInt("MainInfo","IpAddressPort",44405,".\\MainInfo.ini");

GetPrivateProfileString("MainInfo","IpAddress","",info.IpAddress,sizeof(info.IpAddress),".\\MainInfo.ini");

GetPrivateProfileString("MainInfo","ClientVersion","",info.ClientVersion,sizeof(info.ClientVersion),".\\MainInfo.ini");

GetPrivateProfileString("MainInfo","ClientSerial","",info.ClientSerial,sizeof(info.ClientSerial),".\\MainInfo.ini");

GetPrivateProfileString("MainInfo","ClientName","",info.ClientName,sizeof(info.ClientName),".\\MainInfo.ini");

CCRC32 CRC32;

if(CRC32.FileCRC(info.ClientName,&info.ClientCRC32,1024) == 0)
{
info.ClientCRC32 = 0;
}


for(int n=0;n < sizeof(MAIN_FILE_INFO);n++)
{
((BYTE*)&info)[n] ^= (BYTE)(0xCA^LOBYTE(n));
((BYTE*)&info)[n] -= (BYTE)(0x95^HIBYTE(n));
}

HANDLE file = CreateFile("main.t",GENERIC_WRITE,FILE_SHARE_READ,0,CREATE_ALWAYS,FILE_ATTRIBUTE_ARCHIVE,0);

if(file == INVALID_HANDLE_VALUE)
{
return 0;
}

DWORD OutSize = 0;

if(WriteFile(file,&info,sizeof(MAIN_FILE_INFO),&OutSize,0) == 0)
{
CloseHandle(file);
return 0;
}

CloseHandle(file);

ENCODE_END

CLEAR_END

return 0;
}

one day

Gracias:


Online MsotoC #2 Posteado: December 09, 2022, 05:41:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 282
  • Gracias recibida: 2302
  • pe

Online MsotoC #3 Posteado: December 09, 2022, 05:49:40 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 282
  • Gracias recibida: 2302
  • pe
https://imgur.com/a/PhxV1Dv asi me queda pero no arranca el main :(


Offline takumi12 #4 Posteado: December 09, 2022, 07:46:44 AM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.048
  • Gracias recibida: 45422
  • mx
https://imgur.com/a/PhxV1Dv asi me queda pero no arranca el main :(

ni te va a funcionar en tu imagen lo agregas en donde tu quieres y no donde la publicación dice  sueno


Las offset no se crea, ni se destruye, solo se transforma

Offline hieuvt #5 Posteado: October 05, 2024, 05:21:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 62
  • Gracias recibida: 16
  • vn
link die please re share it


Offline kaiocnx #6 Posteado: October 06, 2024, 10:42:52 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 59
  • Gracias recibida: 925
  • br

Offline ProTecno #7 Posteado: October 06, 2024, 12:06:22 PM

  • ESTAFADOR
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 261
  • Gracias recibida: 6713
  • us
alguien podria resubir el link por favor


Offline phuongcuongmsqm #8 Posteado: October 06, 2024, 08:56:40 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 100
  • Gracias recibida: 30
  • vn

Offline kaiocnx #9 Posteado: October 12, 2024, 06:57:09 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 59
  • Gracias recibida: 925
  • br

Offline son1xx2 #10 Posteado: October 12, 2024, 10:45:31 AM

  • 0 puntos por ventas
  • *
  • Rank: Liga mayor
  • Posts: 198
  • Gracias recibida: 2453
  • vn
what is this?? these are very basic codes that can be copied from muemu, takumi12 has instructed where to put it so it works??? you need the file to just copy and paste without thinking?

Do better, don't try to do the same ;)

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
6 Replies
6238 Views
Last post October 06, 2024, 10:42:09 AM
by kaiocnx
83 Replies
27145 Views
Last post April 21, 2024, 03:33:15 PM
by Evangelio
9 Replies
3625 Views
Last post December 28, 2023, 08:49:13 AM
by NghienMU
0 Replies
852 Views
Last post January 06, 2024, 06:55:48 AM
by T-LEGENDARY
23 Replies
9220 Views
Last post February 16, 2025, 06:39:10 AM
by T-LEGENDARY