Меню

Venture plan wow ошибка

Тема: Исправление недавней неполадки Venture Plan с количеством соратников  (Прочитано 12250 раз)

0 Пользователей и 1 Гость просматривают эту тему.

К великому сожалению автор любимой сообществом и несомненно полезной модификации Venture Plan оставил проект и активным игрокам приходится самостоятельно заниматься ее обновлением под текущие реалии. С появлением 21 соратника на этой неделе аддон вновь сломался и, к счастью, решить эту проблему можно очень просто.:cut:

Проблема аддона заключается в том, что он рассчитан на 20 соратников, и когда их стало больше, то раздел с ними перестал работать. Поэтому для исправления неполадки нужно лишь поменять одну цифру. Пользователь Reddit по имени Zyxaakrene составил поэтапный план действий:

Получение 21 соратника приключений ломает аддон Venture Plan, и вот как это исправить.

  • Откройте Interface/Addons/VenturePlan/Widgets.lua с помощью текстового редактора
  • Перейдите на 2066 строку (она выглядит как «for i=1,20 do»)
  • Измените число с 20 на 21 (или побольше, на случай новых соратников)
  • Сохраните файл и введите в игре /reload
  • Теперь раздел с соратниками вновь работает!

Похоже, что он делает какие-то забавные штуки со списком соратников/отрядов. Но, по крайней мере, это все еще работает.

Рекомендуется менять число не на 21, а например на 25 (или подставить вместо цифры универсальную переменную), поскольку в скором времени в игре появятся еще 1-2 соратника. Искомое место может быть на другой строке, но его можно быстро отыскать с помощью поиска по «s.companions = {}». /reload имеет смысл вводить только если вы вносили изменения, находясь в игре, а если клиент был закрыт, этого можно не делать.

Если вам лень редактировать файлы, то вы можете загрузить обновлённую версию этого аддона и новейший вариант VenturePlanSODMissions (который дополняет/улучшает/исправляет теперь неподдерживаемый Venture Plan) от пользователя Dastion, поделившегося ссылкой в комментариях к посту. Но не забывайте, что файлы сторонних пользователей вы используете на свой страх и риск.

« Последнее редактирование: 20 Августа, 2021, 12:08:37 by Wishko »


Или просто использовать другой рабочий адон, один в один такой же


Перейдите на 2066 строку (она выглядит как «for i=1,20 do»)

строка может быть у всех разной у меня не 2066 а 1817


Или просто использовать другой рабочий адон, один в один такой же

А как он называется?


Перейдите на 2066 строку (она выглядит как «for i=1,20 do»)

строка может быть у всех разной у меня не 2066 а 1817

Надо искать не строку, а надпись (ctrl+f) «s.companions = {}» И на следующей строке будет искомое изменяемое значение

« Последнее редактирование: 20 Августа, 2021, 11:45:16 by Pifon »


Или просто использовать другой рабочий адон, один в один такой же

Если ты про Covenant Mission Helper, то там от венчура ток функционал предсказания исхода и расстановки мобов. Хорошо, но мало.


Можно просто заменить на
for i=1,#CovenantMissionFrame.FollowerList.followersList do
и забыть о кол-ве соратников ;D

странно, что это разраб не предусмотрел и захардкодил на 20 элементов

« Последнее редактирование: 20 Августа, 2021, 12:05:20 by Sp1ne »

Но я не буду в принудительном порядке бездумно копировать топмагов. © Жилкинс


Можно просто заменить на
for i=1,#CovenantMissionFrame.FollowerList.followersList do
и забыть о кол-ве соратников ;D

Ловите программиста!


2. Перейдите на 2066 строку (она выглядит как «for i=1,20 do»)

в похожей новости на реддите говорилось про 1960 строку

« Последнее редактирование: 20 Августа, 2021, 12:24:56 by Smith »


Или просто использовать другой рабочий адон, один в один такой же

Если ты про Covenant Mission Helper, то там от венчура ток функционал предсказания исхода и расстановки мобов. Хорошо, но мало.

Мало для чего?


Или просто использовать другой рабочий адон, один в один такой же

Название может напишешь?

Легальный адон Covenant Mission Helper
Все свои функции выполняет

Вишко может добавить как дополнение в конце темы

« Последнее редактирование: 20 Августа, 2021, 12:43:32 by Zirkuz »


Или просто использовать другой рабочий адон, один в один такой же

Название может напишешь?

Легальный адон Covenant Mission Helper
Все свои функции выполняет

Вишко может добавить как дополнение в конце темы

