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: 1476Then 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: 2After 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 ?