Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Keithenneu/dota2comm
Commuication between Lua and any outside program
https://github.com/Keithenneu/dota2comm
Last synced: 3 months ago
JSON representation
Commuication between Lua and any outside program
- Host: GitHub
- URL: https://github.com/Keithenneu/dota2comm
- Owner: Keithenneu
- License: mit
- Created: 2017-01-11T17:58:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T13:44:26.000Z (over 7 years ago)
- Last Synced: 2024-04-09T01:57:45.520Z (7 months ago)
- Language: C++
- Size: 1.63 MB
- Stars: 12
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Keithenneu/dota2comm - Commuication between Lua and any outside program (C++)
README
# Dota2Comm
This is some code I wrote to allow for communication between the Dota2 Bot Lua Api/Sandbox, and just about every outside program you could imagine.
# Modules
- dota2MemComm: A backend reading and writing into Dota's memory.
- dota2FileComm: A backend for getting data into the Lua VM using lua files. No way out.
- interactiveConsole: A usecase demonstration which allows the execution of any Lua code from a bot's context# Backends
X | MemoryComm | FileComm
--- | --- | ---
*Speed* | quite fast | rather slow (3-4ms for reading)
*To Lua* | 1023byte per message (adjustable) | infinite
*From Lua* | infinite | not possible. Prints to Dota2 console.
*Platform* | currently implemented for windows | all
*Language* | all (which can handle dlls; python module included) | all (currently implemented in python)
*shady* | a little :D | definitely not.## Contact
If you
- find any bugs
- want to know something
- have a suggestion
- Anything elsejust let me know. Open an issue, write a pm, or whatever you want.
## Contributors
Huge thanks to [lenLRX](https://github.com/lenLRX) for adding support for multiple bots and fixing a lot of stuff.