Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Files MuEmu 0.97k ORIGINAL + FULL SOURCE - kayito  (Visto 263355 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline leugimsk8 #920 Posteado: October 21, 2024, 09:45:39 PM

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

Offline giangbana #921 Posteado: November 17, 2024, 12:32:33 AM | Modificado: November 17, 2024, 12:34:57 AM by giangbana

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 27
  • Gracias recibida: 3
  • us





ADD code tool Tạo đồ + 15 28 op

Gracias:


Offline giangbana #922 Posteado: November 17, 2024, 12:38:55 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 27
  • Gracias recibida: 3
  • us

Gracias:


Offline kasah #923 Posteado: November 17, 2024, 05:59:29 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 5
  • Gracias recibida: 15
  • gr

Offline giangbana #924 Posteado: November 17, 2024, 08:57:06 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 27
  • Gracias recibida: 3
  • us

Offline kasah #925 Posteado: November 17, 2024, 01:39:54 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 5
  • Gracias recibida: 15
  • gr

Offline cluz123 #926 Posteado: November 19, 2024, 02:31:28 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 208
  • Gracias recibida: 46
  • ar
The client is not in sync with the serverside ( Event DevilSquare for Class Magic )
Fix GS
Code: [Select]
int CDevilSquare::GetUserAbleLevel(LPOBJ lpObj)
{
int level = -1;
if(lpObj->Class==CLASS_MG){
if (lpObj->Level >= 10 && lpObj->Level <= 66)
{
level = 0;
}
else if (lpObj->Level >= 67 && lpObj->Level <= 118)
{
level = 1;
}
else if (lpObj->Level >= 119 && lpObj->Level <= 167)
{
level = 2;
}
else if (lpObj->Level >= 168 && lpObj->Level <= MAX_CHARACTER_LEVEL)
{
level = 3;
}
}
else
{
if (lpObj->Level >= 10 && lpObj->Level <= 99)
{
level = 0;
}
else if (lpObj->Level >= 100 && lpObj->Level <= 179)
{
level = 1;
}
else if (lpObj->Level >= 180 && lpObj->Level <= 249)
{
level = 2;
}
else if (lpObj->Level >= 250 && lpObj->Level <= MAX_CHARACTER_LEVEL)
{
level = 3;
}
}


return level;
}

You're wrong. Version 97 doesn't have two level requirements for MG in Devil Square, just in Blood Castle.
Check the Main and you'll see. Here are the offsets ;)


Here is the server, just like the main.


oh , Magic Level 144 -> 200 cant join DS :D
beacause level(0-3) client send to GS different.
try here
Code: [Select]
	
if (this->GetUserAbleLevel(lpObj) < lpMsg->level)
{
//check level DS
gNotice.GCNoticeSend(lpObj->Index, 1, "error : GS level %d < Client level %d",this->GetUserAbleLevel(lpObj), lpMsg->level);
pMsg.result = 4;

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

return;
}

You're right. I have tested and searched in the code and looks like the main does the check backwards for the Devil Square. Instead of defining required level for main classes and required level for MG, just multiplies the MG level against the main classes required level. Next update i will correct that




Kayito esto ya se corrigió??


Online kayito #927 Posteado: November 19, 2024, 04:41:09 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19850
  • ar
The client is not in sync with the serverside ( Event DevilSquare for Class Magic )
Fix GS
Code: [Select]
int CDevilSquare::GetUserAbleLevel(LPOBJ lpObj)
{
int level = -1;
if(lpObj->Class==CLASS_MG){
if (lpObj->Level >= 10 && lpObj->Level <= 66)
{
level = 0;
}
else if (lpObj->Level >= 67 && lpObj->Level <= 118)
{
level = 1;
}
else if (lpObj->Level >= 119 && lpObj->Level <= 167)
{
level = 2;
}
else if (lpObj->Level >= 168 && lpObj->Level <= MAX_CHARACTER_LEVEL)
{
level = 3;
}
}
else
{
if (lpObj->Level >= 10 && lpObj->Level <= 99)
{
level = 0;
}
else if (lpObj->Level >= 100 && lpObj->Level <= 179)
{
level = 1;
}
else if (lpObj->Level >= 180 && lpObj->Level <= 249)
{
level = 2;
}
else if (lpObj->Level >= 250 && lpObj->Level <= MAX_CHARACTER_LEVEL)
{
level = 3;
}
}


return level;
}

You're wrong. Version 97 doesn't have two level requirements for MG in Devil Square, just in Blood Castle.
Check the Main and you'll see. Here are the offsets ;)


Here is the server, just like the main.


oh , Magic Level 144 -> 200 cant join DS :D
beacause level(0-3) client send to GS different.
try here
Code: [Select]
	
if (this->GetUserAbleLevel(lpObj) < lpMsg->level)
{
//check level DS
gNotice.GCNoticeSend(lpObj->Index, 1, "error : GS level %d < Client level %d",this->GetUserAbleLevel(lpObj), lpMsg->level);
pMsg.result = 4;

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

return;
}

You're right. I have tested and searched in the code and looks like the main does the check backwards for the Devil Square. Instead of defining required level for main classes and required level for MG, just multiplies the MG level against the main classes required level. Next update i will correct that




Kayito esto ya se corrigió??

Si


Offline AnDeR #928 Posteado: November 19, 2024, 09:37:02 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 116
  • Gracias recibida: 32
  • br

Offline yaoge #929 Posteado: December 04, 2024, 07:02:25 AM

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

Online kayito #930 Posteado: December 04, 2024, 07:38:36 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19850
  • ar
angel bug
https://img.picui.cn/free/2024/12/04/67504470bfe7a.jpg


Why are you posting this everywhere?
You created a topic in the support section, you commented here the exact same thing and created an issue in the github page.
I've already seen this problem and you don't need to spam it everywhere, just with one place is enough for me to see the problem.

Gracias:


Offline yaoge #931 Posteado: December 06, 2024, 02:13:42 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 10
  • Gracias recibida: 1
  • cn
I think there will probably be other people on the forum who have encountered the same problem and solved it, and created the corresponding topic here


Offline joas00 #932 Posteado: December 08, 2024, 11:13:49 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 0
  • br
Att 26 do kayito, problema no ping:




Online kayito #933 Posteado: December 08, 2024, 11:15:55 AM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19850
  • ar
Att 26 do kayito, problema no ping:



Check your vps configs or your hosting is blocking the ping function.

Gracias:


Offline joas00 #934 Posteado: December 08, 2024, 11:32:29 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 0
  • br
Resolvido o ping, obrigado Kaiyto.

Teria como adicionar CustomJewel? poderia ser numa proxima att iria ajudar muito a ter opção de upar o item até +15.
Seria ideal também por um comando de /evento onde o player digitaria /queroir

ex: /evento SOBREVIVENCIA 1 155 188 60

mapa (1) cordenada y x  (60 segundos )


Offline sandias #935 Posteado: December 08, 2024, 12:22:02 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 1
  • ar
Hola, baje estos files para recordar viejas epocas que jugaba con mi hermano muchas gracias !
Quisiera saber donde cambiar la cantidad de usuarios, porque solo me deja 3 max y se llena el servidor


Online kayito #936 Posteado: December 08, 2024, 06:32:53 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19850
  • ar
Hola, baje estos files para recordar viejas epocas que jugaba con mi hermano muchas gracias !
Quisiera saber donde cambiar la cantidad de usuarios, porque solo me deja 3 max y se llena el servidor

Lo podés modificar desde MuServer/GameServer/DATA/GameServerInfo - StartUp.dat

Tenés un valor llamado ServerMaxUserNumber

Gracias:


Offline Vito36 #937 Posteado: December 12, 2024, 01:44:31 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 1
  • gr
Hello, thanks for those great files, is it possible to add castle siege?


Online kayito #938 Posteado: December 12, 2024, 04:38:20 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19850
  • ar
Hello, thanks for those great files, is it possible to add castle siege?

If you know how to program or if you pay enough to a coder to do it for you, you can. The project is open source for everyone and you can add whatever you want by yourself.

Gracias:


Offline sh4ll3 #939 Posteado: December 29, 2024, 10:10:55 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 72
  • Gracias recibida: 328
  • ve
tengo este error al querer compilar los files alguien podria ayduarme este es el error

https://ibb.co/JzZvcgB


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
45 Replies
30685 Views
Last post August 28, 2024, 10:31:22 AM
by giangbana
26 Replies
14387 Views
Last post February 06, 2025, 07:43:44 PM
by fenimxg
1 Replies
3449 Views
Last post January 16, 2023, 10:41:57 PM
by ntcong295810
4 Replies
4764 Views
Last post November 09, 2023, 07:05:52 PM
by kayito
12 Replies
7089 Views
Last post August 30, 2023, 02:22:56 PM
by Pescado