Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: EMU.IGC.Server Suite.x12 12.1.1.0(4) + Sources  (Visto 15899 veces)

RoleS123 and 1 Guest are viewing this topic.

Offline dakosmu #60 Posteado: September 07, 2023, 10:50:46 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 628
  • Gracias recibida: 5994
  • ve
Dakosmu Colaborador

Offline zHammer #61 Posteado: September 10, 2023, 11:09:46 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 77
  • Gracias recibida: 32
  • es


Fixed text in incorrect position
- experience
- Exit the server
- welcome message

 please please please please
clinet ss10 ????

I downgraded SS12 to SS10.
The original is SS12.

Gracias:


Offline Tmchien44 #62 Posteado: September 11, 2023, 09:36:14 AM | Modificado: September 11, 2023, 07:48:09 PM by Tmchien44

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 23
  • Gracias recibida: 123
  • vn


Fixed text in incorrect position
- experience
- Exit the server
- welcome message

 please please please please
clinet ss10 ????

I downgraded SS12 to SS10.
The original is SS12.
Can you share it with me? Thank you very much
chckhai@gmail.com


Offline gian789 #63 Posteado: September 11, 2023, 11:43:25 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 49
  • Gracias recibida: 21
  • ar
Killing monsters appears in the League announcement

How to solve this problem

https://ibb.co/bzMRdDw

The source code of the message has been corrected, please check again
Code: [Select]


void TNotice::MakeNoticeMsg(void * lpNotice, BYTE btType, char * szNoticeMsg)
{
PMSG_NOTICE* pNotice = (PMSG_NOTICE*)lpNotice;
pNotice->type = btType;
memcpy(pNotice->Notice, szNoticeMsg, strlen(szNoticeMsg));
wsprintf(pNotice->Notice, szNoticeMsg);

PHeadSetB((LPBYTE)pNotice, 0x0D, strlen(pNotice->Notice) + sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + 1);
// PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;
//
// pNotice->dwColor = 0;
//
// char szTempMsg[4096] = { 256, };
// memset(pNotice->Notice, 256, sizeof(pNotice->Notice));
//
// va_list pArguments;
// //va_start(pArguments, szNoticeMsg);
// vsprintf(szTempMsg, szNoticeMsg, pArguments);
// va_end(pArguments);
//
// MultiByteToWideChar(DEFAULT_CODEPAGE, 0, (char*)szNoticeMsg, strlen(szNoticeMsg), (WCHAR*)szTempMsg, sizeof(szTempMsg));
// memcpy(pNotice->Notice, szTempMsg, sizeof(pNotice->Notice));
// pNotice->Notice[sizeof(pNotice->Notice) - 2] = 0;
// pNotice->Notice[sizeof(pNotice->Notice) - 1] = 0;
// PHeadSetB((LPBYTE)pNotice, 0x0D, sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + (wcslen((WCHAR*)pNotice->Notice) * 2 + 2));
}


void TNotice::MakeNoticeMsgEx(void * lpNotice, BYTE btType, char * szNoticeMsg, ...)
{

PMSG_NOTICE* pNotice = (PMSG_NOTICE*)lpNotice;
pNotice->type = btType;
va_list pArguments;
va_start(pArguments, szNoticeMsg);
vsprintf((char*)pNotice->Notice, (char*)szNoticeMsg, pArguments);
va_end(pArguments);
PHeadSetB((LPBYTE)pNotice, 0x0D, strlen(pNotice->Notice) + sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + 1);
/*PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;
pNotice->dwColor = 0;

char szTempMsg[4096] = { 0, };
memset(pNotice->Notice, 0, sizeof(pNotice->Notice));

va_list pArguments;
va_start(pArguments, szNoticeMsg);
vsprintf(szTempMsg, szNoticeMsg, pArguments);
va_end(pArguments);

MultiByteToWideChar(DEFAULT_CODEPAGE, 0, (char*)szTempMsg, strlen(szTempMsg), (WCHAR*)pNotice->Notice, sizeof(pNotice->Notice));
pNotice->Notice[sizeof(pNotice->Notice) - 2] = 0;
pNotice->Notice[sizeof(pNotice->Notice) - 1] = 0;
PHeadSetB((LPBYTE)pNotice, 0x0D, sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + (wcslen((WCHAR*)pNotice->Notice) * 2 + 2));*/
}

void TNotice::SetNoticeProperty(void * lpNotice, BYTE btType, DWORD dwColor, BYTE btCount, WORD wDelay, BYTE btSpeed)
{
PMSG_NOTICE * pNotice =(PMSG_NOTICE *) lpNotice;

pNotice->type = btType;
pNotice->dwColor = dwColor;
pNotice->btCount = btCount;
pNotice->wDelay = wDelay;
pNotice->btSpeed = btSpeed;
}

