Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Creating a lobby with custom bot logic #24

Open
cqiaoben opened this issue Jan 30, 2017 · 2 comments
Open

Creating a lobby with custom bot logic #24

cqiaoben opened this issue Jan 30, 2017 · 2 comments

Comments

@cqiaoben
Copy link

cqiaoben commented Jan 30, 2017

If it is possible, how can it be done? Would it work if I put my custom bot script in dota2 bot directory and create a local lobby with this project? Is there anyway to spectate this lobby in the dota2 client?

Currently dota2 custom bot scripting is done by placing the custom bot script in the dota2 bot directory. I want to understand how this project would interact with this script.

@paralin
Copy link
Owner

paralin commented Feb 6, 2017

I haven't investigated this, but it's probably related to;

https://github.com/paralin/Dota2/blob/master/Resources/Protobufs/dota/dota_gcmessages_client_match_management.proto#L129

I would attach a NetHook to Steam and watch the packets going between your game and the server when you make a lobby with custom bot logic.

@paralin paralin changed the title Follow up on creating lobby with custom bot script Creating a lobby with custom bot logic Feb 6, 2017
@paralin
Copy link
Owner

paralin commented Feb 6, 2017

And to answer your questions in order:

  1. Probably possible
  2. No
  3. All this project does is emulate what the official client does. So yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants