Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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 else

just 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.