Noticias:

SMF - Just Installed!

Menú principal

Sources ServerName 1.02C

Publicado por Dakosmu, Jun 13, 2023, 01:51 AM

Tema anterior - Siguiente tema

Dakosmu

Sources ServerName 1.02C

Los visitantes no pueden visualizar imágenes en los mensajes, por favor Regístrate o Inicia Sesión



MAIN

Protect.h
Code:
char Code0[32];
main.cpp
Code:
SetDword(0x006C5602+1,(DWORD)gProtect.m_MainInfo.Code0);   //-> ServerName(Non-PVP)
GETMAININFO

GetMainInfo.cpp
Code:
char Code0[32];
GetPrivateProfileString("ServerName","GameServerCode0","",info.Code0,sizeof(info.Code0),".\\CustomServerName.txt");

CRIAR UM ARQUIVO CHAMADO
"CustomServerName.txt"COLE ISSO DENTRO DO ARQUIVO:

[ServerName]

GameServerCode0 = 1.02C TESTE ABC 123

Creditos
plyn
Bon Dia

🡱 🡳