Search found 22 matches

by Coldwynn
Sat Mar 04, 2023 7:45 am
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

Ooh, I didn't understand what that was for. Thanks, that works nicely.
by Coldwynn
Wed Mar 01, 2023 8:02 am
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

I have a bit of a problem. It seems that the scope or lifetime of the files stored in cache is limited to that one run. If I run the game, stop it, and then run the game again, a KeyExists method returns false (whereas doing the same using a non-cache save system returns true). Is there a workaround...
by Coldwynn
Tue Feb 21, 2023 6:21 pm
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

I'm happy to report that the performance gains were quite significant and readily observable. A small note: the manual isn't clear that the command line: //set a cache for ES3 Saves/Loads var settings = new ES3Settings(ES3.Location.Cache); had to be written into, not only every script, but into ever...
by Coldwynn
Wed Feb 15, 2023 8:20 pm
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

Thanks for your time. I'll get to work and report back in a week or so on whether there is a performance gain.
by Coldwynn
Wed Feb 15, 2023 7:34 pm
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

Thanks for the clarification. One more question before I try to implement the cache routine: What controls whether multiple ES3.Save go to the same file? As long as the saves are not separated by other commands, as long as the saves are within the same method, within the same script, within the same...
by Coldwynn
Wed Feb 15, 2023 6:40 pm
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

What exactly does "multiple keys to the same file" mean? For example, I have a bunch of arrays: QB = new double[,] { { 5, 6, ....}, { 2, 3, ... }, ....; OLT = new double[,] { { ....; ... which are then packed into a Dictionary: playerStats.Add(currentTeam + "QB", QB); playerStats...
by Coldwynn
Tue Feb 14, 2023 8:39 pm
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Re: Performance Penalties: ES3 vs referencing methods

I neglected to mention that the properties/attributes of each player character are user defined or adjustable throughout the course of gaming, so static variables will not work. Also, with the 30+ characters having the same kind of attribute (strength , say), I have to find a way to both address eac...
by Coldwynn
Mon Feb 13, 2023 8:47 pm
Forum: General Discussion
Topic: Performance Penalties: ES3 vs referencing methods
Replies: 12
Views: 5830

Performance Penalties: ES3 vs referencing methods

I'm developing a team sport game with as many as 35 characters per team with 22 players (11 per side) on the field at the same time. Each character has 8 primary attributes and a growing number of derived secondary attributes. It's a lot of data to keep track - especially as the game moves from scen...
by Coldwynn
Fri Dec 16, 2022 9:53 pm
Forum: General Discussion
Topic: FormatException: Expected '{' or "null", found '5'
Replies: 4
Views: 884

Re: FormatException: Expected '{' or "null", found '5'

To others who may be viewing this topic, the problem arose when I used "LoadInto" rather than "Load". From Joel: ES3.LoadInto is for loading data into reference types, or Collections/Dictionaries of reference types. However, your Dictionary only contains value types. I was errone...
by Coldwynn
Thu Dec 15, 2022 5:19 pm
Forum: General Discussion
Topic: Easy Save 3 Manager not in Menu
Replies: 2
Views: 671

Re: Easy Save 3 Manager not in Menu

The "Tools" tab didn't even show for this one. But that's okay, I just started a new project and this time everything went to their places.