Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

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

juani and 4 Guests are viewing this topic.

Online kayito #720 Posteado: October 19, 2023, 12:59:42 AM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19843
  • ar
Test realizado:

Zen inicial: 100.000

Compra del item: 100.000 - 80.400(Valor del item para comprar) = 19.600 -> La compra se efectuo correctamente acorde al valor indicado en el store: https://i.ibb.co/3zrrzm6/1.png

Venta del item: Muestra que el item vale 152.100. Pero al realizar la venta se acreditaron solamente 10.100 (En la foto no estoy mostrando el zen acumulado post-venta): https://i.ibb.co/tJ2wDTM/2.jpg

Code del item que se utilizo para la prueba:

//Index   Level   Dur   Skill   Luck   Option   ExcOp   SlotX   SlotY    Comment

011,011   3   *   0   1   2             0              *             *          //Silk Boots+3+8

@kayito   

Ese problema te sucede porque la durabilidad del item está mal ingresada y no coinciden entre el cliente y el servidor. Había que ponerle 0 para que tome el máximo posible del item, aunque ahora ya lo corregí y con * debería funcionar como corresponde. Si mirabas, el item decía Durabilidad [255/29] lo cual está mal y por eso no coincidía el precio. Con este mini update debería corregirse ese error.



MINI UPDATE

- Se corrigió que al poner * en la columna Durabilidad en los shops, le asigne automáticamente el máximo posible de durabilidad [GameServer.exe]
- Se corrigieron las opciones HP y Dmg en Wings [kayitoEditor.exe][Tools/kayitoEditor/Data/ItemOption.txt][MainInfo/ItemOption.txt][MuServer/Data/Item/ItemOption.txt]
- Se corrigieron las opciones excellent que se visualizaban mal y otorgaban mal los stats correspondientes [Tools/kayitoEditor/kayitoEditor.exe][Main.dll][GameServer.exe]

Gracias:


Offline KropaPL #721 Posteado: October 19, 2023, 02:29:51 AM | Modificado: October 19, 2023, 02:34:40 AM by KropaPL

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 124
  • Gracias recibida: 12
  • pl
Right-clicking with the mouse equips a crossbow instead of a bow

https://prnt.sc/OhwL3EKxjHj4

Taking this opportunity, @kayito, could you please tell me if I have the BonusManager.dat file configured correctly? After a few hours of server operation, when a bonus is activated, for instance, at 1:00 PM, a crash occurs with an error, as shown in the attached image.

https://prnt.sc/Kxbi-YSXspsy

BonusManager.dat
Spoiler for Hiden:
// DOW: 1=Sunday / 2=Monday / 3=Tuesday / 4=Wednesday / 5=Thursday / 6=Friday / 7=Saturday
0
//   Index   Year   Month   Day   DoW   Hour   Minute   Second
   0   *        *       *   *   01   00   00
   0   *        *       *   *   03   00   00
   0   *        *       *   *   05   00   00
   0   *        *       *   *   07   00   00
   0   *        *       *   *   09   00   00
   0   *        *       *   *   11   00   00
   0   *        *       *   *   13   00   00
   0   *        *       *   *   15   00   00
   0   *        *       *   *   17   00   00
   0   *        *       *   *   19   00   00
   0   *        *       *   *   21   00   00
   0   *        *       *   *   23   00   00
end

// Bonus Time = Seconds
1
//   Index   StartMessage   FinalMessage   BonusTime
   0   107      108      3600
end

// BonusIndexs
//   EXPERIENCE RATE = 0
//   ITEM DROP RATE = 1
//   COMMON ITEM DROP RATE = 2
//   EXC ITEM DROP RATE = 3
//   RESET AMOUNT = 4
//   GRAND RESET AMOUNT = 5
// ItemIndex format: 00,000 or *

2
//   Index   BonusIndex   BonusValue_AL0   BonusValue_AL1   BonusValue_AL2   BonusValue_AL3   ItemIndex   ItemLevel   MapNumber   MonsterClass   MonsterLevelMin   MonsterLevelMax
   0   0      50      50      50      50      *      *      *      *      1      150
end


Offline aybarchu #722 Posteado: October 19, 2023, 02:30:42 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 21
  • Gracias recibida: 2
  • ar