А Venture Plan какой, подпольный?  :D

Мало по сравнению с сабжом. Удобный список соратников, отправка суицидников одной кнопкой, информативные окошки заданий — всего этого в CMH нет.


Или просто использовать другой рабочий адон, один в один такой же

Название может напишешь?

Легальный адон Covenant Mission Helper
Все свои функции выполняет

Вишко может добавить как дополнение в конце темы

А Venture Plan какой, подпольный?  :D

Мало по сравнению с сабжом. Удобный список соратников, отправка суицидников одной кнопкой, информативные окошки заданий — всего этого в CMH нет.

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

Если не загонятся, то смн отличный адон


Или просто использовать другой рабочий адон, один в один такой же

Название может напишешь?

Легальный адон Covenant Mission Helper
Все свои функции выполняет

Вишко может добавить как дополнение в конце темы

А Venture Plan какой, подпольный?  :D

Мало по сравнению с сабжом. Удобный список соратников, отправка суицидников одной кнопкой, информативные окошки заданий — всего этого в CMH нет.

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

Если не загонятся, то смн отличный адон

Как с Ёжиком жрущим кактус разговаривать) Он удобнее в разы и все про это пишут. Тебе, все выучившему, аддоны то зачем?


Или просто использовать другой рабочий адон, один в один такой же

Название может напишешь?

Легальный адон Covenant Mission Helper
Все свои функции выполняет

Вишко может добавить как дополнение в конце темы

А Venture Plan какой, подпольный?  :D

Мало по сравнению с сабжом. Удобный список соратников, отправка суицидников одной кнопкой, информативные окошки заданий — всего этого в CMH нет.

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

Если не загонятся, то смн отличный адон

Зачем учить задания наизусть?  ??? Для этого и есть аддоны чтобы не запоминать совершенно лишнюю информацию.

И я не говорю что CMH плохой аддон. Я говорю что венчур лучше) но на вкус и цвет фломастеры конечно разные, как и аддоны


If you found Venture plan is bugging out after the maintenance and giving you errors like

InterfaceAddOnsVenturePlanWidgets.lua:546: attempt to index local ‘self’ (a nil value)

if you have more than 20 companions and haven’t updated the code to deal with it, here is how you fix it while you are in the file.

in Widgets.lua, search for

for i=1,20 do

that should land you at around line 1960-ish. Change that 20 to 99 and save.

for better efficiency (credit to Spiffy146) change it to

 for i=1,#C_Garrison.GetFollowers(123) do 

——————————————————————————————————————————————

The fix below is no longer necessary if you do the change above. Leave them here just because.

Try this:

  1. Go to your WOW Addons folder and find VenturePlan;

  2. Open up Widgets.lua file in notepad or whatever text editor you like;

  3. go to line 722 and 723, or search for «FollowerButton_SetInfo(wf[i], fi)»

  4. change

FollowerButton_SetInfo(wf[i], fi)

wf[i]:Show()

to

			if wf[i] ~= nil then 
				FollowerButton_SetInfo(wf[i], fi)
				wf[i]:Show()
			end

note to have 3 tabs in front of the word «if» and «end», and 4 tabs for the 2 lines in the middle

5. ???

6. save the file and do a /reload in game

7. Profit

Disclaimer: I’m not a WOW addon developer, just a normal programmer. Happy to help if my instructions are not clear

Edit:

  1. Bumped the number of follower changes as it should fix the problem on its own without the complex steps; credit goes to DoverBoys

  2. Changed the for loop for better efficiency; credit goes to Spiffy146

  3. Formatted the code better, thanks Rare-Page4407 for pointing it out

The Mage Tower is available again in Patch 10.0.5, so we’re looking at all the rewards you can unlock!

1. Guardian Druid Bear Form

Guardian Druids can get a fel-themed Bear Form after completing the tank challenge. This is a recolor of the White Bear Form from the Legion Artifact that was removed. All Druids on your account will have access to this form once unlocked.

2. Soaring Spell Tome Mount

You will receive the Mage-Bound Spelltome mount from the A Tour of Towers achievement, which requires you to complete every unique challenge available at the Mage Tower.

In the forgotten depths of the Dalaran library, this oversized tome was found flapping madly around the room. Open the pages of this arcane-infused book and hitch a ride to magical adventure.

The character stands on the book while riding the mount.

3. Armor Sets

The Mage Tower Sets are recolors of Mythic Tomb of Sargeras Tier 20 sets. Every class has a different set that you can check out below. Some classes have two variations due to multiple chest armor pieces. I’m not sure if Evokers get a unique set as I don’t main one.

