Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
1. Locate the script at this path: \steamapps\common\dota 2 beta\game\dota_addons\npx_2019\scripts\vscripts\tasks\task_buy_item.lua
2. Open it with any editor (Notepad for example).
3. Replace this block of code (it starts on 32 string):
if self.hTaskInfo.TaskParams.WhiteList ~= nil then
for _,szItemName in pairs ( self.hTaskInfo.TaskParams.WhiteList ) do
GameRules:AddItemToWhiteList( szItemName )
end
GameRules:SetWhiteListEnabled( true )
end
With that code:
for _,szItemName in pairs ( self.hTaskInfo.TaskParams.WhiteList ) do
GameRules:RemoveItemFromWhiteList( szItemName )
end
GameRules:SetWhiteListEnabled( false )
And run the second page, first task again.
I don't know. I wrote to support when I encountered this problem, and they told me that there is no solution at the moment.
I wrote about my decision while I'm waiting for a response.
It worked for me, and given the fact that the tutorial is supplied as an add-on, which is developed and finalized by the community, and the changes that are made to the script are aimed only at correcting errors and do not provide any benefits, there should be no penalties.
Additionally, I published the content of the file on pastebin. You may just copy-paste it.
https://pastebin.com/0nARXN8t