Register for your free account! | Forgot your password?

You last visited: Today at 17:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Console Commands for HellMouth source

Discussion on Console Commands for HellMouth source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Console Commands for HellMouth source

Hello
I bring these commands ... I am very happy that the commands are echos for me! in 3 days I've seen how this source and I fix it like I have a lot = D

1.-In order to apply them to your server must have this source ofcourse.
2.-Open prollecto HellmouthCo in Microsoft Visual Studio C # 2010 Expres
3.-Search Program.cs in visual studio and open it
4.-Give control + f and search: case "/ exit"
5.-Paste the following code just above this command:

Code:
      case "/reloadnpc":
                    Database.LoadNpcs();
                    break;
                case "/reloadspawns":
                    Database.GetSpawns();
                    break;
                case "/reloadarenaranks":
                    Database.LoadTop10();
                    break;
Would look like with the other commands:
Code:
        public static void HandleCmd(string[] Cmd)
        {
            switch (Cmd[0])
            {
                case "/reloadnpc":
                    Database.LoadNpcs();
                    break;
                case "/reloadspawns":
                    Database.GetSpawns();
                    break;
                case "/reloadarenaranks":
                    Database.LoadTop10();
                    break;
                case "/exit":
                case "/close":
                case "/stop":
                    foreach (Client C in Dictionary.Clients.Values)
                        Database.LogoutSave(C);
                    Environment.Exit(0);
                    break;
                case "/debug":
                    Program.ThreadDebug = !Program.ThreadDebug;
                    Console.WriteLine("Thread debug: " + Program.ThreadDebug);
                    break;
            }
        }
these 3 commands work this way:

/reloadnpc # work to relogging all npc and not have to restart the entire database to put a npc =).
/reloadspawns # work for monsterspawns relohear all, for if they get more spawns and not have to restart the complete data =D.
/reloadarenaranks # used to be actualisen the ranks in the sand table and not have to reset the data =O.

I think are basic but it's one of my early work in c #

Credits to me! =D

sorry for my bad English
thesamuraivega is offline  
Thanks
2 Users
Old 03/15/2011, 13:33   #2
 
elite*gold: 0
Join Date: Aug 2010
Posts: 93
Received Thanks: 18
Useful if some people are actually able to fix
their mobspawns [ not that I got them fixed but what so ever ].
Nice release i'd say!
sitdownson is offline  
Old 03/15/2011, 22:49   #3
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Quote:
Originally Posted by sitdownson View Post
Useful if some people are actually able to fix
their mobspawns [ not that I got them fixed but what so ever ].
Nice release i'd say!
Yup! Ty bro
thesamuraivega is offline  
Old 03/15/2011, 23:54   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
No offense but these aren't even correct... For it to work you'd have to first clear all mob objects in the server and THEN reload database.

Same with the top 10 stuff. You'd have to clear the halo from whoever has it currently and then reload the top 10.

These commands to be honest don't really... 'do' anything.
pro4never is offline  
Old 03/16/2011, 00:53   #5
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Quote:
Originally Posted by pro4never View Post
No offense but these aren't even correct... For it to work you'd have to first clear all mob objects in the server and THEN reload database.

Same with the top 10 stuff. You'd have to clear the halo from whoever has it currently and then reload the top 10.

These commands to be honest don't really... 'do' anything.
is true... =S maybe tomorrow work in the commands
thesamuraivega is offline  
Reply


Similar Threads Similar Threads
[RELEASE] Console Commands for Lame Console Look
12/07/2011 - CO2 PServer Guides & Releases - 12 Replies
Well, to avoid any further useless posts on this subject... here are a ton of console based commands that will control the game from the server console. I will not explain what each does, it should be pretty easy to figure out, and I don't intend to answer stupid questions. If its a good question, I will answer it. public static void DoStuff() { bool flag = true; Console.Clear(); Console.ForegroundColor = ConsoleColor.Red; ...
New Npc for HellMouth source
03/08/2011 - CO2 PServer Guides & Releases - 3 Replies
Closed #
Question - How to set up Hellmouth source
06/03/2010 - CO2 Private Server - 0 Replies
delete pls



All times are GMT +1. The time now is 17:51.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.