Death Knight

Demon Hunter

Druid

Evoker

???

Hunter

Mage

Monk

Paladin

Priest

Rogue

Shaman

Warlock

Warrior

4. Tower Overwhelming Achievement

Tower Overwhelming doesn’t reward anything, but the achievement is quite the challenge for players who must complete every challenge at the Mage Tower across all classes and specializations.

9.2 only needs some new spells.

  • 25 new enemy spells across multiple new missions:
	[350]={type="nuke", damageATK=25, target="cleave"},
	[351]={type="nuke", damageATK=75, target=1, firstTurn=4},
	[352]={type="nop"},
	[353]={type="nop"},
	[354]={type="nuke", damageATK=400, target="enemy-front", firstTurn=5},
	[355]={type="passive", modDamageDealt=-25, target=1},
	[357]={type="passive", modDamageDealt=-50, target=0},
	[358]={type="nuke", damageATK=400, target="enemy-front", firstTurn=5},
	[359]={type="aura", damageATK=50, target=1, duration=0, noFirstTick=true, echo=3},
	[360]={type="nuke", damageATK=50, target="enemy-front"},
	[361]={type="nuke", damageATK=75, target="enemy-front"},
	[362]={type="nuke", damageATK=120, target=1},
	[363]={type="aura", modDamageDealt=10, target="friend-front-soft", duration=2},
	[364]={type="taunt", target="all-enemies", duration=2},
	[365]={type="aura", modDamageTaken=50, target=0, duration=1},
	[366]={type="nuke", damageATK=50, target="enemy-front"},
	[367]={type="nuke", damageATK=75, target="cone"},
	[368]={type="nuke", damageATK=60, target=1},
	[369]={
		[1]={type="nop"},
		[2]={type="aura", damageATK=50, target="all-enemies", duration=0, noFirstTick=true, echo=2},
	},
	[370]={type="aura", modDamageDealt=-50, target="all-enemies", duration=2},
	[371]={type="aura", modDamageTaken=-25, target="all-other-allies", duration=2},
	[372]={type="nuke", damageATK=40, target="enemy-front"},
	[373]={
		[1]={type="nuke", damageATK=100, target=1},
		[2]={type="heal", healATK=100, target=4},
	},
	[374]={
		[1]={type="nuke", damageATK=100, target=1},
		[2]={type="heal", healATK=40, target=4},
	},
	[375]={type="aura", modDamageDealt=-20, target="all-enemies", duration=2},

Be aware that:

  • Spell 369 Power of Domination (in mission 2340 Giant Footprints in the Sand) is bugged and unintentionally ticks for 100% of a target’s health rather than flat damage, so you’ll want a good percentage damage reduction to get through it — they seem to have no interest in fixing this
    • Hotfix: Now correctly ticks for flat damage, and has no initial tick
  • New missions had no tuning passes on PTR and as a result mission 2331 Into the Wilds, and 2334 Construction Error don’t appear to be winnable (for Night Fae at least) — again, they don’t seem interested in fixing this
    • Hotfix: Health and attack reduced on enemies, and damage of 1 spell effect reduced for these 2 missions and some other 9.2 ones

Скриншоты

Venture Plan

Venture Plan

Описание

