Darwin's Voyage doesn't give two technology advances in multiplayer ruleset
Darwin's Voyage doesn't give two technology advances in the multiplayer ruleset.
This has been tested and verified that Darwin's Voyage doesn't work in both on the latest Github version of the desktop version of Freeciv, and not working in the LongTurn games on Freeciv-web in production running almost the latest GitHub version of the Freeciv C server (where this bug was first reported by a player).
However, Darwin's Voyage does work correctly in Freeciv version 2.5.9, where it gives two advances.
This can be tested by specifying the multiplayer rulesetdir, setting techlevel 60, then building Darwin's Voyage, and observing if two advances are given when Darwin's Voyage is completed.
#2 Updated by Jacob Nevins 3 months ago
S2_6+ give this error for me:
lua error: [string "tolua: embedded Lua code"]:79: error in function 'give_tech'. argument #4 is 'string'; 'boolean' expected. stack traceback: : in field 'give_tech' [string "tolua: embedded Lua code"]:79: in method 'give_tech' data/multiplayer/script.lua:40: in function 'building_built_handler'
#3 Updated by Jacob Nevins 3 months ago
- Status changed from New to In Progress
- Assignee set to Jacob Nevins
An edit was missed during gna patch #6531 .
Fix is in ruleset (data/multiplayer/script.lua), so should be easy to deploy.
Anyone who missed out on techs due to this won't get "Theory of Evolution" either (the pseudo-tech that prevents multiple bonuses from rebuilding), so if they were to rebuild Darwin's Voyage after the fix is deployed, they'd get the techs the second time round.
#4 Updated by Jacob Nevins 3 months ago
- File m-30-26-multiplayer-darwin-fix.patch m-30-26-multiplayer-darwin-fix.patch added
- Status changed from In Progress to Resolved
Fix verified on all relevant branches, and verified on S2_6 that building Darwin's Voyage a second time doesn't get you extra techs.