Current time: 26.11.2024, 04:29 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Ваши вопросы по ERM-скриптам
Author Message
fatsawhorse Offline

Posts: 1022
Post: #3031

Здравствуйте "Algor"
Quote:Странно, не должны оставаться.
Попробуйте после этой строки добавить:
!!BU:Exx16/?i;
!!BMi&i>-1:G-81/x7/d;
- да, после этих строк перестал вызванный отряд суммироваться с тем, что уже был в стеках, но зато теперь эти вызванный монстры не прибавляются уже к имеющимся, а списываются после битвы, как побитые (уничтоженные врагом)..

Получается лишь только тогда, когда я вызываю, допустим, чудовищем зверей, а если же зверями зверей, то под самый конец они все суммируются.. Но это не столь важно..
Всё равно хорошо, что проблема пусть даже так, но решена..

Спасибо Вам "Algor" ещё раз за этих две чудесных строчки... Спасибо...
(This post was last modified: 02.11.2014 21:49 by fatsawhorse.)
02.11.2014 20:29
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #3032

Hi,

Just in case I overlooked some UN:C posted, is there any alternative for redraw map/hero/resources if primary stats or resources are added in DL trigger, after closing the dialog?

UN:R1/UN:R2 will not work, need to perform one action to redraw.
(This post was last modified: 04.11.2014 19:17 by Valery.)
04.11.2014 19:15
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #3033

Why UN:R2/-1 does not fit?


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

Posts: 2196
Post: #3034

no idea.


Now +1 attack does not display until you click on something (town, hero screen)

UN:R or whatever has no effect. Same thing for resources given via DL.
04.11.2014 23:45
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #3035

Update screen right after calling !!DLxx:S using UN:R2/-1


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

Posts: 2196
Post: #3036

No way, I need redraw after quiting the DL, not after displaying it. It doesn't work neither.

In fact, the redraw is a constant problem, both battle and adventure map, for mods using DL.
05.11.2014 23:05
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #3037

There is no problem. Sorry, Val, you are wrong. Redraw should be called after showing the dialog and it works as expected.


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

Posts: 2196
Post: #3038

I got what is going: if DL size allows to see the resource bar behind, it redraws. if DL size is 800x600 so resource bar is hidden, redraw does not work. Same for hero primary skills:if right box is visible, ok. If hidden, not ok.

Interesting to know, DL size 800x600 is not the best then. Better create smaller dialogs but one opening each other.
(This post was last modified: 06.11.2014 00:02 by Valery.)
05.11.2014 23:34
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #3039

Valery, может сработает это взамен UN:R4.


game bug fixes extended.dll || My Plugins || My GitHub
06.11.2014 14:31
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #3040

When you call redraw after showing the dialog, the dialog is already closed and is not shown. So UN:R2/-1 works. Do I miss anything?


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

Posts: 7107
Post: #3041

(06.11.2014 14:59)Berserker Wrote:  UN:R2/-1
Зачем второй параметр?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
06.11.2014 16:09
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #3042

Second parameter is for current hero. (-1)

My problem is simple, I think is misunderstanding:

You open dialog (DL) and change hero stats in this dialog. Then you close dialog and back on adventure map, stats are not updated. They will update as soon as you open hero screen, or town screen, or cast spell.

Any UN:R commands, in any place, will change nothing. I put them before dialog, in dialog, after dialog, no effect.

All this about 800x600 size dialog. If the area to update is visible when dialog is up, it works. I tested by resizing the dialog, same erm codes, if less than 800x600, ok. So, in order to have proper redraws, one must design a DL template with the size of adventure map screen max.

Of course, I wouldn't bitch about if it didn't took me 2 weeks to design 800x600 template and can't resize, every pixel is used. Gigi
I am cursed.
(This post was last modified: 06.11.2014 20:25 by Valery.)
06.11.2014 20:22
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #3043

(06.11.2014 20:22)Valery Wrote:  Second parameter is for current hero. (-1)
Really, a hero number to redraw resource bar. Dry


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
06.11.2014 22:24
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #3044

Sorry then, Val, I don't know any solution from the past experience either Bad


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

Posts: 2196
Post: #3045

Not big problem, thanks anyway. The changes will redraw when player takes one action, not catastrophic.
06.11.2014 23: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