План предприятия улучшает интерфейс командной таблицы covenant adventures.

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

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


  1. 2021-09-16, 01:17 PM


    #1

    SalcN is offline


    Stood in the Fire


    Venture Plan — Addon

    Am I the only one constantly experiencing missions failing even though it says «Victorious» with this addon?
    I know this has been a problem with earlier «command table»-ish things. (Legion / WoD)

    Am I missing something? Is it bugged? Is it impossible for missions to actually be 100% guaranteed?

    It almost only/always happens with the «big» missions. for Cinders and Ash and Campaign progress.



  2. 2021-09-16, 01:26 PM


    #2

    Garymorilix is offline


    Warchief


    Quote Originally Posted by SalcN
    View Post

    Am I the only one constantly experiencing missions failing even though it says «Victorious» with this addon?
    I know this has been a problem with earlier «command table»-ish things. (Legion / WoD)

    Am I missing something? Is it bugged? Is it impossible for missions to actually be 100% guaranteed?

    It almost only/always happens with the «big» missions. for Cinders and Ash and Campaign progress.

    It’s impossible to 100% predict whether you would win or lose because there are many units with random abilities.

    The only way to guarantee a win is to basically have higher total health and dmg than the enemies.
    I found that in that case it is pretty much guaranteed (I’ll say 99% because I haven’t lost one like that yet).

    Other than that you need to actually read the abilities and organize your teams according to that.

    I personally have a team of level 60 followers (one of them is only 59 but like 10k xp away) who basically can do anything at this point easy.



  3. 2021-09-17, 05:54 PM


    #3

    Fastlane_hellscream is offline


    Dreadlord

    Fastlane_hellscream's Avatar


    Quote Originally Posted by SalcN
    View Post

    Am I the only one constantly experiencing missions failing even though it says «Victorious» with this addon?
    I know this has been a problem with earlier «command table»-ish things. (Legion / WoD)

    Am I missing something? Is it bugged? Is it impossible for missions to actually be 100% guaranteed?

    It almost only/always happens with the «big» missions. for Cinders and Ash and Campaign progress.

    So there is a fan update here https://github.com/hythloday/VenturePlanSoDMissions

    However, I use venture plan just for it’s sexy interface. And use this https://www.curseforge.com/wow/addon…tmissionhelper for mission success.

    They work together fine. Just input a follower, then click venture plans button to fill in troops for you, then click the red button for cov miss helper and it will arrange units for a higher chance of success.

    The venture plan author abandoned the addon sadly.



  4. 2021-09-19, 01:37 AM


    #4

    Venara is offline


    Puts the «Super» in Supermod

    Venara's Avatar


    Quote Originally Posted by Fastlane_hellscream
    View Post

    The venture plan author abandoned the addon sadly.

    He did not actually abandon the addon, he is merely taking a break from WoW.
    https://www.townlong-yak.com/box/hiatus

    Perhaps that is what you meant, but «abandon» is a very strong word to use in that context as it implies more than just a break.

    The author could be returning any day now as autumn is just about upon us. In the meantime, there are forks available, like the one you linked, that will add functionality for 9.1 missions and additional followers.

    For Moderation Concerns, please contact a Global:

    TzivaRadux SimcaElysiaZaelsinoxskarmaVenara



  5. 2021-09-20, 02:44 PM


    #5

    Schizoide is offline


    Titan

    Schizoide's Avatar


    Abandoned is an accurate description for an addon that is not being updated and no longer works properly in the current patch. You can of course abandon something and then pick it back up later, it doesn’t imply the decision was irrevocable.



  6. 2021-09-26, 04:51 PM


    #6

    Fastlane_hellscream is offline


    Dreadlord

    Fastlane_hellscream's Avatar


    Quote Originally Posted by Schizoide
    View Post

    Abandoned is an accurate description for an addon that is not being updated and no longer works properly in the current patch. You can of course abandon something and then pick it back up later, it doesn’t imply the decision was irrevocable.

    Tend to agree. I wasn’t putting a negative spin to his addon at all. When you say you will no longer update the addon, and it breaks for current content…it’s abandoned. At least for the time being.


If you found Venture plan is bugging out after the maintenance and giving you errors like

InterfaceAddOnsVenturePlanWidgets.lua:546: attempt to index local ‘self’ (a nil value)

if you have more than 20 companions and haven’t updated the code to deal with it, here is how you fix it while you are in the file.

in Widgets.lua, search for

for i=1,20 do

that should land you at around line 1960-ish. Change that 20 to 99 and save.

for better efficiency (credit to Spiffy146) change it to

 for i=1,#C_Garrison.GetFollowers(123) do 

——————————————————————————————————————————————

The fix below is no longer necessary if you do the change above. Leave them here just because.

Try this:

  1. Go to your WOW Addons folder and find VenturePlan;
  2. Open up Widgets.lua file in notepad or whatever text editor you like;
  3. go to line 722 and 723, or search for «FollowerButton_SetInfo(wf[i], fi)»
  4. change

FollowerButton_SetInfo(wf[i], fi)

wf[i]:Show()

to

            if wf[i] ~= nil then 
                FollowerButton_SetInfo(wf[i], fi)
                wf[i]:Show()
            end

note to have 3 tabs in front of the word «if» and «end», and 4 tabs for the 2 lines in the middle

  1. ???

  2. save the file and do a /reload in game

  3. Profit

Disclaimer: I’m not a WOW addon developer, just a normal programmer. Happy to help if my instructions are not clear

Edit:

  1. Bumped the number of follower changes as it should fix the problem on its own without the complex steps; credit goes to DoverBoys
  2. Changed the for loop for better efficiency; credit goes to Spiffy146
  3. Formatted the code better, thanks Rare-Page4407 for pointing it out

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Vel tracking ошибка 502
  • Vehicule a controller ошибка рено сценик 3