Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 01:18

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

Advertisement



Anyone got General.cs file ?

Discussion on Anyone got General.cs file ? within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Anyone got General.cs file ?

Anyone have General.cs file including server restart ? I really need it so bad
stephanyd is offline  
Old 08/03/2008, 17:55   #2
 
elite*gold: 0
Join Date: Nov 2006
Posts: 65
Received Thanks: 284
Oh yah and you could already have told us where does 'General.cs' include.. there may be millions 'General.cs'-files which are all different but i suppose you mean 'General.cs' included in LOTF source?
mr.anzi is offline  
Old 08/03/2008, 17:59   #3
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Right LOTF
~Yuki~ is offline  
Old 08/03/2008, 18:07   #4
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by mr.anzi View Post
Oh yah and you could already have told us where does 'General.cs' include.. there may be millions 'General.cs'-files which are all different but i suppose you mean 'General.cs' included in LOTF source?
i don't use LOTF source... i use ShadowCo one... that source working good but still have login freezing bug... it fix only when i restart server... that's why i need General.cs file
stephanyd is offline  
Old 08/03/2008, 18:11   #5
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by stephanyd View Post
Anyone have General.cs file including server restart ? I really need it so bad
Server restarts are the simplest thing ever how about instead of asking, learn.
adz06676 is offline  
Old 08/03/2008, 18:21   #6
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by adz06676 View Post
Server restarts are the simplest thing ever how about instead of asking, learn.
I have General.cs file... i get messages on screen but it isn't restarting.
Attached Files
File Type: rar General.rar (3.3 KB, 12 views)
stephanyd is offline  
Old 08/03/2008, 20:36   #7
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
I dont get it,why does people actully start an server,when they probally dont know what C Sharp is.. All I think it is,is pathetic. anyways,if i remember right when i had a look in LOFT source,this code would probally work.

public static void ServerRestart()
{
World.SaveAllChars();
General.ServerRestart();
}

Let me know if it dont work.
_Emme_ is offline  
Old 08/03/2008, 23:03   #8
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Code:
                public static System.Timers.Timer RestartTimer;
Code:
                RestartTimer = new System.Timers.Timer();
                RestartTimer.Interval = 1800000;//30 minutes
                RestartTimer.Elapsed += new ElapsedEventHandler(RestartTimer_Elapsed);
                RestartTimer.Start();
Code:
        public static void RestartTimer_Elapsed(object sender, ElapsedEventArgs e)
        {
            World.SaveAllChars();
            General.ServerRestart();
        }
There.
kinshi88 is offline  
Old 08/04/2008, 01:14   #9
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Oh , my bad. I though he already added an timer,soz
_Emme_ is offline  
Old 08/04/2008, 01:38   #10
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by kinshi88 View Post
Code:
                public static System.Timers.Timer RestartTimer;
Code:
                RestartTimer = new System.Timers.Timer();
                RestartTimer.Interval = 1800000;//30 minutes
                RestartTimer.Elapsed += new ElapsedEventHandler(RestartTimer_Elapsed);
                RestartTimer.Start();
Code:
        public static void RestartTimer_Elapsed(object sender, ElapsedEventArgs e)
        {
            World.SaveAllChars();
            General.ServerRestart();
        }
There.
I've did that...only get message on window and server still don't restart
stephanyd is offline  
Reply


Similar Threads Similar Threads
anyone post here the file of editing file.. the .edf file
07/13/2013 - RF Online - 3 Replies
please post here... so that i can download again.. i guess the old one thread was gone.. i've been search for an hour in this section.. but i can't see it... thanks..
Good News To all Brigadier General-General of the Army
11/23/2009 - Soldier Front - 2 Replies
if you want to view your EXP if ur Brigadier General to General of the Army click this !! ?SF?Special Force to view ur EXP!!!!
WTT > a war general beta account (eu) for a AOC general beta
04/22/2008 - Trading - 2 Replies
Hello, i have a warhammer online general beta account european , want to trade for a age of conan general beta, Pm or post here.thx.



All times are GMT +1. The time now is 01:19.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.