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

Fechado
3 anos atrás foi aberto por image · 1 comentários
image comentado 3 anos atrás
see example here: https://cdn.discordapp.com/attachments/684934458738212962/758837385957474324/ezgif-6-2ed4b178d7b5.gif
image comentado 3 anos atrás
Colaborador

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.
image fechado em 3 anos atrás
Faça login para participar desta conversação.
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.