theRAPTLab / gsgo

GEM-STEP Foundation repo migrated from GitLab June 2023
1 stars 1 forks source link

Restore Round Scripts - [merged] #715

Closed benloh closed 1 year ago

benloh commented 2 years ago

Merges dev-bl/restore-rounds -> dev-next

Rounds introScript and outScripts were not failing with an error.

There were two related issues:

  1. The error was due to the attempted insertion of name from a nonexistent blueprint object during program execution. Rounds scripts were run by the GLOBAL_AGENT, who does not have a blueprint.

  2. Round scripts should be run by the REFEREE agent, not the GLOBAL_AGENT. Rewrote rounds to use REFEREE.

To Test

Round intro and out scripts should run without errors, provided they're valid.

It's worth noting that the REFEREE agent will automatically add the "Population" feature as well as a roundTime property (see StageInit() call).

benloh commented 2 years ago

added 1 commit

Compare with previous version

benloh commented 2 years ago

added 1 commit

Compare with previous version

benloh commented 2 years ago

added 1 commit

Compare with previous version

benloh commented 2 years ago

mentioned in commit 3614624da17188c1bd4453b43c9053d94543e719