Giter Site home page Giter Site logo

Comments (9)

T3ll1nG avatar T3ll1nG commented on May 20, 2024 2

@Pashbee that fix works just fine.
Nice 👍

from dungeontools.

lexaprofessional avatar lexaprofessional commented on May 20, 2024 1

@Pashbee i had the same issue but your fix + changing the casing worked for me as well

from dungeontools.

T3ll1nG avatar T3ll1nG commented on May 20, 2024

The same error is also thrown when using the minimap button.

from dungeontools.

mmpashby avatar mmpashby commented on May 20, 2024

this should fix the issue.

from dungeontools.

T3ll1nG avatar T3ll1nG commented on May 20, 2024

It didn't fix it for me.

from dungeontools.

mmpashby avatar mmpashby commented on May 20, 2024

@T3ll1nG Can you provide the error you get please? This fix did work for me on testing.

from dungeontools.

T3ll1nG avatar T3ll1nG commented on May 20, 2024

@Pashbee
You suggested changing line 570 in MDT/Locales/enUS

I run Win10 en-US and the gameclient is en-US too.

I get the same error message as before.

If you click the minimap button:
2x ...eManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua:1042: bad argument #1 to 'random' (interval is empty)
[string "=[C]"]: in function random' [string "@ManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua"]:1042: in function UpdateBottomText'
[string "@ManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua"]:676: in function ShowInterface' [string "@ManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua"]:32: in function OnClick'
[string "@BigWigs\Libs\LibDBIcon-1.0\LibDBIcon-1.0-44.lua"]:144: in function <BigWigs\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:142>

Locals:
(*temporary) = 0

If you use /mdt or /manbabydungeontools after wiping saved bugs
1x ...eManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua:1042: bad argument #1 to 'random' (interval is empty)
[string "=[C]"]: in function random' [string "@ManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua"]:1042: in function UpdateBottomText'
[string "@ManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua"]:676: in function ShowInterface' [string "@ManbabyDungeonTools\ManbabyDungeonTools-3.3.4.lua"]:62: in function ?'
[string "@FrameXML\ChatFrame.lua"]:5093: in function ChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4757: in function ChatEdit_SendText'
[string "@FrameXML\ChatFrame.lua"]:4793: in function <FrameXML\ChatFrame.lua:4789>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>

Locals:
(*temporary) = 0

from dungeontools.

mmpashby avatar mmpashby commented on May 20, 2024

the PR got merged but you're right it does not work because of case sensitivity on the lookup. I am sorry. I will fix and put a PR in again.

from dungeontools.

mmpashby avatar mmpashby commented on May 20, 2024

@T3ll1nG fix here - I could re-produce the error you were seeing. Please let me know if that works.

from dungeontools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.