Giter Club home page Giter Club logo

Comments (7)

julianperrott avatar julianperrott commented on September 9, 2024

What zone is this in ? I think it is a problem with it not matching the MapId correctly between these two:
https://github.com/julianperrott/WowClassicGrindBot/blob/master/PathingAPI/WorldToMap/WorldMapArea.json
and https://github.com/julianperrott/WowClassicGrindBot/blob/master/PathingAPI/WorldToMap/uimap.csv

from wowclassicgrindbot.

pikachyu avatar pikachyu commented on September 9, 2024

Barrens seems to be the issue, works in the other areas.

from wowclassicgrindbot.

julianperrott avatar julianperrott commented on September 9, 2024

Could you do the following command in the chat window and tell me what it says.

/dump C_Map.GetBestMapForUnit("player")

from wowclassicgrindbot.

pikachyu avatar pikachyu commented on September 9, 2024

[1]=1413
I just noticed that player dot is missing from the map.
1413 is in the csv

from wowclassicgrindbot.

Gothfinger avatar Gothfinger commented on September 9, 2024

I'm getting the same error message:

[10:13:56 ERR] PerformAction on FollowRouteGoal
System.NullReferenceException: Object reference not set to an instance of an object.
at PathingAPI.PPatherService.GetWorldLocation(Int32 uiMapId, Single v1, Single v2) in C:\Users\Leonard\Desktop\downloads\wowo2\WowClassicGrindBot3\PathingAPI\Search\PPatherService.cs:line 66
at BlazorServer.LocalPathingApi.FindRoute(Int32 map, WowPoint fromPoint, WowPoint toPoint) in C:\Users\Leonard\Desktop\downloads\wowo2\WowClassicGrindBot3\BlazorServer\PathingApi\LocalPathingApi.cs:line 40
at Libs.Goals.FollowRouteGoal.RefillRouteToNextWaypoint(Boolean forceUsePathing) in C:\Users\Leonard\Desktop\downloads\wowo2\WowClassicGrindBot3\Libs\Goals\FollowRouteGoal.cs:line 302
at Libs.Goals.FollowRouteGoal.PerformAction() in C:\Users\Leonard\Desktop\downloads\wowo2\WowClassicGrindBot3\Libs\Goals\FollowRouteGoal.cs:line 136
at Libs.Goals.GoalThread.GoapPerformGoal() in C:\Users\Leonard\Desktop\downloads\wowo2\WowClassicGrindBot3\Libs\Goals\GoalThread.cs:line 57

Also got [1]=1413 in Barrens.

https://github.com/julianperrott/WowClassicGrindBot/blob/master/PathingAPI/WorldToMap/WorldMapArea.json

{
    "ID": 11,
    "MapID": 1,
    "AreaID": 17,
    "AreaName": "Barrens",
    "LocLeft": 2622.9165,
    "LocRight": -7510.4165,
    "LocTop": 1612.49988,
    "LocBottom": -5143.75
},

https://github.com/julianperrott/WowClassicGrindBot/blob/master/PathingAPI/WorldToMap/uimap.csv

Name_lang ID ParentUiMapID Flags System Type LevelRangeMin LevelRangeMax BountySetID BountyDisplayLocation VisibilityPlayerConditionID HelpTextPosition BkgAtlasID
Azeroth 947 0 2304 0 1 0 0 0 0 0 0 0
Durotar 1411 1414 4 0 3 0 0 0 0 0 0 0
Mulgore 1412 1414 4 0 3 0 0 0 0 0 0 0
The Barrens 1413 1414 4 0 3 0 0 0 0 0 0 0

Not sure how the mapping is performed, but something should be changed in WorldMapArea.json maybe?

from wowclassicgrindbot.

pikachyu avatar pikachyu commented on September 9, 2024

I'll debug it this weekend, will create PR.

from wowclassicgrindbot.

julianperrott avatar julianperrott commented on September 9, 2024

Should be fixed in the latest code.

from wowclassicgrindbot.

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.