ObsidianBox / Obsidian

Obsidian is the implementation of Magma that extends Forge to deliver server-side content on demand.
http://obsidianbox.org
MIT License
12 stars 3 forks source link

Initialize addons before Forge's missing mappings check #4

Open Zidane opened 10 years ago

Zidane commented 10 years ago

In later Forge 1.7.2 builds and 1.7.10 on-wards, Forge does a check between client and server for missing block mappings when a player joins. Only after that check does Forge fire events for player/client join. Obsidian sends addons that add blocks/items when a player joins.

This is a classic chicken and egg issue that is a blocker. We need to figure out a way to download/initialize addons before the mappings check.

Lunaphied commented 10 years ago

I know exactly one method that runs before the mappings check, because it's there for mods to do their own check. It's a NetworkCheckHandler method, but it does't seem to have enough parameters to load up the addons list because we don't have any idea what server we are connecting to or what player is connecting to us.

On Fri, Jun 27, 2014 at 9:43 AM, Chris Sanders notifications@github.com wrote:

In later Forge 1.7.2 builds and 1.7.10 on-wards, Forge does a check between client and server for missing block mappings when a player joins. Only after that check does Forge fire events for player/client join. Obsidian sends addons that add blocks/items when a player joins.

This is a classic chicken and egg issue that is a blocker. We need to figure out a way to download initialize addons before the mappings check.

— Reply to this email directly or view it on GitHub https://github.com/ObsidianBox/Obsidian/issues/4.

Starbuck Johnson, Java Developer www.modwiz.com | starbuck@modwiz.com