Page 1 of 1

Clan crest replacement

Posted: Thu Nov 21, 2013 2:03 pm
by Hyrelius
L2J Revision Number: 5397 (stable)
L2JDP Revision Number: 9641 (stable)

Hi there,

I implemented a way to send server-side images using PledgeCrest to client.
The problem I have is: when I reuse the ID and send another image with the same ID, I'd expect the image to be replaced - unless there are some (client-side) cache mechanisms, that I don't know of. If I close the client and relog, it shows the new images.

Judging by viewtopic.php?f=103&t=14496&p=70728&hil ... ete#p70728 it seems there might be some client-side clan crest caching mechanisms, which might prevent the images from being refreshed (in order to save bandwidth I assume). Is it retail-like? I can't really remember myself - hence I need some help on this, please :).

Another relevant thread I found, is this one: viewtopic.php?f=70&t=23555&p=137626&hil ... st#p137626. It doesn't seem to be the same issue I have, though.

Thanks in advance :).
viewtopic.php?f=103&t=14496&p=70728&hil ... ete#p70728

Re: Clan crest replacement

Posted: Fri Nov 22, 2013 2:49 am
by Szponiasty
Yep. If you don't want to have problems, you have to send image with new id, after changing. You might try to send to client null image with id to try and clear it, but it didn't worked for me (caused client crash). Client keeps crest cache in systextures/crest.utx (exit client and delete this file to remove all cached crests).

Re: Clan crest replacement

Posted: Fri Nov 22, 2013 6:32 am
by Hyrelius
Okay - I understand this can happen with our own images. But what about retail-like behavior? If you changed clan crest on retail server - do you also have to completely close the client or you won't see the new clan crest? If so - I don't think there is much we can do :/.

Re: Clan crest replacement

Posted: Fri Nov 22, 2013 7:29 am
by Szponiasty
Hyrelius wrote:Okay - I understand this can happen with our own images. But what about retail-like behavior? If you changed clan crest on retail server - do you also have to completely close the client or you won't see the new clan crest? If so - I don't think there is much we can do :/.
No. Weird. I don't experience problems with changing clan crests. What L2J version you're using? Seems that somewhere is missing broadcasting user info after crest change. You need to shut down client completely, or relogging to login screen works too?