Test realizado:

Zen inicial: 100.000

Compra del item: 100.000 - 80.400(Valor del item para comprar) = 19.600 -> La compra se efectuo correctamente acorde al valor indicado en el store: https://i.ibb.co/3zrrzm6/1.png

Venta del item: Muestra que el item vale 152.100. Pero al realizar la venta se acreditaron solamente 10.100 (En la foto no estoy mostrando el zen acumulado post-venta): https://i.ibb.co/tJ2wDTM/2.jpg

Code del item que se utilizo para la prueba:

//Index   Level   Dur   Skill   Luck   Option   ExcOp   SlotX   SlotY    Comment

011,011   3   *   0   1   2             0              *             *          //Silk Boots+3+8

@kayito   

Ese problema te sucede porque la durabilidad del item está mal ingresada y no coinciden entre el cliente y el servidor. Había que ponerle 0 para que tome el máximo posible del item, aunque ahora ya lo corregí y con * debería funcionar como corresponde. Si mirabas, el item decía Durabilidad [255/29] lo cual está mal y por eso no coincidía el precio. Con este mini update debería corregirse ese error.



MINI UPDATE

- Se corrigió que al poner * en la columna Durabilidad en los shops, le asigne automáticamente el máximo posible de durabilidad [GameServer.exe]
- Se corrigieron las opciones HP y Dmg en Wings [kayitoEditor.exe][Tools/kayitoEditor/Data/ItemOption.txt][MainInfo/ItemOption.txt][MuServer/Data/Item/ItemOption.txt]
- Se corrigieron las opciones excellent que se visualizaban mal y otorgaban mal los stats correspondientes [Tools/kayitoEditor/kayitoEditor.exe][Main.dll][GameServer.exe]

Bien, funciona como corresponde ahora. Sigo testeando y cualq cosa informo.

Gracias!


Offline mu2020 #723 Posteado: October 20, 2023, 07:32:32 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 57
  • Gracias recibida: 18
  • cn
DK. Sometimes Death Sting cannot hit monsters. And item skills are also unable to hit, you must walk once to be able to!


Offline Genius05 #724 Posteado: October 20, 2023, 10:26:35 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 155
  • Gracias recibida: 126
  • ve
DK. Sometimes Death Sting cannot hit monsters. And item skills are also unable to hit, you must walk once to be able to!

Hola.. MuServer/Data/Skill/Skill.txt el poder Death  "2 2"  quedaría (3 3)


Offline mu2020 #725 Posteado: October 21, 2023, 04:55:05 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 57
  • Gracias recibida: 18
  • cn
DK. Sometimes Death Sting cannot hit monsters. And item skills are also unable to hit, you must walk once to be able to!

Hola.. MuServer/Data/Skill/Skill.txt el poder Death  "2 2"  quedaría (3 3)
3q!bro


Offline KropaPL #726 Posteado: October 21, 2023, 06:51:16 PM | Modificado: October 21, 2023, 06:58:17 PM by KropaPL

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 124
  • Gracias recibida: 12
  • pl
@kayito This piece of code causes the game client to crash immediately when I try to repair an item.
Try to create an item in the warehouse with durability set to 0 and then repair it.
Item.cpp
Code: [Select]
WORD CItem::calcMaxDurability(ITEM* ip, ITEM_ATTRIBUTE* p, int Level)
{
if (ip->Type == GET_ITEM(14, 21)) // Rena
{
return 1;
}

if (ip->Type == GET_ITEM(13, 18) || ip->Type == GET_ITEM(14, 19)) // Invisibility Cloak, Devil's Invitation
{
return 1;
}

int ItemDurability = p->Durability;

if (ip->Type >= GET_ITEM(5, 0) && ip->Type < GET_ITEM(6, 0)) // Staffs
{
ItemDurability += p->MagicDurability;
}

int dur = 0;

if (Level >= 5)
{
if (Level == 10)
{
dur = ItemDurability + ((Level * 2) - 3);
}
else if (Level == 11)
{
dur = ItemDurability + ((Level * 2) - 1);
}
else
{
dur = ItemDurability + ((Level * 2) - 4);
}
}
else
{
dur = ItemDurability + Level;
}

if (ip->Type != GET_ITEM(0, 19) && ip->Type != GET_ITEM(2, 13) && ip->Type != GET_ITEM(4, 18) && ip->Type != GET_ITEM(5, 10) && ip->Part != EQUIPMENT_WING) // Sword of Archangel,Scepter of Archangel,Crossbow of Archangel,Staff of Archangel
{
if ((ip->Option1 & 63) != 0)
{
dur += 15;
}
}

return ((dur > 255) ? 255 : dur);

}


