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

Post Reply 
Threaded Mode | Linear Mode
Исследование героев
» туториал(ы)
Author Message
Valery Offline

Posts: 2196
Post: #601

I think I will remove from HMS mod the total swap of backpacks (19-82 slots at once), it creates some bugs: all okay, I switch a lot between heroes, then later in game, sometimes it says backpack full, but is not; then when searching with erm, there are empty slots, probably conflict, no clue why. I will add instead this swap, alt+click, like in HD mod.
30.03.2015 23:47
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #602

Ок. Ты организатор мода и тебе решать


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

Posts: 2196
Post: #603

But for faster switch of backpacks, maybe a better idea would be shift+right/left-click directly from backpack when backpack open, what you think? You did the backpack script, do you think such thing could be possible?

(This post was last modified: 31.03.2015 00:41 by Valery.)
31.03.2015 00:41
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #604

gamecreator, так вроде бы и раньше работала IF:M. Какой конкретно код?
Valery, I thought I fixed artifact deletion function. It had bugs in 3.58, not decrementing artifacts counter, thus one day you see "no space" message. But after fixing in Phoenix there is not more any problem for years. Which code did you use to delete artifact?


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

Posts: 2196
Post: #605

We used your code to delete artifacts from equipped slots. I used my script for deleting all artifacts from hero x backpack and transfer them all to hero y. As it worked okay, we didn't check if your function is necessary also for backpack, but after testing several games, I get sometimes message "backpack full" (only when trying to discard an equipped artifact) while is not. But I don't know what causes it and can't reproduce the error.

Last part of the script (deleting adding artis):
   
(This post was last modified: 31.03.2015 00:56 by Valery.)
31.03.2015 00:51
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #606

RightHeroGlobalStorage, em, how do you control this counter when player simple drops/equips/unequips artifact? Maybe just count real artifacts by looping all 64 slots?


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

Posts: 624
Post: #607

из структуры героя
Code:
_Artifact_ doll_art[19]; // +301
_byte_ free_add_slots; // +453
_byte_ locked_slot[14]; // +454
_Artifact_ backpack_art[64]; // +468
_byte_ backpack_arts_count; // +980
может быть, что-то с эим?
31.03.2015 01:42
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #608

Up to date storage is checked when CM3 trigger:

(This post was last modified: 31.03.2015 01:49 by Valery.)
31.03.2015 01:46
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #609

(31.03.2015 00:42)Berserker Wrote:  gamecreator, так вроде бы и раньше работала IF:M. Какой конкретно код?
Я уже и не помню. Сходу воспроизвести баг не удалось, посмотрю ещё. Теперь я даже сомневаюсь, был ли он вообще.


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

Posts: 2196
Post: #610

igrik, done, works ok.
Ybackpack.erm

There is a last problem and I don't know how to solve or if it is solvable.

All works well, but if I have two of same artifacts consecutive in backpack, it deletes the previous one when clicking on second (if left to right). This is because the erm code is searching for first artifact of that kind in backpack. Result is correct but visually is weird. Don't know a solution.
(This post was last modified: 31.03.2015 15:44 by Valery.)
31.03.2015 15:32
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #611

В конце появилось три печатки, а было две. Баг?


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

Posts: 2196
Post: #612

No, I don't think so, I had a double click (can be heard) and left hero had more than 5 gloves. Result is correct, but it looks weird. erm code is searching from left to right.
31.03.2015 16:07
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #613

Not a big problem it is )


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

Posts: 3881
Post: #614

(17.03.2015 17:06)Дьякон Wrote:  Через UN:C забиваешь для всех уровней некромантии 0, соответственно воскрешаться никто не будет.


Не те адреса, похоже. Есть верные для установки своих значений (не обнуления)?


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
03.04.2015 01:13
Visit this user's website Find all posts by this user Quote this message in a reply
feanor Offline

Posts: 624
Post: #615

Все украдено до нас же.
Причем настолько давно, что никто уже и не помнит.

http://forum.df2.ru/index.php?showtopic=6139
03.04.2015 02:34
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