void TNotice::SendNoticeToAllUser(void * lpNotice)
{
PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;

for ( int n = g_ConfigRead.server.GetObjectStartUserIndex() ; n < g_ConfigRead.server.GetObjectMax() ; n++)
{
if ( gObj[n].Connected == PLAYER_PLAYING )
{
if ( gObj[n].Type  == OBJ_USER )
{
IOCP.DataSend(n, (unsigned char*)pNotice  , pNotice->h.size  );
}
}
}
}

void TNotice::SendNoticeToUser(int aIndex, void * lpNotice)
{
PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;
IOCP.DataSend(aIndex, (unsigned char*)pNotice, pNotice->h.size  );
}



void TNotice::AllSendServerMsg(LPSTR chatmsg)
{
PMSG_NOTICE pNotice;

MakeNoticeMsg((TNotice *)&pNotice, 0,  chatmsg);

for ( int n = g_ConfigRead.server.GetObjectStartUserIndex() ; n < g_ConfigRead.server.GetObjectMax() ; n++)
{
if ( gObj[n].Connected == PLAYER_PLAYING )
{
if ( gObj[n].Type  == OBJ_USER )
{
IOCP.DataSend(n, (unsigned char*)&pNotice , pNotice.h.size );
}
}
}
}

void TNotice::GCServerMsgStringSend(LPSTR szMsg, int aIndex, BYTE type)
{
PMSG_NOTICE pNotice;

MakeNoticeMsg(&pNotice, type, szMsg);
IOCP.DataSend(aIndex, (unsigned char*)&pNotice, pNotice.h.size);
}



TNotice::TNotice(BYTE btType)
{
this->m_Notice.btCount = 1;
this->m_Notice.btSpeed = 20;
this->m_Notice.dwColor = _ARGB(255, 255, 200, 80 );
this->m_Notice.wDelay = 0;
this->m_Notice.type = btType;
}







void TNotice::SendToAllUser(LPSTR szMsg, ...)
{
va_list pArguments;
va_start(pArguments, szMsg);
vsprintf(this->m_Notice.Notice, (char*)szMsg, pArguments);
va_end(pArguments);
PHeadSetB((LPBYTE)&this->m_Notice, 0x0D, strlen(this->m_Notice.Notice) + sizeof(PMSG_NOTICE) - sizeof(this->m_Notice.Notice) + 1);

for (int n = g_ConfigRead.server.GetObjectStartUserIndex(); n < g_ConfigRead.server.GetObjectMax(); n++)
{
if (gObj[n].Connected == PLAYER_PLAYING)
{
if (gObj[n].Type == OBJ_USER)
{
IOCP.DataSend(n, (LPBYTE)&this->m_Notice, this->m_Notice.h.size);
}
}
}
}

void TNotice::SendToUser(int aIndex, LPSTR szMsg, ...)
{
char szTempMsg[4096] = { 0, };
memset(m_Notice.Notice, 0, sizeof(m_Notice.Notice));

va_list pArguments;
va_start(pArguments, szMsg);
vsprintf(szTempMsg, szMsg, pArguments);
va_end(pArguments);

MultiByteToWideChar(DEFAULT_CODEPAGE, 0, (char*)szTempMsg, strlen(szTempMsg), (WCHAR*)m_Notice.Notice, sizeof(m_Notice.Notice));
m_Notice.Notice[sizeof(m_Notice.Notice) - 2] = 0;
m_Notice.Notice[sizeof(m_Notice.Notice) - 1] = 0;
PHeadSetB((LPBYTE)&m_Notice, 0x0D, sizeof(PMSG_NOTICE) - sizeof(m_Notice.Notice) + (wcslen((WCHAR*)m_Notice.Notice) * 2 + 2));

IOCP.DataSend(aIndex, (LPBYTE)&this->m_Notice , this->m_Notice.h.size );
}


void TNotice::GCNoticeSend(int aIndex, BYTE type, BYTE count, BYTE opacity, WORD delay, DWORD color, BYTE speed, char* message, ...) // OK
{
char buff[256] = {  };

va_list arg;
va_start(arg, message);
vsprintf_s(buff, message, arg);
va_end(arg);

int size = strlen(buff);

size = ((size>MAX_MESSAGE_SIZE) ? MAX_MESSAGE_SIZE : size);

PMSG_NOTICE_SEND pMsg;

pMsg.header.set((LPBYTE)&pMsg, 0x0D, (sizeof(pMsg) - (sizeof(pMsg.message) - (size + 1))));

pMsg.type = type;

pMsg.count = count;

pMsg.opacity = opacity;

pMsg.delay = delay;

pMsg.color = color;

pMsg.speed = speed;

memcpy(pMsg.message, buff, size);

pMsg.message[size] = 0;

IOCP.DataSend(aIndex, (BYTE*)&pMsg, pMsg.header.size);
}