Online kayito #727 Posteado: October 21, 2023, 08:34:03 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19843
  • ar
@kayito This piece of code causes the game client to crash immediately when I try to repair an item.
Try to create an item in the warehouse with durability set to 0 and then repair it.
Item.cpp
Code: [Select]
WORD CItem::calcMaxDurability(ITEM* ip, ITEM_ATTRIBUTE* p, int Level)
{
if (ip->Type == GET_ITEM(14, 21)) // Rena
{
return 1;
}

if (ip->Type == GET_ITEM(13, 18) || ip->Type == GET_ITEM(14, 19)) // Invisibility Cloak, Devil's Invitation
{
return 1;
}

int ItemDurability = p->Durability;

if (ip->Type >= GET_ITEM(5, 0) && ip->Type < GET_ITEM(6, 0)) // Staffs
{
ItemDurability += p->MagicDurability;
}

int dur = 0;

if (Level >= 5)
{
if (Level == 10)
{
dur = ItemDurability + ((Level * 2) - 3);
}
else if (Level == 11)
{
dur = ItemDurability + ((Level * 2) - 1);
}
else
{
dur = ItemDurability + ((Level * 2) - 4);
}
}
else
{
dur = ItemDurability + Level;
}

if (ip->Type != GET_ITEM(0, 19) && ip->Type != GET_ITEM(2, 13) && ip->Type != GET_ITEM(4, 18) && ip->Type != GET_ITEM(5, 10) && ip->Part != EQUIPMENT_WING) // Sword of Archangel,Scepter of Archangel,Crossbow of Archangel,Staff of Archangel
{
if ((ip->Option1 & 63) != 0)
{
dur += 15;
}
}

return ((dur > 255) ? 255 : dur);

}

I don't know what you're talking about...


Gracias:


Offline KropaPL #728 Posteado: October 22, 2023, 03:20:07 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 124
  • Gracias recibida: 12
  • pl
I apologize, Kayuto, I'm a complete novice. I was doing it in 'debug' mode.


Offline ntcong295810 #729 Posteado: October 22, 2023, 10:52:20 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 49
  • Gracias recibida: 32
  • vn


