Pirulax

Results 147 comments of Pirulax

I don't remember it anymore sadly. but iirc you just have to install `sanic_ext` and that's it (and perhaps `import` it in the py code)

> Look at 0x70ACB2. It explicitly selects buildings to draw shadows on. > > ``` > CWorld::ms_aSectors.m_buildings > ``` Yeah that's pretty much the issue I believe. `m_buildings` stores a...

The commented out code seems to suggest that it only happens when the model is changed from CJ to a non-CJ model or vice versa, no?

Ah, so you've been using it with MTA. I kinda have trouble getting it to compile with callstack support, it's missing an external symbol. `__tracy_RtlWalkStackChain` [or whatever the fuck the...

So I can't be lazy. I also wonder if there's a better solution than adding that macro to every project I want to use tracy in manually? CMake seems to...

Okay Ill work on this soon Won't be adding server profiling for now, I don't think that's necessary yet.

> engineStreamingSetModelCacheLimits(1, 1) Probably solves the issue because that one vehicle stays in the cache. I wonder if the same issue would occur if the shader was applied directly to...

okay I see. that doesn't seem right. what if you manually re-apply the shader in `onClientElementStreamIn`?

@TheNormalnij You could try clearing the references to the building perhaps. (See `CEntity::ResolveReferences`)

@TheNormalnij okay, so I've looked into the crash log, and it's here: https://github.com/gta-reversed/gta-reversed-modern/blob/e3219aeccec725c939c13f27e9ecd338d70e5b8d/source/game_sa/Streaming.cpp#L188 Seems like you aren't calling `DeleteRwObject` anywhere (which would remove the entity's streaming link).