void TNotice::GCNoticeSendToAll(BYTE type, BYTE count, BYTE opacity, WORD delay, DWORD color, BYTE speed, char* message, ...) // OK
{
char buff[256] = { 0};

va_list arg;
va_start(arg, message);
vsprintf_s(buff, message, arg);
va_end(arg);

int size = strlen(buff);

size = ((size>MAX_MESSAGE_SIZE) ? MAX_MESSAGE_SIZE : size);

PMSG_NOTICE_SEND pMsg;

pMsg.header.set((LPBYTE)&pMsg, 0x0D, (sizeof(pMsg) - (sizeof(pMsg.message) - (size + 1))));

pMsg.type = type;

pMsg.count = count;

pMsg.opacity = opacity;

pMsg.delay = delay;

pMsg.color = color;

pMsg.speed = speed;

memcpy(pMsg.message, buff, size);

pMsg.message[size] = 0;

for (int n = g_ConfigRead.server.GetObjectStartUserIndex(); n < g_ConfigRead.server.GetObjectMax(); n++)
{
if (gObjIsConnectedGP(n) != 0)
{
IOCP.DataSend(n, (BYTE*)&pMsg, pMsg.header.size);
}
}
}

Is this solved by compiling the source again and correcting what was mentioned?

Gracias:


Offline Tmchien44 #64 Posteado: September 11, 2023, 02:31:55 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 23
  • Gracias recibida: 123
  • vn
Killing monsters appears in the League announcement

How to solve this problem

https://ibb.co/bzMRdDw

The source code of the message has been corrected, please check again
Code: [Select]


void TNotice::MakeNoticeMsg(void * lpNotice, BYTE btType, char * szNoticeMsg)
{
PMSG_NOTICE* pNotice = (PMSG_NOTICE*)lpNotice;
pNotice->type = btType;
memcpy(pNotice->Notice, szNoticeMsg, strlen(szNoticeMsg));
wsprintf(pNotice->Notice, szNoticeMsg);

PHeadSetB((LPBYTE)pNotice, 0x0D, strlen(pNotice->Notice) + sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + 1);
// PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;
//
// pNotice->dwColor = 0;
//
// char szTempMsg[4096] = { 256, };
// memset(pNotice->Notice, 256, sizeof(pNotice->Notice));
//
// va_list pArguments;
// //va_start(pArguments, szNoticeMsg);
// vsprintf(szTempMsg, szNoticeMsg, pArguments);
// va_end(pArguments);
//
// MultiByteToWideChar(DEFAULT_CODEPAGE, 0, (char*)szNoticeMsg, strlen(szNoticeMsg), (WCHAR*)szTempMsg, sizeof(szTempMsg));
// memcpy(pNotice->Notice, szTempMsg, sizeof(pNotice->Notice));
// pNotice->Notice[sizeof(pNotice->Notice) - 2] = 0;
// pNotice->Notice[sizeof(pNotice->Notice) - 1] = 0;
// PHeadSetB((LPBYTE)pNotice, 0x0D, sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + (wcslen((WCHAR*)pNotice->Notice) * 2 + 2));
}


void TNotice::MakeNoticeMsgEx(void * lpNotice, BYTE btType, char * szNoticeMsg, ...)
{

PMSG_NOTICE* pNotice = (PMSG_NOTICE*)lpNotice;
pNotice->type = btType;
va_list pArguments;
va_start(pArguments, szNoticeMsg);
vsprintf((char*)pNotice->Notice, (char*)szNoticeMsg, pArguments);
va_end(pArguments);
PHeadSetB((LPBYTE)pNotice, 0x0D, strlen(pNotice->Notice) + sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + 1);
/*PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;
pNotice->dwColor = 0;

char szTempMsg[4096] = { 0, };
memset(pNotice->Notice, 0, sizeof(pNotice->Notice));

va_list pArguments;
va_start(pArguments, szNoticeMsg);
vsprintf(szTempMsg, szNoticeMsg, pArguments);
va_end(pArguments);

MultiByteToWideChar(DEFAULT_CODEPAGE, 0, (char*)szTempMsg, strlen(szTempMsg), (WCHAR*)pNotice->Notice, sizeof(pNotice->Notice));
pNotice->Notice[sizeof(pNotice->Notice) - 2] = 0;
pNotice->Notice[sizeof(pNotice->Notice) - 1] = 0;
PHeadSetB((LPBYTE)pNotice, 0x0D, sizeof(PMSG_NOTICE) - sizeof(pNotice->Notice) + (wcslen((WCHAR*)pNotice->Notice) * 2 + 2));*/
}

