TimZaman / dotaservice

DotaService is a service to play Dota 2 through gRPC
Other
114 stars 19 forks source link

Action.actionDelay nil error #24

Closed lenLRX closed 5 years ago

lenLRX commented 5 years ago

I think this attribute should be required in proto file or really optional. now if i don't assign this value, bot script will crash at bot_nevermore.lua:146 act_at_step = step + action.actionDelay -- TODO(tzaman) does this still work if not defined?

TimZaman commented 5 years ago

Coul you add a PR?

On Tue, Dec 18, 2018 at 8:23 AM 李睿昕 notifications@github.com wrote:

I think this attribute should be required in proto file or really optional. now if i don't assign this value, bot script will crash at bot_nevermore.lua:146 act_at_step = step + action.actionDelay -- TODO(tzaman) does this still work if not defined?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TimZaman/dotaservice/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXSRLOtZS11rhZ8uDI6lCbnlrkpY0jxks5u6RZngaJpZM4ZYolg .