TUServerMU
MuOnline => Soporte / Ayudas => Tema comenzado por: HunStarr on June 08, 2025, 08:24:56 AM
-
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
-
Up
-
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, 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 ?
-
UP
-
UP!!
-
UP! pls help.
This bug happens with several published server files.