Current time: 24.11.2024, 13:21 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA III
Author Message
igrik Offline

Posts: 2819
Post: #1411

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.


game bug fixes extended.dll || My Plugins || My GitHub
03.06.2021 15:58
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1412

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
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1413

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.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
03.06.2021 16:43
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1414

I will, thanks
03.06.2021 16:57
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1415

(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
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1416

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.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
04.06.2021 22:56
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1417

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
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1418

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.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
05.06.2021 00:37
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #1419

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


Latest ERA mods and scripts in development - My GitHub
05.06.2021 00:40
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1420

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


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
05.06.2021 00:41
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1421

archer, it crashed my game after about 15787 display errors. 36
(This post was last modified: 05.06.2021 00:46 by Valery.)
05.06.2021 00:45
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1422

Valery, click on the nickname above user avatar to insert his nickname into editor.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
05.06.2021 00:57
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1423

I have no idea what you talk about... what editor, what user, what avatar, which nickname
05.06.2021 01:07
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #1424

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.


Latest ERA mods and scripts in development - My GitHub
05.06.2021 01:46
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1425

Image: image.png

Image: image.png


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
05.06.2021 02:11
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group