void TNotice::SetNoticeProperty(void * lpNotice, BYTE btType, DWORD dwColor, BYTE btCount, WORD wDelay, BYTE btSpeed)
{
PMSG_NOTICE * pNotice =(PMSG_NOTICE *) lpNotice;

pNotice->type = btType;
pNotice->dwColor = dwColor;
pNotice->btCount = btCount;
pNotice->wDelay = wDelay;
pNotice->btSpeed = btSpeed;
}

void TNotice::SendNoticeToAllUser(void * lpNotice)
{
PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;

for ( int n = g_ConfigRead.server.GetObjectStartUserIndex() ; n < g_ConfigRead.server.GetObjectMax() ; n++)
{
if ( gObj[n].Connected == PLAYER_PLAYING )
{
if ( gObj[n].Type  == OBJ_USER )
{
IOCP.DataSend(n, (unsigned char*)pNotice  , pNotice->h.size  );
}
}
}
}

void TNotice::SendNoticeToUser(int aIndex, void * lpNotice)
{
PMSG_NOTICE * pNotice = (PMSG_NOTICE *)lpNotice;
IOCP.DataSend(aIndex, (unsigned char*)pNotice, pNotice->h.size  );
}



void TNotice::AllSendServerMsg(LPSTR chatmsg)
{
PMSG_NOTICE pNotice;

MakeNoticeMsg((TNotice *)&pNotice, 0,  chatmsg);

for ( int n = g_ConfigRead.server.GetObjectStartUserIndex() ; n < g_ConfigRead.server.GetObjectMax() ; n++)
{
if ( gObj[n].Connected == PLAYER_PLAYING )
{
if ( gObj[n].Type  == OBJ_USER )
{
IOCP.DataSend(n, (unsigned char*)&pNotice , pNotice.h.size );
}
}
}
}

void TNotice::GCServerMsgStringSend(LPSTR szMsg, int aIndex, BYTE type)
{
PMSG_NOTICE pNotice;

MakeNoticeMsg(&pNotice, type, szMsg);
IOCP.DataSend(aIndex, (unsigned char*)&pNotice, pNotice.h.size);
}



TNotice::TNotice(BYTE btType)
{
this->m_Notice.btCount = 1;
this->m_Notice.btSpeed = 20;
this->m_Notice.dwColor = _ARGB(255, 255, 200, 80 );
this->m_Notice.wDelay = 0;
this->m_Notice.type = btType;
}







void TNotice::SendToAllUser(LPSTR szMsg, ...)
{
va_list pArguments;
va_start(pArguments, szMsg);
vsprintf(this->m_Notice.Notice, (char*)szMsg, pArguments);
va_end(pArguments);
PHeadSetB((LPBYTE)&this->m_Notice, 0x0D, strlen(this->m_Notice.Notice) + sizeof(PMSG_NOTICE) - sizeof(this->m_Notice.Notice) + 1);

for (int n = g_ConfigRead.server.GetObjectStartUserIndex(); n < g_ConfigRead.server.GetObjectMax(); n++)
{
if (gObj[n].Connected == PLAYER_PLAYING)
{
if (gObj[n].Type == OBJ_USER)
{
IOCP.DataSend(n, (LPBYTE)&this->m_Notice, this->m_Notice.h.size);
}
}
}
}

void TNotice::SendToUser(int aIndex, LPSTR szMsg, ...)
{
char szTempMsg[4096] = { 0, };
memset(m_Notice.Notice, 0, sizeof(m_Notice.Notice));

va_list pArguments;
va_start(pArguments, szMsg);
vsprintf(szTempMsg, szMsg, pArguments);
va_end(pArguments);

MultiByteToWideChar(DEFAULT_CODEPAGE, 0, (char*)szTempMsg, strlen(szTempMsg), (WCHAR*)m_Notice.Notice, sizeof(m_Notice.Notice));
m_Notice.Notice[sizeof(m_Notice.Notice) - 2] = 0;
m_Notice.Notice[sizeof(m_Notice.Notice) - 1] = 0;
PHeadSetB((LPBYTE)&m_Notice, 0x0D, sizeof(PMSG_NOTICE) - sizeof(m_Notice.Notice) + (wcslen((WCHAR*)m_Notice.Notice) * 2 + 2));

IOCP.DataSend(aIndex, (LPBYTE)&this->m_Notice , this->m_Notice.h.size );
}


