Git Product home page Git Product logo

Comments (22)

Finrodi avatar Finrodi commented on August 17, 2024

another one

Message: ...icCodex\lib\HereBeDragons\HereBeDragons-Pins-2.0.lua:689: HereBeDragons-Pins-2.0: AddWorldMapIconMap: 'uiMapID', 'x' and 'y' must be numbers
Time: Fri Aug  9 15:21:08 2019
Count: 1
Stack: ...icCodex\lib\HereBeDragons\HereBeDragons-Pins-2.0.lua:689: HereBeDragons-Pins-2.0: AddWorldMapIconMap: 'uiMapID', 'x' and 'y' must be numbers
[C]: in function `error'
...icCodex\lib\HereBeDragons\HereBeDragons-Pins-2.0.lua:689: in function `AddWorldMapIconMap'
Interface\AddOns\ClassicCodex\map.lua:529: in function `UpdateNodes'
Interface\AddOns\ClassicCodex\map.lua:542: in function <Interface\AddOns\ClassicCodex\map.lua:541>

Locals: (*temporary) = "HereBeDragons-Pins-2.0: AddWorldMapIconMap: 'uiMapID', 'x' and 'y' must be numbers"

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Could you try and indentify it's happening on what mob / NPC / quest? Maybe the data is wrong somewhere

from classiccodex.

Finrodi avatar Finrodi commented on August 17, 2024

Not sure but I was able to click on the map to remove a quest (Cluck!) because its spamming everywhere and now I cant remove anymore. Otherwise no clue, i get the error when logging in.

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Yeah quests like Cluck! with multiple pickup locations will clutter your map.. That's why I initially only displayed the icons on the map your player was currently in.

I don't know how viable this is for you, but could you try deleting quests from your questlog until the problem stops and give me the quest that causes the issue? If not, what level are you atm? If you make a fresh character, does the error persist or is it only on that 1 character

from classiccodex.

Finrodi avatar Finrodi commented on August 17, 2024

Level 1 char doesnt have the rror btw.

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Could you try running /codex reset ingame on your char with the error? Curious to see if it fixes your problem.

from classiccodex.

Finrodi avatar Finrodi commented on August 17, 2024

Does not fix the problems, errors reappear after I do that.
One of them is actually

Message: (null)
Time: Fri Aug  9 16:37:03 2019
Count: 6

As well 🗡

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Could you go here in the code https://github.com/project-classic/ClassicCodex/blob/master/map.lua#L527 and add 3 lines:

print(coords)
print(x)
print(y)

It will write the values in your chat ingame. Could you give me those values for the one that's breaking?

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

And if you're feeling fancy, could you also add:

for title, meta in pairs(node) do
        print(title)
end

This will be extra spammy in your chat, but itll tell me what quest is breaking it

from classiccodex.

Finrodi avatar Finrodi commented on August 17, 2024

had to leave, not sure if i can make it before servers go down :(

from classiccodex.

stampis avatar stampis commented on August 17, 2024

The issue starts when you ding level 20 (as Alliance, Human) guessing its due to some quests becoming avaliable then.
Seems to be cuz of faulty zone<>mapid?

Here are the last returned coords and Quest:.

74.9|44.1
0.749
0.441
A Fine Mess

from classiccodex.

Finrodi avatar Finrodi commented on August 17, 2024

My char was level 9 with those error messages btw.

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

@Finrodi Horde or ally?

@stampis Any chance you can give me the other returned coords and quest? Im trying to see if its an error in the database (coords / x / y) or an error with the mapID. I inverted the list by hand right before releasing so I might have added a bug

from classiccodex.

stampis avatar stampis commented on August 17, 2024

My first test was on Human (Paladin)...
The quest that throws the error is located in Gnomeregan..
Error occured when characted dinged 20 (quest level?)

Second test i did was on Undead (Warrior)...
The quest that throws the error is located in Blackfathom Deeps...
Error occured when characted dinged 17 (quest level?)

20.1|52.3
0.201
0.523
Blackfathom Villainy

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Ok That's probably my problem @stampis I have basic zones, but not the instanced ones. Shagu didn't have that feature so I had to make it from scratch and there's a bug. Ill fix it asap, but I'm going away for the weekend so I can't do it till sunday.

Any chance you guys make a PR updating CodexMap.zones inside map.lua with the missing ids? Maybe there's a WoW API call to translate the mapId to worldMapId

from classiccodex.

stampis avatar stampis commented on August 17, 2024

yeah the "worldMapId" returns "nil" for those..

So with:

for title, meta in pairs(node) do
        print(title)
end

print(worldMapId)

I got something like this:

Avenge My Village
1442
Trouble in the Deeps
Elemental War
1442
Blackfathom Villainy
nil

::edit::
i think Questie have something along those lines with "zoneDataAreaIDToUiMapID"

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Actually the real ID we're trying to get from the WoW API is uiMapID

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

I might just push a quick fix for now and check for null. Itll at least prevent lua errors for now

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

@stampis Have you noticed any performance issues? I heard from buddies that they had some performance issues in loch modan

from classiccodex.

pgarneau avatar pgarneau commented on August 17, 2024

Temporary fix pushed, please download the latest version and let me know if the issue is fixed

from classiccodex.

stampis avatar stampis commented on August 17, 2024

The temp fix solved the lua errors.
And i did not notice any performance issues at all while in Thelsamar - Loch Modan

from classiccodex.

Finrodi avatar Finrodi commented on August 17, 2024
Message: (null)
Time: Sat Aug 10 00:59:15 2019
Count: 6

Lua error is gone, correct however this one still exists... obviously hard to tell what the problem is^^

from classiccodex.

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.