zematus / worlds Goto Github PK
View Code? Open in Web Editor NEWWorld History Simulator
Home Page: https://drtardigrade.itch.io/worldhistorysim
License: MIT License
World History Simulator
Home Page: https://drtardigrade.itch.io/worldhistorysim
License: MIT License
Just a simple overlay that shows cells as green if people migrated in and red if people migrated out (intensity scaled by proportions)
check wolrd seed 780667237 (this situation doesn't happen if save is done beforehand):
Running Worlds 0.03 (release)...
Generating world with seed: 780667237
[Date: Year 913361, Day 217] - replaced clan split event with old Id: 333376982705801007 with Id: 333386107705801007
[Date: Year 913386, Day 217] - _newClanCoreGroup with Id: 174960506025029 has HighestPolityProminence Id: 20060741001705801
[Date: Year 913386, Day 217] - replaced clan split event with old Id: 333386107705801007 with Id: 333395234705801007
[Date: Year 913386, Day 217] - Group with Id: 174960506025029 - HighestPolityProminence set to null
[Date: Year 913386, Day 217] - Exception: highestPolityProminence is null - Clan Id: 20059828501705801, Group Id: 174960506025029, Event Id: 333386107705801007
Clan.Split ()
World.SplitFactions ()
World.Update ()
GuiManagerScript.Update ()
Running Worlds 0.03 (release)...
[Date: Year 647433, Day 333] - Generating world with seed: 350393830
[Date: Year 0, Day 0] - NullReferenceException: Object reference not set to an instance of an object
Manager.SetGeneralOverlayColor (.TerrainCell cell, Color terrainColor)
Manager.GenerateColorFromTerrainCell (.TerrainCell cell, Boolean highlightCells)
Manager.UpdateMapTextureColorsFromCell (UnityEngine.Color32[] textureColors, .TerrainCell cell, Boolean highlightCells)
Manager.UpdateMapTextureColors (UnityEngine.Color32[] textureColors)
Manager.UpdateTextures ()
GuiManagerScript.Update ()
For example, to trigger a save or execute a specific decision
The reason for this is that CanTrigger only validates if an Event should trigger at a certain date according to the established conditions. If CanTrigger fails then it means that the status quo should be maintained (no updates).
It should be similar to the cell update highlighting mode but instead of highlighting all cells that had updates it should highlight specific cells that have been flagged by debug triggers (ie. if a condition is triggered on a cell due to some debug criteria being met, add the cell to a list of cells to highlight this frame)
LINQ tends to cause too many memory allocations and we want to reduce that.
I implemented a workaround by ignoring IOexceptions of this kind but this is not the correct way to handle this issue.
lambdas and anonymous functions tend to trigger unnecessary memory allocations
delegates will always generate memory footprint when created. Try to generate them beforehand
Running Worlds 0.03 (release)...
[Date: Year 683842, Day 25] - NullReferenceException: Object reference not set to an instance of an object
AcceptedMergeTribesOfferEventMessage.GenerateMessage ()
WorldEventMessage.get_Message ()
GuiManagerScript.GetMessageToShow (.WorldEventMessage eventMessage)
GuiManagerScript.ShowEventMessageForPolity (.WorldEventMessage eventMessage, Int64 polityId)
GuiManagerScript.ShowEventMessage (.WorldEventMessage eventMessage)
GuiManagerScript.Update ()
This would be useful to avoid race-condition-like issues between multiple concurrent events and would reduce the need of special function sets like the faction-splitting method set
examples: polity mergers, faction-mergers
I think this is how it happened:
Things that are needed:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.