when i try add some custom items type mace ( Mace of Gimli, Stalker's Mace..) then texture some items box of kundun , eyes , key devil  error. help me !


Offline aybarchu #730 Posteado: October 23, 2023, 12:12:43 AM | Modificado: October 23, 2023, 12:37:08 AM by aybarchu

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 21
  • Gracias recibida: 2
  • ar


when i try add some custom items type mace ( Mace of Gimli, Stalker's Mace..) then texture some items box of kundun , eyes , key devil  error. help me !

Before asking for customs, try to help reporting source bugs.

----------------

Comandos: /re on no funciona. Por alguna razon me tira el error : 'That guild does not exist'
/clearinv tampoco me funciona. Lo tengo config de la siguiente manera: https://i.ibb.co/5YJHw7g/1.png


@kayito


Offline ntcong295810 #731 Posteado: October 23, 2023, 02:35:36 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 49
  • Gracias recibida: 32
  • vn


when i try add some custom items type mace ( Mace of Gimli, Stalker's Mace..) then texture some items box of kundun , eyes , key devil  error. help me !

Before asking for customs, try to help reporting source bugs.

----------------

Comandos: /re on no funciona. Por alguna razon me tira el error : 'That guild does not exist'
/clearinv tampoco me funciona. Lo tengo config de la siguiente manera: https://i.ibb.co/5YJHw7g/1.png


@kayito

Your server settings are flawed somewhere, it's not an error in the source code.
Try a new download and try again

Gracias:


Offline ntcong295810 #732 Posteado: October 23, 2023, 03:27:52 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 49
  • Gracias recibida: 32
  • vn

Offline Genius05 #733 Posteado: October 23, 2023, 11:59:14 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 155
  • Gracias recibida: 126
  • ve

 please , help me fix texture

I have tried to add it but some items I add damage the texture, not all of them, but some cryy2


Offline aybarchu #734 Posteado: October 25, 2023, 01:59:16 AM | Modificado: October 26, 2023, 03:38:52 AM by aybarchu

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 21
  • Gracias recibida: 2
  • ar
EDIT. Se duplico mi comentario abajo.


Offline aybarchu #735 Posteado: October 26, 2023, 03:30:13 AM | Modificado: October 26, 2023, 03:47:00 AM by aybarchu

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 21
  • Gracias recibida: 2
  • ar
Critical bugs

1) IMP no agrega los valores extras a los stats.
Sin imp: https://prnt.sc/-WyLclhdhJmT
Con imp: https://prnt.sc/En5S3cuS72OD

Mismo problema con los Angeles

Dato: No probe el Dinorant.

2) Alas Elfa no aumentan los stats de ataque al equiparse:
Sin alas: https://prnt.sc/ikv7645KkgAo
Con alas: https://prnt.sc/S-goIh03HoHC

Dato: No probe otras alas

3) Skills: Skill Impale con el Uniria no funciona de manera correcta. No sale el skill como deberia, queda clavado el pj targeteando al MOB sin tirar ninguna habilidad.
Funciona: Si es que targeteas al mov y el pj se mueve hacia el.
NO funciona: Si estas quieto al lado del mov y lo targeteas.


Minor bugs

1) Mace of the king no puede ser equipado con click derecho en arma de segunda mano
2) Grand Soul Shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas
3) Small shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas


Online kayito #736 Posteado: October 26, 2023, 06:43:41 AM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.083
  • Gracias recibida: 19843
  • ar
Critical bugs

1) IMP no agrega los valores extras a los stats.
Sin imp: https://prnt.sc/-WyLclhdhJmT
Con imp: https://prnt.sc/En5S3cuS72OD

Mismo problema con los Angeles

Dato: No probe el Dinorant.

2) Alas Elfa no aumentan los stats de ataque al equiparse:
Sin alas: https://prnt.sc/ikv7645KkgAo
Con alas: https://prnt.sc/S-goIh03HoHC

Dato: No probe otras alas

3) Skills: Skill Impale con el Uniria no funciona de manera correcta. No sale el skill como deberia, queda clavado el pj targeteando al MOB sin tirar ninguna habilidad.
Funciona: Si es que targeteas al mov y el pj se mueve hacia el.
NO funciona: Si estas quieto al lado del mov y lo targeteas.


Minor bugs

1) Mace of the king no puede ser equipado con click derecho en arma de segunda mano
2) Grand Soul Shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas
3) Small shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas

Serán revisados aunque todos son considerados bugs menores ya que no afectan en nada la jugabilidad.
El hecho de que no muestre un aumento de algún numerito en el juego no significa que el servidor no lo esté procesando. El cliente es simplemente un reflejo visual de lo que hace el servidor, sólo que trabaja de manera independiente y sincronizar toda la información requeriría bastante trabajo y tiempo pero, como dije, no quita el hecho de que el servidor si procese dicha información aunque el cliente no la muestre.

Gracias:


Offline Part1zanBelarus #737 Posteado: October 26, 2023, 08:30:58 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 134
  • Gracias recibida: 581
  • by
Critical bugs

1) IMP no agrega los valores extras a los stats.
Sin imp: https://prnt.sc/-WyLclhdhJmT
Con imp: https://prnt.sc/En5S3cuS72OD

Mismo problema con los Angeles

Dato: No probe el Dinorant.

2) Alas Elfa no aumentan los stats de ataque al equiparse:
Sin alas: https://prnt.sc/ikv7645KkgAo
Con alas: https://prnt.sc/S-goIh03HoHC

Dato: No probe otras alas

