Silenostic
Terrarian
I don't know if this problem has been solved or not [Can't be bothered to read through 368 pages :l] When I create a new world, any world, it gives me the error after loading "Load Failed No Backup Found"
If you have True Eternity, that seems to be causing this issueI don't know if this problem has been solved or not [Can't be bothered to read through 368 pages :l] When I create a new world, any world, it gives me the error after loading "Load Failed No Backup Found" View attachment 99159
I am having this same problem, but it only occurs on version 0.7.1 and 0.7.1.1I don't know if this problem has been solved or not [Can't be bothered to read through 368 pages :l] When I create a new world, any world, it gives me the error after loading "Load Failed No Backup Found" View attachment 99159
If you have True Eternity, that seems to be causing this issue
Can you list all mods that you have?I am having this same problem, but it only occurs on version 0.7.1 and 0.7.1.1
EDIT: I don't have true eternity, and it still happens.
This function to save and this to load back.Hey guys!
How can i store information?
like: i have a variable and i want it to stay the same every time i run the game.
i have did a sword that stores information of 3 variables: Lvl , exp and MaxExp.
but every time i run the game, this information resets to the default.
there 's some way i can store this numbers forever?
OMG! I SO DUMB! thanks budy.
No probs. If you need an example on how to use these functions just say the word and I'll get you something to work with.OMG! I SO DUMB! thanks budy.
Ok. Show me pls?No probs. If you need an example on how to use these functions just say the word and I'll get you something to work with.
Allright, so I'll take your earlier post as reference:Ok. Show me pls?
// This will be inside your ModItem
int level;
int experience;
int maxExperience;
public override void SaveCustomData(System.IO.BinaryWriter writer)
{
writer.Write(level);
writer.Write(experience);
writer.Write(maxExperience);
}
public override void LoadCustomData(System.IO.BinaryReader reader)
{
level= reader.ReadInt32();
experience= reader.ReadInt32();
maxExperience= reader.ReadInt32();
}
public override void PostDraw(SpriteBatch spriteBatch, Color drawColor)
{
if(winter) spriteBatch.Draw(mod.GetTexture("NPCs/Enthusiast/Enthusiast_Shirt"), npc.Center - Main.screenPosition, new Rectangle(0, npc.frame.Y, 40, 60), Color.White);
}