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

Fermé
Créé il y a 3 ans par image · 1 commentaires
image a commenté il y a 3 ans
see example here: https://cdn.discordapp.com/attachments/684934458738212962/758837385957474324/ezgif-6-2ed4b178d7b5.gif
image a commenté il y a 3 ans
Collaborateur

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.
Connectez-vous pour rejoindre cette conversation.
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.