Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: MuEmu-0.97k-kayito Versión MySQL Update 23 Custom By Siniestro+tutorial[VIDEO]  (Visto 638 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline xXSiniestroXx Posteado: April 30, 2024, 02:03:55 AM

  • +2 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 261
  • Gracias recibida: 1560
  • ve
Saludos gente de TSM

Voy hacer breve ya es muy tarde y quiero dormir.

Versión original:

https://github.com/nicomuratona/MuEmu-0.97k-kayito/tree/master-mysql

POST:
Files MuEmu 0.97k ORIGINAL + FULL SOURCE - kayito

Mi Versión Basada en MySQL (la que prefiero):

Update 1:

- Add InfinityArrow.
- Add command READD.
- Add System Credit.
- Add CustomMonsterReward.
- CustomAttack.
- CustomPick.

Ya pasa a segundo plano la versión SQL Server, igual si desean que les trabaje esa versión le llegan el privado.

VIDEO:



LINK:



Salu2


Online kayito #1 Posteado: April 30, 2024, 07:15:17 AM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.041
  • Gracias recibida: 15625
  • ar
Buen aporte. Si a más gente le interesa, puedo llegar a hacer un video explicando cómo integrar el sistema de MySQL a los files basados en MuEmu

Gracias:


Offline Rindy #2 Posteado: April 30, 2024, 02:26:04 PM | Modificado: April 30, 2024, 10:43:00 PM by Rindy

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 73
  • Gracias recibida: 1608
  • gb
void CQueryManager::BindParameterAsString(int ParamNumber,void* InBuffer,int ColumnSize) // OK
{
   this->m_SQLBindValue[(ParamNumber-1)] = SQL_NTS;

   SQLBindParameter(this->m_STMT,ParamNumber,SQL_PARAM_INPUT,SQL_C_CHAR,SQL_VARCHAR,ColumnSize,0,InBuffer,0,&this->m_SQLBindValue[(ParamNumber-1)]);


}

void CQueryManager::BindParameterAsBinary(int ParamNumber,void* InBuffer,int ColumnSize) // OK
{
this->m_SQLBindValue[(ParamNumber-1)] = ColumnSize;

SQLBindParameter(this->m_STMT,ParamNumber,SQL_PARAM_INPUT,SQL_C_BINARY,SQL_VARBINARY,ColumnSize,0,InBuffer,0,&this->m_SQLBindValue[(ParamNumber-1)]);
}


how to convert it to mysql ?



Offline Rindy #3 Posteado: April 30, 2024, 03:25:54 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 73
  • Gracias recibida: 1608
  • gb

Online kayito #4 Posteado: April 30, 2024, 06:20:19 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.041
  • Gracias recibida: 15625
  • ar
Code: [Select]
void CQueryManager::BindParameterAsString(int ParamNumber,void* InBuffer,int ColumnSize) // OK
{
this->m_SQLBindValue[(ParamNumber-1)] = SQL_NTS;

SQLBindParameter(this->m_STMT,ParamNumber,SQL_PARAM_INPUT,SQL_C_CHAR,SQL_VARCHAR,ColumnSize,0,InBuffer,0,&this->m_SQLBindValue[(ParamNumber-1)]);
}

void CQueryManager::BindParameterAsBinary(int ParamNumber,void* InBuffer,int ColumnSize) // OK
{
this->m_SQLBindValue[(ParamNumber-1)] = ColumnSize;

SQLBindParameter(this->m_STMT,ParamNumber,SQL_PARAM_INPUT,SQL_C_BINARY,SQL_VARBINARY,ColumnSize,0,InBuffer,0,&this->m_SQLBindValue[(ParamNumber-1)]);
}

how to convert it to mysql ?

You can view my QueryManager in the source code of the Github repository. Just switch to "master-mysql" branch and download everything or just enter in the JoinServer or DataServer QueryManager.cpp and QueryManager.h to see how i did it. (i used an external library to work with MySQL).

convert ms sql to mysql database



This only works with DataBase Schema but doesn't give you the Stored Procedures. I recommend you to use this to define the DataBase Schema and using some AI like ChatGPT to adapt each Stored Procedure one by one.

Gracias:


Offline Rindy #5 Posteado: April 30, 2024, 10:43:10 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 73
  • Gracias recibida: 1608
  • gb
void CQueryManager::BindParameterAsString(int ParamNumber,void* InBuffer,int ColumnSize) // OK
{
   this->m_SQLBindValue[(ParamNumber-1)] = SQL_NTS;

   SQLBindParameter(this->m_STMT,ParamNumber,SQL_PARAM_INPUT,SQL_C_CHAR,SQL_VARCHAR,ColumnSize,0,InBuffer,0,&this->m_SQLBindValue[(ParamNumber-1)]);


}

void CQueryManager::BindParameterAsBinary(int ParamNumber,void* InBuffer,int ColumnSize) // OK
{
this->m_SQLBindValue[(ParamNumber-1)] = ColumnSize;

SQLBindParameter(this->m_STMT,ParamNumber,SQL_PARAM_INPUT,SQL_C_BINARY,SQL_VARBINARY,ColumnSize,0,InBuffer,0,&this->m_SQLBindValue[(ParamNumber-1)]);
}


how to convert it to mysql ?

This is the code in muemu s6, how to convert it to mysql like you did


Offline Rindy #6 Posteado: April 30, 2024, 11:41:50 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 73
  • Gracias recibida: 1608
  • gb

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
22 Replies
11576 Views
Last post August 05, 2019, 01:50:03 AM
by MKLION
1 Replies
1558 Views
Last post December 15, 2020, 09:40:08 PM
by Concha
8 Replies
2661 Views
Last post November 17, 2023, 06:53:18 AM
by pablosk4
13 Replies
2540 Views
Last post January 11, 2024, 04:22:09 PM
by Pescado
1 Replies
290 Views
Last post May 03, 2024, 09:15:30 PM
by kayito