Search found 26 matches

by PabloAM
Thu Aug 24, 2017 12:26 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Easy Save loading wrong info
Replies: 5
Views: 11571

Easy Save loading wrong info

Hello, I don´t know why but EasySave2 is reading wrong data. I´m saving as (MADNESS): writer.Write(data.currentMode); and I´m loading (HORDE, is other mode): data.currentMode = reader.Read<Globals.GameModeEnum>(); Im following with breakpoints, and the last saved is MADNESS (As it should) :S Modes: ...
by PabloAM
Thu Aug 24, 2017 12:24 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Save iDictionary
Replies: 6
Views: 11404

Re: Save iDictionary

In your docs says it´s not compatible:

http://docs.moodkie.com/easy-save-2/api ... ictionary/

Thanks!
by PabloAM
Thu Aug 24, 2017 8:58 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Save iDictionary
Replies: 6
Views: 11404

Re: Save iDictionary

Hello, I´m going to release it to iOS and Android.
That works on both systems??

Thanks!
by PabloAM
Tue Aug 08, 2017 11:50 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Updating custom class save after game release
Replies: 8
Views: 14089

Re: Updating custom class save after game release

Thanks for reply!

Could you write a code example please??

Btw, should not the plugin add it by default and update the number and add the if condition automatically when we Update it in the editor??
That feature is added in the Easy Save 3???


best regards
by PabloAM
Tue Aug 08, 2017 10:33 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Updating custom class save after game release
Replies: 8
Views: 14089

Re: Updating custom class save after game release

UPDATED: My code doesn´t work either :_( So, how can I save a new variable after release avoiding the problem of: ????? NullReferenceException: Object reference not set to an instance of an object ES2Writer.Write[String] (System.Collections.Generic.List`1 param, .ES2Type type) ES2Writer.Write[String...
by PabloAM
Fri Feb 24, 2017 5:41 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Add information saved to a loaded from XML
Replies: 3
Views: 5237

Re: Add information saved to a loaded from XML

Hello again. Looks like doesn´t work either :/ The think is I would like to add a new "Geometry pack" in XML and add it to gameinfo class. So I do this: 4packs.png and the gameinfo is filled with the new geopacks. But when I try to add my saved information, it replaces everything. 3packs.p...
by PabloAM
Fri Feb 24, 2017 5:31 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Save and Load a variable enum type
Replies: 3
Views: 6382

Re: Save and Load a variable enum type

Thanks you very much by your faster reply :) I have tried this but doesn´t works: data.name = (Globals.GameModeEnum)reader.Read<System.Enum>(); InvalidCastException: Cannot cast from source type to destination type. ES2Reader.Read[Enum] (.ES2Type es2type) ES2Reader.Read[Enum] () ES2UserType_GameMode...
by PabloAM
Thu Feb 23, 2017 7:22 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Add information saved to a loaded from XML
Replies: 3
Views: 5237

Add information saved to a loaded from XML

Hello, I would like to load new information from XML and append it with data from the saved information. I do this: gameInfo = GameInfo.LoadFromText(gameinfoData.text); gameInfo = ES2.Load<GameInfo>("GameInfo"); But when I do gameIndo = ES2.Load<GameInfo>("GameInfo"); this overwr...
by PabloAM
Thu Feb 23, 2017 5:45 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Save and Load a variable enum type
Replies: 3
Views: 6382

Save and Load a variable enum type

Hello, I´m having a trouble trying to read a enum saved. User Type: public class ES2UserType_GameModeButtonInfo : ES2Type { public override void Write(object obj, ES2Writer writer) { GameModeButtonInfo data = (GameModeButtonInfo)obj; // Add your writer.Write calls here. writer.Write(data.icon); writ...