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

Full Version: Исследование героев
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Ок. Ты организатор мода и тебе решать
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?

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?
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):
   
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?
из структуры героя
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
может быть, что-то с эим?
Up to date storage is checked when CM3 trigger:

(31.03.2015 00:42)Berserker Wrote: [ -> ]gamecreator, так вроде бы и раньше работала IF:M. Какой конкретно код?
Я уже и не помню. Сходу воспроизвести баг не удалось, посмотрю ещё. Теперь я даже сомневаюсь, был ли он вообще.
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.
В конце появилось три печатки, а было две. Баг?
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.
Not a big problem it is )
(17.03.2015 17:06)Дьякон Wrote: [ -> ]Через UN:C забиваешь для всех уровней некромантии 0, соответственно воскрешаться никто не будет.


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

http://forum.df2.ru/index.php?showtopic=6139
Reference URL's