Skill Update

General support forum. If you require assistance and your problem doesnt fall in any of the other categories, this is the forum for you!

Moderator: Team Members

Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
Post Reply
User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Skill Update

Post by Gangrenous » Tue Dec 26, 2017 8:37 pm

I noticed a bug tonight, still trying to figure out what is causing it. I noticed that if you level up, your skill sheet does not update. The database updates and if you log in and out, the new skill stats show. Can in point, something like piercing will say 5/5 and you go to level 5, it should be 5/25 but that does not show until you relog.
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Skill Update

Post by Gangrenous » Tue Dec 26, 2017 8:57 pm

Interesting thing, if you level naturally it seems to work. But if you level by command, it does not. Looks to me like command just calls ChangeLevel, so unsure the difference. Maybe something in natural leveling refreshes the character sheet that does not happen in ChangeLevel.
Resident Dirty Hippy

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: Skill Update

Post by Cynnar » Tue Dec 26, 2017 11:04 pm

Maybe the command doesn't send the packet update?
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Skill Update

Post by Ememjr » Wed Dec 27, 2017 4:50 am

was looking and i do not see it sending the packet out to update the charactersheet (i believe that is where skill are sent) i could be wrong

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: Skill Update

Post by tyrbo » Wed Dec 27, 2017 4:12 pm

The character sheet is flagged as changed and then sent out later, not necessarily in the ChangeLevel function.

The skill values are not sent in the character sheet, but in a separate WS_UpdateSkillBook message.
That packet is triggered from Client::SendCharInfo() used when you zone/connect by way of ClientPacketFunctions::SendSkillBook().

You can probably add a call to that function in ChangeLevel().

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Skill Update

Post by Gangrenous » Wed Dec 27, 2017 4:34 pm

I think I am.
Resident Dirty Hippy

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest