Wake of Gods Forum | Форум Во Имя Богов

Full Version: ERA III
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Valery, and what does wog native dialogs (WND) have to do with it?
In addition, it is easy to check-disable WND and if the problem remains, then it is not in WND.
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
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.
I will, thanks
(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
Valery, try to open erm tracking.erm and read it from the end:


If you open Trainer.erm, you will see in !?TL1 trigger calls UN:R1 R2, causing visual adventure map redrawing.

!!UN:R1 R2; in Trainer.erm on line 193 at pos 3

So you go to line 193 (ctrl+g in Erm_Sublime_Editor) and fix the script or remove !?TL functionality at all.
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.
I unpacked the latest version of Trainer from your site backup and found this:


Seems like you successfully commented this trigger quite a long ago. So just remove it.
Valery, there is an unofficial development of Trainer, adapted some details to be compatible with the latest ERA and suit my needs...I named it TrainerX, give it a try? 96-copy
TrainerX
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 96-copy
archer, it crashed my game after about 15787 display errors. 36
Valery, click on the nickname above user avatar to insert his nickname into editor.
I have no idea what you talk about... what editor, what user, what avatar, which nickname
Valery, the majority of the code is yours, I don't believe you're capable of producing this much error. Spiteful

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.
Image: image.png

Image: image.png
Reference URL's