Demonbuddy for Season 16 released, updates.buddyauth.com !
  • Visit Rebornbuddy
  • Visit Demonbuddy

[Plugin] Arcanum Enchanter 1.1.4

Discussion in 'Plugins' started by xzjv, Nov 10, 2014.

  1. Amacukeru

    Amacukeru New Member

    Joined:
    Sep 30, 2015
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Is there a translation for russian users released?
     
  2. xzjv

    xzjv Community Developer

    Joined:
    Mar 17, 2014
    Messages:
    1,243
    Likes Received:
    46
    Trophy Points:
    48
    New version (1.1.5) to help with localization. There is a new link in the arcanum tab that when clicked logs some debug information about the regex being used, culture and current state of properties being parsed, for the item in the enchanter window.

    The results section printed for the item includes the text that is being scanned, so it should just be a matter of pasting the english regex into regex101.com along with the text you're searching against, and adjust the regex until it matches.

    Then put the final regex into the localization.cs file.

    -------------------------------------------
    Localization Test. Current Culture = en-US
    Paste the regex below into https://regex101.com/ with g in the optoins box
    Here's an image of what it should look like http://i.imgur.com/aTu1xEj.png
    Put a different item in enchanter slot to read its properties
    --------------- ENGLISH -------------------
    (?<gvalue>[\d\.,]+)(?<=[^\.])|(?<g1>% Life)|(?<g2>Armor)|(?<g3>Critical Hit Chance)|(?<g4>Critical Hit Damage)|Increases (?<g5>.*) Damage|(?<g6>Life per Spirit)|(?<g7>Dexterity)|(?<g8>Strength)|(?<g9>Intelligence)|(?<g10>Vitality)|(?<g11>Area Damage)|(?<g12>cooldown)|(?<g13>resource costs)|(?<g14>Durability)|(?<g15>Physical Resist)|(?<g16>Cold Resist)|(?<g17>Fire Resist)|(?<g18>Lightning Resist)|(?<g19>Arcane Resist)|(?<g20>Poison Resist)|(?<g21>Extra Gold)|(?<g22>damage per hit)|(?<g23>Health Pickup)|(?<g24>Chance to Chill)|(?<g25>Ignores Durability)|(?<g26>Potions Grant)|(?<g27>Level Req)|(?<g28>Movement)|(?<g29>All Elements)|(?<g30>Monster kills)|(?<g31>Immobilize)|(?<g32>Blind)|(?<g33>Control Impair)|(?<g34>Cold skills)|(?<g35>Fire skills)|(?<g36>Holy skills)|(?<g37>Lightning skills)|(?<g38>Poison skills)|(?<g39>Physical skills)|(?<g40>Wrath Regen)|(?<g41>Attack Speed)|(?<g42>Life per Hit)|(?<g43>damage from elites)|(?<g44>Bleed)|(?<g45>Hatred Regen)|(?<g46>Sockets)|(?<!\]%|%)(?<g47> Fire Damage| Arcane Damage| Poison Damage| Lightning Damage| Cold Damage| Holy Damage| Damage)(?!\sper|\.)|(?<g48>Life per Wrath)|(?<g49>Maximum Wrath)|(?<g50>Life per Fury)|(?<g51>Spirit Regen)|(?<g52>damage against elites)|(?<g53>Life after Each)|(?<g54>Maximum Mana)|(?<g55>Maximum Arcane)|(?<g56>damage from melee)|(?<g57>damage from ranged)|(?<g58>Maximum Spirit)|(?<g59>Maximum Fury)|(?<g60>Chance to Block)|(?<g61>Chance to Fear)|(?<g62>Chance to Stun)|(?<g63>Chance to Freeze)|(?<g64>Chance to Slow)|(?<g65>Chance to Knock)|(?<g66>Regenerates)|(?<g67>Maximum Discipline)|(?<g68>Critical Hits grant)|(?<g69>Arcane skills)|(?<g70>Mana Regeneration)|(?<g71> Damage(?!\sper|\.))
    --------------- en-US / English (United States) / English (United States) -------------------
    (?<gvalue>[\d\.,]+)(?<=[^\.])|(?<g1>% Life)|(?<g2>Armor)|(?<g3>Critical Hit Chance)|(?<g4>Critical Hit Damage)|Increases (?<g5>.*) Damage|(?<g6>Life per Spirit)|(?<g7>Dexterity)|(?<g8>Strength)|(?<g9>Intelligence)|(?<g10>Vitality)|(?<g11>Area Damage)|(?<g12>cooldown)|(?<g13>resource costs)|(?<g14>Durability)|(?<g15>Physical Resist)|(?<g16>Cold Resist)|(?<g17>Fire Resist)|(?<g18>Lightning Resist)|(?<g19>Arcane Resist)|(?<g20>Poison Resist)|(?<g21>Extra Gold)|(?<g22>damage per hit)|(?<g23>Health Pickup)|(?<g24>Chance to Chill)|(?<g25>Ignores Durability)|(?<g26>Potions Grant)|(?<g27>Level Req)|(?<g28>Movement)|(?<g29>All Elements)|(?<g30>Monster kills)|(?<g31>Immobilize)|(?<g32>Blind)|(?<g33>Control Impair)|(?<g34>Cold skills)|(?<g35>Fire skills)|(?<g36>Holy skills)|(?<g37>Lightning skills)|(?<g38>Poison skills)|(?<g39>Physical skills)|(?<g40>Wrath Regen)|(?<g41>Attack Speed)|(?<g42>Life per Hit)|(?<g43>damage from elites)|(?<g44>Bleed)|(?<g45>Hatred Regen)|(?<g46>Sockets)|(?<!\]%|%)(?<g47> Fire Damage| Arcane Damage| Poison Damage| Lightning Damage| Cold Damage| Holy Damage| Damage)(?!\sper|\.)|(?<g48>Life per Wrath)|(?<g49>Maximum Wrath)|(?<g50>Life per Fury)|(?<g51>Spirit Regen)|(?<g52>damage against elites)|(?<g53>Life after Each)|(?<g54>Maximum Mana)|(?<g55>Maximum Arcane)|(?<g56>damage from melee)|(?<g57>damage from ranged)|(?<g58>Maximum Spirit)|(?<g59>Maximum Fury)|(?<g60>Chance to Block)|(?<g61>Chance to Fear)|(?<g62>Chance to Stun)|(?<g63>Chance to Freeze)|(?<g64>Chance to Slow)|(?<g65>Chance to Knock)|(?<g66>Regenerates)|(?<g67>Maximum Discipline)|(?<g68>Critical Hits grant)|(?<g69>Arcane skills)|(?<g70>Mana Regeneration)|(?<g71> Damage(?!\sper|\.))
    -------------------------------------------
    Text: Attack Speed Increased by [5.0 - 7.0]%
    Property: 'AttackSpeed'
    Minimum='5'
    Maximum='7'
    Variant=''


    Text: +[436 - 516] Armor
    Property: 'Armor'
    Minimum='436'
    Maximum='516'
    Variant=''


    Text: Critical Hit Damage Increased by [26.0 - 50.0]%
    Property: 'CritcalHitDamage'
    Minimum='26'
    Maximum='50'
    Variant=''


    Text: Regenerates [8445 - 10,000] Life per Second
    Property: 'RegenerateLifePerSecond'
    Minimum='8445'
    Maximum='10000'
    Variant=''


    Text: Critical Hit Chance Increased by [8.0 - 10.0]%
    Property: 'CritcalHitChance'
    Minimum='8'
    Maximum='10'
    Variant=''


    Text: Chance to Deal [10 - 20]% Area Damage on Hit.
    Property: 'AreaDamage'
    Minimum='10'
    Maximum='20'
    Variant=''


    Text: +[10,135 - 11,975] Life per Hit
    Property: 'LifePerHit'
    Minimum='10135'
    Maximum='11975'
    Variant=''


    Text: Reduces cooldown of all skills by [5.0 - 8.0]%.
    Property: 'Cooldown'
    Minimum='5'
    Maximum='8'
    Variant=''
     
  3. zarifr

    zarifr New Member

    Joined:
    Oct 30, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    That's not possible. I have 4bil gold and a masston of mats...?
     
  4. Hoschy

    Hoschy Member

    Joined:
    Aug 28, 2015
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    This plugin wont work for me. did everything in 1# post, but Arcanum shows me nothing to select. Any suggestions?

    EDIT: After reading every post.... Ok. im not localized.
    letz have a look on it for another language. :)
     
    Last edited: May 10, 2016
  5. drumandbass

    drumandbass New Member

    Joined:
    Feb 2, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Russian localization very closer
     
    Last edited: May 11, 2016
  6. Disconnected

    Disconnected New Member

    Joined:
    May 29, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Last edited: May 18, 2016
  7. mezza9

    mezza9 Member

    Joined:
    Sep 25, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Arcanum makes my D3 crash (no more response) when I make it start enchanting
    i'm using version 1.1.4 on DB beta .624
    D3 english client on french OS (win7 64bits)
    anyone had the same issue ?
     
  8. Xenetron

    Xenetron Member

    Joined:
    Mar 5, 2013
    Messages:
    627
    Likes Received:
    4
    Trophy Points:
    18
    Same issue here
     
  9. Krasus

    Krasus Member

    Joined:
    Jan 28, 2016
    Messages:
    68
    Likes Received:
    1
    Trophy Points:
    8
    why i cant enchant? what's i did wrong?
    [​IMG]
    ---
    [​IMG]
     
    Last edited: May 27, 2016
  10. NeeDforKill

    NeeDforKill New Member

    Joined:
    Jul 21, 2012
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    0
    Нужно перевести на русский язык в файле Localization.cs

    Если сможешь доделать, то все будет хорошо.

    Вот мой незаконченный перевод
    View attachment Localization.cs
     
  11. Krasus

    Krasus Member

    Joined:
    Jan 28, 2016
    Messages:
    68
    Likes Received:
    1
    Trophy Points:
    8
    доделал, не тестил. должно быть все в порядке
    View attachment Localization.cs

    апд. не пашет, нужно правильно прописать регулярные выражения
     
    Last edited: May 28, 2016
  12. drumandbass

    drumandbass New Member

    Joined:
    Feb 2, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    много косяков товарищи, порой даже не пытается енчантить
     
  13. drumandbass

    drumandbass New Member

    Joined:
    Feb 2, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    View attachment Localization.cs Russian

    Вот доскональный перевод но есть проблема с % к урону именно в оружии!
    Плагин находит слова "% к урону" и может выбрать 1 из 3 вариантов:
    1) +[6 - 10]% к урону
    2) +[9,0 - 10,0]% к урону, наносимому особым противникам
    3) +[10 - 15]% к урону от умения
    Если для поиска выбрать конкретно только 2 или 3 вариант плагин будет перебирать конкретно выбранный вариант.
    Мною выявлены проблемы с Базовым и элементальным уроном от оружия,с Уроном от умения.
    Думаю еще во многих аффиксах найдется косяк, тестим господа, думаем, пробуем фиксить.
     
    Last edited: May 28, 2016
  14. NeeDforKill

    NeeDforKill New Member

    Joined:
    Jul 21, 2012
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    0
    Ну по этому я и забил хер пока что. В Русской версии в отличии от англ. , все на много сложнее. В англ версии, пофиг с большой или маленькой буквы, в Ру версии некоторые нужно писать с большой буквы , некоторые с маленькой, по этому просто перевести не достаточно.
     
  15. Krasus

    Krasus Member

    Joined:
    Jan 28, 2016
    Messages:
    68
    Likes Received:
    1
    Trophy Points:
    8
    поэтому я и говорю, что нужно регулярки правильно прописать
    проблема в самой локализации, но, к сожалению, из-за сессии я ближайщий месяц не смогу нормально занятся изучением пролемы
    может, найдется кто-то с болеее прямыми руками и наличием свободного времени
     
  16. drumandbass

    drumandbass New Member

    Joined:
    Feb 2, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Удачи на сессии, чувсвую ты что-то смыслишь в ява скриптах, я вообще полный 0, но попробую разобраться спасибо за подсказку о регулярных выражениях, начал изучать суть дела
     
  17. Krasus

    Krasus Member

    Joined:
    Jan 28, 2016
    Messages:
    68
    Likes Received:
    1
    Trophy Points:
    8
    спасибо, успехов в изучении) может, начнешь сам плагины писать))
     
  18. Astek

    Astek New Member

    Joined:
    May 27, 2014
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    Сам попытался , много гемороя ) Проще плагин самому написать чем переделать ) А еще проще игру на En переключить ))
     
  19. qiuyi

    qiuyi New Member

    Joined:
    Aug 6, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    can not used in 2.4.2 Demonbuddy 1.1.3060.468
    just me or everybody are the same
     
  20. xzjv

    xzjv Community Developer

    Joined:
    Mar 17, 2014
    Messages:
    1,243
    Likes Received:
    46
    Trophy Points:
    48

Share This Page