Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Summoner Agility Bug  (Visto 294 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline HunStarr Posteado: June 08, 2025, 08:24:56 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 4
  • Gracias recibida: 0
  • hu
Hello Guys!

I have a bug with summoner, when im adding points into agility and im using Drain Life or Chain Lightning skills my attackspeed wont change, until i switch to Lightning Shock spell and use it at least once. After i used it, Drain Life and Chain Lightning is set to the right attackspeed
Also after i use /readd command my attackspeed wont change / refresh to the base attackspeed, if i had 32k stat on agility it Will stay on 32k like attackspeed until i use Lightning Shock spell or switch character.

This bug doesn't happen with any other character nor skill, only summoner (Chain Lighting, Drain Life).
We are using ZXgaming source Season 6 files.

Thank you in advance if somebody could help. please


Offline HunStarr #1 Posteado: June 08, 2025, 04:45:19 PM

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

Online Pyke #2 Posteado: June 08, 2025, 04:59:27 PM | Modificado: June 08, 2025, 05:01:51 PM by Pyke

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 217
  • Gracias recibida: 15077
  • pl
Hello, you can try ClearAllEffects on command ReAdd?

GameServer/CommandManager.cpp

Find this
bool CCommandManager::CommandReAdd(LPOBJ lpObj,char* arg,int Npc)

after this
GDCharacterInfoSaveSend(lpObj->Index);
//add
   gEffectManager.ClearAllEffect(lpObj);

anyway its only with summoner this problem?



Offline SonXeeZ #3 Posteado: June 08, 2025, 10:19:30 PM | Modificado: June 09, 2025, 06:42:35 AM by SonXeeZ

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 0
  • hu
Hello, you can try ClearAllEffects on command ReAdd?

GameServer/CommandManager.cpp

Find this
bool CCommandManager::CommandReAdd(LPOBJ lpObj,char* arg,int Npc)

after this
GDCharacterInfoSaveSend(lpObj->Index);
//add
   gEffectManager.ClearAllEffect(lpObj);

anyway its only with summoner this problem?


Hello, thanks for the reply!

I'm the other one who's also using this file.
I've added gEffectManager.ClearAllEffect(lpObj); but unfortunately this didn't solve the problem.


This bug only happens with Summoner, Drain Life and Chain Lightning Skills are bugged, Lightning Shock works perfectly.

I've tried logging the process in main, I'll show a few examples with explanation:

[2025-06-08 22:53:57] Character Info Recv -> Agility: 32000, Energy: 32000
[2025-06-08 22:53:59] Attack -> Skill: 0, StrSpeed: 1476, MagSpeed: 1476
- login

- Then I used /readd command.
- Then i Cast: Drain Life, Chain Lightning : same speed as if I'd still have 32000 agility. - NO LOG WHEN USING THESE SKILLS SO STRSPEED AND MAGSPEED Didn't change??
- Then i Cast: Lightning Shock
- I Get this log: [2025-06-08 22:54:39] Attack -> Skill: 230, StrSpeed: 1, MagSpeed: 1  - After Chain Lightning been casted -> ALL SKILLS WORKING PROPERLY (slow cast)

So any strspeed and magspeed change only happens when Lightning Shock is casted.

Example with DL (All skills work properly):

When I log in:
[2025-06-08 22:57:57] Character Info Recv -> Agility: 32000, Energy: 32000
[2025-06-08 22:57:59] Attack -> Skill: 0, StrSpeed: 1476, MagSpeed: 1476


Then I start casting the Fire Scream skill:
[2025-06-08 22:58:26] Attack -> Skill: 78, StrSpeed: 1476, MagSpeed: 1476
(Based on skill.txt, ID 78 is indeed Fire Scream)

After that i used /readd
Then I started casting Fire Scream again:
[2025-06-08 23:01:55] Attack -> Skill: 78, StrSpeed: 2, MagSpeed: 2

After that, I added 30,000 Agility:
[2025-06-08 23:03:20] Attack -> Skill: 78, StrSpeed: 1464, MagSpeed: 1464
It seems like DL and other characters can somehow set the right speed for agility, except summoner with Drain Life and Chain Lightning skill.


I don't know if this would be a Server or a Client Side problem... It seems like I cannot even log the two bugged skills...
I also checked the database MagicList table and it does store the skills correctly i think..

SLOT | SkillID
.
.
7 215
13 214
.
.

What do you think of this, am i missing something ?


Offline HunStarr #4 Posteado: June 09, 2025, 02:48:26 PM

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

Offline HunStarr #5 Posteado: June 10, 2025, 03:47:18 AM

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

Offline SonXeeZ #6 Posteado: June 11, 2025, 10:35:02 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 0
  • hu
UP! pls help.

This bug happens with several published server files.


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1301 Views
Last post July 03, 2018, 04:18:13 PM
by slipknot
2 Replies
1046 Views
Last post October 19, 2020, 08:39:30 AM
by lunaticodeveloper
23 Replies
7652 Views
Last post October 08, 2022, 04:10:04 PM
by usersa
0 Replies
725 Views
Last post January 27, 2021, 12:35:58 AM
by zodiacddos
1 Replies
1197 Views
Last post August 02, 2021, 04:11:44 PM
by T-LEGENDARY