TimZaman / dotaclient

distributed RL spaghetti al arabiata
26 stars 7 forks source link

MoveToPosition doesn't exist. #36

Closed TimZaman closed 5 years ago

TimZaman commented 5 years ago

hUnit:Action_MoveToPosition(vLoc) gives me:

[VScript] Script Runtime Error: ...a 2 beta/game/dota/scripts/vscripts/bots/bot_generic.lua:14: attempt to call method 'Action_MoveToPosition' (a nil value)
stack traceback:
    ...a 2 beta/game/dota/scripts/vscripts/bots/bot_generic.lua:14: in function <...a 2 beta/game/dota/scripts/vscripts/bots/bot_generic.lua:2>
TimZaman commented 5 years ago

Should probably be MoveToLocation.

Nostrademous commented 5 years ago

That doesn’t align to that line # in that file. Are you using DotaService 3.5?

TimZaman commented 5 years ago

No i was debugging

On Mon, Feb 4, 2019, 18:19 Nostrademous <notifications@github.com wrote:

That doesn’t align to that line # in that file. Are you using DotaService 3.5?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TimZaman/dotaclient/issues/36#issuecomment-460489375, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXSRH1uk1kYn1xX3GC36T50HUQFXH4Gks5vKOo4gaJpZM4aiYat .

Nostrademous commented 5 years ago

What were you debugging?