void TNotice::GCNoticeSend(int aIndex, BYTE type, BYTE count, BYTE opacity, WORD delay, DWORD color, BYTE speed, char* message, ...) // OK
{
char buff[256] = {  };

va_list arg;
va_start(arg, message);
vsprintf_s(buff, message, arg);
va_end(arg);

int size = strlen(buff);

size = ((size>MAX_MESSAGE_SIZE) ? MAX_MESSAGE_SIZE : size);

PMSG_NOTICE_SEND pMsg;

pMsg.header.set((LPBYTE)&pMsg, 0x0D, (sizeof(pMsg) - (sizeof(pMsg.message) - (size + 1))));

pMsg.type = type;

pMsg.count = count;

pMsg.opacity = opacity;

pMsg.delay = delay;

pMsg.color = color;

pMsg.speed = speed;

memcpy(pMsg.message, buff, size);

pMsg.message[size] = 0;

IOCP.DataSend(aIndex, (BYTE*)&pMsg, pMsg.header.size);
}

void TNotice::GCNoticeSendToAll(BYTE type, BYTE count, BYTE opacity, WORD delay, DWORD color, BYTE speed, char* message, ...) // OK
{
char buff[256] = { 0};

va_list arg;
va_start(arg, message);
vsprintf_s(buff, message, arg);
va_end(arg);

int size = strlen(buff);

size = ((size>MAX_MESSAGE_SIZE) ? MAX_MESSAGE_SIZE : size);

PMSG_NOTICE_SEND pMsg;

pMsg.header.set((LPBYTE)&pMsg, 0x0D, (sizeof(pMsg) - (sizeof(pMsg.message) - (size + 1))));

pMsg.type = type;

pMsg.count = count;

pMsg.opacity = opacity;

pMsg.delay = delay;

pMsg.color = color;

pMsg.speed = speed;

memcpy(pMsg.message, buff, size);

pMsg.message[size] = 0;

for (int n = g_ConfigRead.server.GetObjectStartUserIndex(); n < g_ConfigRead.server.GetObjectMax(); n++)
{
if (gObjIsConnectedGP(n) != 0)
{
IOCP.DataSend(n, (BYTE*)&pMsg, pMsg.header.size);
}
}
}

Is this solved by compiling the source again and correcting what was mentioned?
Yes


Offline zHammer #65 Posteado: October 06, 2023, 01:53:08 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 77
  • Gracias recibida: 32
  • es


Help me fix the damage numbers that are stacked up so that I can't clearly see them.

Thank you brother for contacting me to help.

 please please please please please


Offline zHammer #66 Posteado: October 10, 2023, 01:46:03 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 77
  • Gracias recibida: 32
  • es
me pasa con los mix de crear el hammer, crear las blessed archangel,desbloquear los set bloodangel, me podrias pasar tu mix.bmd??? he probado con otros pero sigue igual y algunos no son compatibles o si tenes el cliente me lo pasarias porq tengo 2 clientes de la misma vercion y en ninguno anda esos mix

Te compartiria pero nose si te generara problemas, ya que estube agregando nuevos Mix.....

Ejemplo. Upgrade de set holyangel a (awakening, blue eye, silverheart, manticore,  brilliant) y otros mix nuevos..



pasamelo si podes, lo probare igual aver si asi me anda  :(

ya te lo mande por MP

Can I have your mix?
If my brother is kind enough to share it with me.


Offline zHammer #67 Posteado: October 12, 2023, 08:53:46 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 77
  • Gracias recibida: 32
  • es


 please please please please please please please please

When I pressed start the bot, it immediately caused the Gs to stop working.
Brother, please help me.


Offline skllskll #68 Posteado: Today at 06:02:19 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 1
  • Gracias recibida: 0
  • cn

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
31 Replies
14766 Views
Last post October 04, 2019, 02:20:51 AM
by neyewson
84 Replies
24244 Views
Last post September 19, 2022, 08:58:26 AM
by 8454946
4 Replies
3245 Views
Last post April 29, 2022, 10:36:12 AM
by Matt1995
5 Replies
2416 Views
Last post April 03, 2022, 12:11:02 PM
by TroYans
16 Replies
2504 Views
Last post August 21, 2023, 12:36:11 AM
by zHammer