drumpel
02-06-2023, 03:08 PM
The most recent of mapdb that auto updates is not working correctly with ;go2
I've deleted out the most recent mapdb that installs (map-1675708882.json) and when I try to use ;go2 I'm met with this:
;go2 1453
--- Lich: go2 active.
[go2: input: 1453]
[go2: Map.dijkstra: error: undefined method `+' for true:TrueClass]
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:851:in `block in dijkstra'
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:842:in `each'
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:842:in `dijkstra'
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:789:in `dijkstra'
go2:1782:in `block in <module:Go2>'
go2:1759:in `loop'
go2:1759:in `<module:Go2>'
go2:128:in `_script'
C:/Users/xxxx/Desktop/Lich5/lich.rbw:802:in `eval'
C:/Users/xxxx/Desktop/Lich5/lich.rbw:802:in `block (2 levels) in <class:Script>'
[go2: error: failed to find a path between your current room (284) and destination room (1453)]
--- Lich: go2 has exited.
;go2 will work if only moving a couple of rooms, but even then it doesn't always and gives the error info above.
How do I go about having lich work off the previous mapdb or if someone reads this that works the mapdb, can you fix it?
My character that I've had logged in most of the morning, he's not running into issues with ;go2, but any character I log in on my other account all have issues with the most recent mapdb.
I've deleted out the most recent mapdb that installs (map-1675708882.json) and when I try to use ;go2 I'm met with this:
;go2 1453
--- Lich: go2 active.
[go2: input: 1453]
[go2: Map.dijkstra: error: undefined method `+' for true:TrueClass]
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:851:in `block in dijkstra'
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:842:in `each'
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:842:in `dijkstra'
C:/Users/rngrr/Desktop/Lich5/lib/map_gs.rb:789:in `dijkstra'
go2:1782:in `block in <module:Go2>'
go2:1759:in `loop'
go2:1759:in `<module:Go2>'
go2:128:in `_script'
C:/Users/xxxx/Desktop/Lich5/lich.rbw:802:in `eval'
C:/Users/xxxx/Desktop/Lich5/lich.rbw:802:in `block (2 levels) in <class:Script>'
[go2: error: failed to find a path between your current room (284) and destination room (1453)]
--- Lich: go2 has exited.
;go2 will work if only moving a couple of rooms, but even then it doesn't always and gives the error info above.
How do I go about having lich work off the previous mapdb or if someone reads this that works the mapdb, can you fix it?
My character that I've had logged in most of the morning, he's not running into issues with ;go2, but any character I log in on my other account all have issues with the most recent mapdb.