ghostpp icon indicating copy to clipboard operation
ghostpp copied to clipboard

Pvpgn integration

Open Ruk33 opened this issue 2 years ago • 3 comments

Will be implemented in another PR

  • allow dagger/match-making to be hosted with bot

Notes

  • This PR contains the updates from https://github.com/uakfdotb/ghostpp/pull/40
  • example command from pvpgn server: /pvpgn init
  • example pvpgn name: PvPGN Realm
  • example command by user /chost (2)EchoIsles.w3x test

Status

  • [x] allow any user to create games from the pvpgn integration (/chost ...)
  • [x] allow the bot to handle multiple games at once
  • [x] flood protection
  • [x] allow to download maps from urls
  • [x] add configuration parameters
  • [ ] update MANUAL with usage notes
  • [ ] testing

Ruk33 avatar Oct 13 '22 22:10 Ruk33

not bad so planned

kirill-782 avatar Oct 14 '22 14:10 kirill-782

How is this supposed to work? On pvpgn it is written /chost and then pvpgn redirects the command to one of the bots?

kirill-782 avatar Oct 16 '22 11:10 kirill-782

user -> /chost -> pvpgn -> master bot -> slave bot handles request

The user talks to PVPGN through the /chost command. PVPGN picks up this command, and talks to the allowed bot (the one configured by the user) to handle the request. The bot in charge listens for this request and starts spawning slave processes to handle the requests.

Ruk33 avatar Oct 16 '22 16:10 Ruk33

I understand that all the updates are over?

KuroRaiken avatar Dec 12 '22 13:12 KuroRaiken

Hello @KuroRaiken not quite yet. It needs more testing and documentation. There seems to be a particular issue where games aren't properly closed.

Ruk33 avatar Dec 15 '22 12:12 Ruk33

Included a few items in the todo list.

Ruk33 avatar Mar 19 '23 19:03 Ruk33