Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

[Bug] Untranslated item crash.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Bug] Untranslated item crash.

    This bug affects the current version of dota.

    How to reproduce (steps):
    1) Create a custom game with at least one translation (e.g. a game with a Chinese and English text file).
    2) Add an item to the custom game. Do not translate its name string in the translation.
    3) Set your dota to the untranslated language. The item name should be displayed as its identifier, like DOTA_ITEM_BLINK or something similar.
    4) Start the custom game with another player.
    5) Use the 'chat' to link the item to the other player by holding ALT and clicking on its icon in the item shop. If you did it correctly the item should show up as [UNKNOWN] in the chat.
    When the other player hovers or clicks the item their instance of DotA will crash.

    This should not happen. DOTA should return the empty string instead of trying to dereference a non-existing object and crashing, or better yet use the identifier as the name in these cases.

  • #2
    This is a known issue, and part of a larger problem.
    I've seen more than a dozen types of weird crashes, all caused by custom games.
    Even basic stuff like custom item names affect the normal client afterwards (people not being able to change the sticky ones unless they find out about hud_sticky_item_name item_tpscroll).
    Custom hero and abilities names used to bleed into the normal client, but was eventually fixed.
    There is progress in sanitizing these things, but it's slow. Gotta fix the more often encountered bugs first..

    Panorama localization files are just dumb.
    Unlike game localization like dota_english.txt & etc. that are robust, feature include and fallback to english - panorama ones are rigid, hardcoded (both in the c++ code, and on the web templates) and prone to breaking stuff.
    Last edited by aveyo; 04-20-2017, 10:19 AM.
    Troubleshooting crashes
    Dota 2 Resources: autoexec.cfg reference / benchmark.cfg / Tweak it yourself (launch options, cvars) / useful batch files
    No-Bling GlanceValue & FPS ++ NEW! Panorama hotkeys NEW! dota_primary_mm_language_override NEW TOGGLE_QUICKCAST_TP.bat NEW FIX LEGACY KEYS YOURSELF! NEW Toggle UI Animations OFF

    Comment

    Working...
    X