3) Skills: Skill Impale con el Uniria no funciona de manera correcta. No sale el skill como deberia, queda clavado el pj targeteando al MOB sin tirar ninguna habilidad.
Funciona: Si es que targeteas al mov y el pj se mueve hacia el.
NO funciona: Si estas quieto al lado del mov y lo targeteas.


Minor bugs

1) Mace of the king no puede ser equipado con click derecho en arma de segunda mano
2) Grand Soul Shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas
3) Small shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas

Serán revisados aunque todos son considerados bugs menores ya que no afectan en nada la jugabilidad.
El hecho de que no muestre un aumento de algún numerito en el juego no significa que el servidor no lo esté procesando. El cliente es simplemente un reflejo visual de lo que hace el servidor, sólo que trabaja de manera independiente y sincronizar toda la información requeriría bastante trabajo y tiempo pero, como dije, no quita el hecho de que el servidor si procese dicha información aunque el cliente no la muestre.

Of all that is written here, half is an incorrect setting. The server is working fine.  The only problem that exists now. This is skill Dark Knight. Twisting works poorly, unlike Rageful Blow.


Offline aybarchu #738 Posteado: October 26, 2023, 02:18:52 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 21
  • Gracias recibida: 2
  • ar
Critical bugs

1) IMP no agrega los valores extras a los stats.
Sin imp: https://prnt.sc/-WyLclhdhJmT
Con imp: https://prnt.sc/En5S3cuS72OD

Mismo problema con los Angeles

Dato: No probe el Dinorant.

2) Alas Elfa no aumentan los stats de ataque al equiparse:
Sin alas: https://prnt.sc/ikv7645KkgAo
Con alas: https://prnt.sc/S-goIh03HoHC

Dato: No probe otras alas

3) Skills: Skill Impale con el Uniria no funciona de manera correcta. No sale el skill como deberia, queda clavado el pj targeteando al MOB sin tirar ninguna habilidad.
Funciona: Si es que targeteas al mov y el pj se mueve hacia el.
NO funciona: Si estas quieto al lado del mov y lo targeteas.


Minor bugs

1) Mace of the king no puede ser equipado con click derecho en arma de segunda mano
2) Grand Soul Shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas
3) Small shield dropea a veces con la opcion SKILL y el skill no aparece cuando la pickeas

Serán revisados aunque todos son considerados bugs menores ya que no afectan en nada la jugabilidad.
El hecho de que no muestre un aumento de algún numerito en el juego no significa que el servidor no lo esté procesando. El cliente es simplemente un reflejo visual de lo que hace el servidor, sólo que trabaja de manera independiente y sincronizar toda la información requeriría bastante trabajo y tiempo pero, como dije, no quita el hecho de que el servidor si procese dicha información aunque el cliente no la muestre.

Claro, al no saber si esta impactando en el server, por las dudas lo reporto. De que manera podria saber si esta impactando en el sv la info? Asi pueda checkear en ambos lados antes de dejar un reporte.

Gracias!


Offline KropaPL #739 Posteado: October 27, 2023, 03:46:02 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 124
  • Gracias recibida: 12
  • pl
@kayito



Hi, do you happen to know why there is sometimes an issue like the one our colleague here is experiencing? I should mention that this server is set up using your files in the latest update, and another person encountered the same problem, so it's not a coincidence. I've tried to replicate this error, but without success. Or what could be causing this issue? Here's the configuration file.

;==================================================
; Wing2 Mix Settings
; Rate
;   -1 = (Wing SellPrice) / 4000000
;   0 ~ 100
; Cost
;   0 ~ MAXMONEY
; AddItemRate
;   -1 = (Total SellPrice of every additional item inside ChaosBox) / 40000
;   0 ~ 100
;==================================================
Wing2MixRate_AL0 = 20
Wing2MixRate_AL1 = 20
Wing2MixRate_AL2 = 20
Wing2MixRate_AL3 = 20

Wing2MixCost_AL0 = 200000000
Wing2MixCost_AL1 = 200000000
Wing2MixCost_AL2 = 200000000
Wing2MixCost_AL3 = 200000000

Wing2MixAddItemRate_AL0 = 20
Wing2MixAddItemRate_AL1 = 20
Wing2MixAddItemRate_AL2 = 20
Wing2MixAddItemRate_AL3 = 20





Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

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