-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Hi! I'm not sure if this could be classified as an issue with this repository but I'll try anyway.
Testing with Postman, my HTTP server has a mean latency of ~5 ms, which sometimes spikes to 30 ms rarely. However, when sending HTTP requests using CreateHTTPRequestScriptVM as in events.lua, I find that the delay between calling request:Send and the request callback being called (measured using Time() which is in-game time) is hardly ever 0, and is usually 100 ms, sometimes even 200 ms.
The delay is always a multiple of 33.33 ms, which I presume is because dota runs at 30 ticks/sec and hence network polling is also done at that rate. Still, I hoped to see a delay of 33.33 ms or at most 66.67 ms, but this is not the case :(
I would appreciate any help from you! Btw I'm also trying to build a dota bot using ML. I've built a creep blocking bot using the DDPG algorithm here. I'd love to know what you think and if you'd like to collaborate!