Skip to content

feat: add livestream broadcasting system#739

Open
matzinhozz wants to merge 3 commits into
zimbadev:mainfrom
matzinhozz:feat/cast-system
Open

feat: add livestream broadcasting system#739
matzinhozz wants to merge 3 commits into
zimbadev:mainfrom
matzinhozz:feat/cast-system

Conversation

@matzinhozz
Copy link
Copy Markdown

@matzinhozz matzinhozz commented May 26, 2026

Port do PR opentibiabr/canary#3965 para o crystalserver.

Resumo

Sistema de livestream onde jogadores podem fazer broadcast do seu gameplay e outros podem assistir via login especial @Livestream.

Novos arquivos

  • \src/creatures/players/livestream/livestream.hpp\ / .cpp\ — Classe LivestreamManager (singleton)
  • \data/scripts/talkactions/player/livestream_system.lua\ — Talkaction !livestream\ + eventos
  • \data/migrations/62.lua\ — Migration do banco (\�ctive_livestream_casters)
  • \docs/systems/\ — Documentação do sistema

Adaptações crystalserver

  • \CHANNEL_LIVESTREAM = 0xFFFD\ (sem conflito com \CHANNEL_DEFAULT = 0xFFFE)
  • \writeToOutputBuffer\ integrado no \safeCall\ do dispatcher
  • \db_version\ 61 → 62
  • Fix \playerUpdateContainer: \getPlayerByGUID\ → \getPlayerByID\

24 arquivos alterados (2111 inserções)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant