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

Stängd
öppnade 3 år sedan av image · 1 kommentarer
image kommenterad 3 år sedan
see example here: https://cdn.discordapp.com/attachments/684934458738212962/758837385957474324/ezgif-6-2ed4b178d7b5.gif
image kommenterad 3 år sedan
Deltagare

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.
Logga in för att delta i denna konversation.
Laddar...
Avbryt
Spara
Det finns inget innehåll än.