Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiplayer support #11

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
- Reduced load while playing with precision farming and calculating the field info
- Added translation for IT by FirenzeIT - for [#7](https://github.com/Peppie84/FS22_BeesRevamp/issues/7)
- Added multiplayer functionality - for [#5](https://github.com/Peppie84/FS22_BeesRevamp/issues/5)

## [1.0.0.0] - 2024-10-01
- Initial Release
Expand Down
8 changes: 1 addition & 7 deletions FS22_BeesRevamp/modDesc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ Most questions can be answered by the in-game help of this mod.
- Precision farming compatible
- TerraLife compatible

Currently no multiplayer support.

Yield bonus for: Canola, Sunflower, Alfalfa, Clover, Buckwheat, Phacelia, Silphie, Mustard and Clover gras

Additional supported bee hives:
Expand Down Expand Up @@ -60,8 +58,6 @@ Bitte schau Dir die Ingame-Hilfe zu dieser Mod an. Sie kann die meisten Fragen b
- Precision Farming kompatibel
- TerraLife kompatibel

Aktuell kein Multiplayer support.

Ertragsbonus für: Raps, Sonnenblume, Luzerne, Klee, Buchweizen, Phacelia, Silphie, Senf und Kleegras

Zusätzlich unterstützte Bienenstöcke:
Expand Down Expand Up @@ -92,8 +88,6 @@ La maggior parte delle domande può essere risolta dall'aiuto in-game di questa
- Compatibile con precision farming
- Compatibile con TerraLife

Attualmente nessun supporto multiplayer.

Bonus di resa per: Colza, Girasole, Erba Medica, Trifoglio, Grano Saraceno, Facelia, Silphie, Senape e Erba di Trifoglio

Alveari aggiuntivi supportati:
Expand All @@ -104,7 +98,7 @@ Per ulteriori informazioni, aiuto e segnalazione di problemi, visita <a href='ht
]]></it>
</description>
<iconFilename>icon_BeesRevamp.dds</iconFilename>
<multiplayer supported="false" />
<multiplayer supported="true" />
<extraSourceFiles>
<sourceFile filename="src/main.lua" />
</extraSourceFiles>
Expand Down
4 changes: 2 additions & 2 deletions FS22_BeesRevamp/src/activatables/swarmcontrolactivatable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ end

---Do the swarm control on the beecare spec.
function SwarmControlActivatable:run()
g_brUtils:logDebug('SwarmControlActivatable:run')
if g_server ~= nil then
self.beecare:doSwarmControl()
else
---TODO for Multiplayer!
---g_client:getServerConnection():sendEvent(CUSTOM_EVENT.new(self.bale))
g_client:getServerConnection():sendEvent(SwarmControlEvent.new(self.beecare))
end
end
Loading