igrik
Posts: 2819
|
|
03.06.2021 15:58 |
|
Valery
Posts: 2196
|
Clipping seems to occur only if game ran for hours, when I test freshly start + trainer use is ok. So some memory leak probably? I thought first to native dialogs because as far as I knew, it was the only graphical change then in Era 2 it gave me such memory leaks
(This post was last modified: 03.06.2021 16:22 by Valery.)
|
|
03.06.2021 16:20 |
|
Berserker
Posts: 16657
|
|
03.06.2021 16:43 |
|
Valery
Posts: 2196
|
|
03.06.2021 16:57 |
|
Valery
Posts: 2196
|
(03.06.2021 16:43)Berserker Wrote: Valery, it seems like some function is executed, redrawing Adventure Map right in battle. Just after you see clipping first time, press F11 and upload Debug\Era\erm tracing.erm.
HERE
Maybe has something to do with old Jim codes TL triggers, anyway all debug files are here, thanks
|
|
04.06.2021 19:05 |
|
Berserker
Posts: 16657
|
|
04.06.2021 22:56 |
|
Valery
Posts: 2196
|
The thing is, I don't remember why exactly TL was used, but I remember it was the only solution to redraw resources bar and else in time, and it was the only contribution of Jim to the mod. It posed no problem in the version of Era we used at that time, so I am not sure how to "fix" it. I will try to remove it, but then there will be other problems I guess. Thanks.
(This post was last modified: 05.06.2021 00:32 by Valery.)
|
|
05.06.2021 00:31 |
|
Berserker
Posts: 16657
|
|
05.06.2021 00:37 |
|
Archer30
Posts: 1175
|
|
05.06.2021 00:40 |
|
Berserker
Posts: 16657
|
You also connected the following lines above:
The reason is ok, because Era does not disable real time triggers anymore. Anyway, Jim's solution was a crutch, to say the truth. Relying on real timers is really fragile. Because hundreds of events may occur between the first event and the next real time trigger call. Also patching the code on the fly enabling/disabling TL's is messy.
Here is Trainer mod, that I have: https://dropmefiles.com/xR3Vl
Archer30, I also have unofficial TrainerXXX, but it's too private
Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
|
|
05.06.2021 00:41 |
|
Berserker
Posts: 16657
|
|
05.06.2021 00:57 |
|
Valery
Posts: 2196
|
I have no idea what you talk about... what editor, what user, what avatar, which nickname
|
|
05.06.2021 01:07 |
|
Archer30
Posts: 1175
|
Valery, the majority of the code is yours, I don't believe you're capable of producing this much error.
The mod is for ERA 3.4+, requires Era Erm Framework mod to work, did you have these in your game?
Test it on a random map, please. Send me your savegame and debug folder (will be auto-created after each crash) if it doesn't work. I'm very happy to deal with it.
Berserker, that's too private. We discuss that only in Video Topic.
Latest ERA mods and scripts in development - My GitHub
|
|
05.06.2021 01:46 |
|