#201 scribing higher spell tier (apprentice->adept) does not update spell bar/skill bar

Slēgta
image atvēra 3 gadi atpakaļ · 1 komentāri
image komentēja 3 gadi atpakaļ
see example here: https://cdn.discordapp.com/attachments/684934458738212962/758837385957474324/ezgif-6-2ed4b178d7b5.gif
image komentēja 3 gadi atpakaļ
Līdzstrādnieks

one problem seems to be how we are setting the unique_id, its trying to use a 'spell crc' field, we used to use the spell tier, which allowed the spell to be examined..

void Client::SendSpellUpdate(Spell* spell){
	PacketStruct* packet = configReader.getStruct("WS_SpellGainedMsg", GetVersion());
	if(packet){
		int8 xxx = spell->GetSpellData()->is_aa;
		packet->setDataByName("spell_type", spell->GetSpellData()->type);
		packet->setDataByName("spell_id", spell->GetSpellID());
		packet->setDataByName("unique_id", spell->GetSpellTier());

will fix errors in AoM client on examine like...:

09:02:25 E Command   : Unknown Spell ID and/or Tier, ID: 230160, Tier: 140

this still doesn't fix the hover over icon. I do see a quickbar update coming from the client->server with the new tier, so it does know we sent it a update..

Seems the spell book may not be updating properly. Same issue can be seen in the spell book on hover over.

one problem seems to be how we are setting the unique_id, its trying to use a 'spell crc' field, we used to use the spell tier, which allowed the spell to be examined.. ``` void Client::SendSpellUpdate(Spell* spell){ PacketStruct* packet = configReader.getStruct("WS_SpellGainedMsg", GetVersion()); if(packet){ int8 xxx = spell->GetSpellData()->is_aa; packet->setDataByName("spell_type", spell->GetSpellData()->type); packet->setDataByName("spell_id", spell->GetSpellID()); packet->setDataByName("unique_id", spell->GetSpellTier()); ``` will fix errors in AoM client on examine like...: ``` 09:02:25 E Command : Unknown Spell ID and/or Tier, ID: 230160, Tier: 140 ``` this still doesn't fix the hover over icon. I do see a quickbar update coming from the client->server with the new tier, so it does know we sent it a update.. Seems the spell book may not be updating properly. Same issue can be seen in the spell book on hover over.
Pierakstieties, lai pievienotos šai sarunai.
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.