how to save

12/09/2009 23:47 Hitsugaya Toshiro#16
Quote:
Originally Posted by Tiku View Post

And I said it depends on where you put the command.
If you put the command in the right place it will work in game.
Ohh i know im not argueing with you i guess it just works for me that way :P
12/10/2009 15:57 nader_sah2000#17
where i add this code pleas tell me
12/10/2009 16:22 nader_sah2000#18
Oops i doi it its work
thanks all for help
12/10/2009 16:32 Korvacs#19
Quote:
Originally Posted by Tiku View Post
Code:
                            if (Cmd[0] == "/save")
                            {
                                Database.SaveKOs();
                                Console.WriteLine("KOs saved.");
                                Database.SaveEmpire();
                                Console.WriteLine("Empire saved.");
                                Features.Guilds.SaveGuilds();
                                Console.WriteLine("Guilds saved.");
                                Features.SkillsClass.Save();
                                Console.WriteLine("Skills saved.");
                                [COLOR="DarkRed"][B]Console.WriteLine("Database disposed.");[/B]If you do not feel like using the /exit command you can use this command I took from the /exit.

                            }
But you don't type it in the console.
You type it in game.[/COLOR]
Why does it say Database Disposed? lol
12/10/2009 22:17 Arcо#20
Quote:
Originally Posted by Korvacs View Post
Why does it say Database Disposed? lol

Lol hell if i know.
That part is in the /exit code.