Closed xrddw126 closed 1 month ago
there is no getTexture in creatureInformation, is this custom code?
Note: If so, you cannot request getTexture within this method, there may be competition with lua since it is executed asynchronously between UI and Map
Yes, I wanted to add additional icons next to the life bars. Ok, thanks. Will try to do as you say
@xrddw126 @patrykq112
put "/" at the beginning of Path so as not to make a lua call.
like this:
g_textures.getTexture('images/xyz/item.png');
to
g_textures.getTexture('/images/xyz/item.png');
I will close this issue as it is not a project problem.
@mehah For me, crashes occur on a clean project. The client closes randomly, no error or crash report appears
@mehah For me, crashes occur on a clean project. The client closes randomly, no error or crash report appears
Run it directly through Visual Studio so it displays the error when it occurs.
@mehah
this bug occurs after "fix: crash with getTexture inside preDraw" commit.
@patrykq112
Priority
High
Area
What happened?
I noticed that the method:
void DrawPoolManager::addTexturedRect(const Rect& dest, const TexturePtr& texture, const Rect& src, const Color& color, const DrawConductor& condutor) const
For some reason it randomly crashes the client, interestingly this happens not on all but only some processors, but on more powerful ones log.txt
What OS are you seeing the problem on?
Windows
Code of Conduct