Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 15:24

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

Advertisement



Anyone can optimize this code ?

Discussion on Anyone can optimize this code ? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 11/30/2013, 00:57   #16
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
Code:
 public void BeginAccept(AsyncCallback async, object state)
        {
            if (!this.Disabled)
            {
                try
                {
                    if (!this.disconnected)
                    {
                        this.Connection.BeginAccept(async, state);
                    }
                }
                catch
                {
                    this.Disabled = true;
                }
            }
        }
Quote:
Originally Posted by GRASSHOPPA View Post
he already told you exactly where you are having the issue 0,0?
if you aren't even willing to attempt it why would people give you help...?
don't try to run your own server if you don't want to put in the work
kindly reply to my beginaccept code.

made it like this

Code:
   public void BeginAccept(AsyncCallback async, object state)
        {
                try
                {
                    if (!this.disconnected)
                    {
                        this.Connection.BeginAccept(async, state);
                    }
                }
                catch { }
                this.Connection.BeginAccept(async, state);
                
            }
marcbacor6666 is offline  
Old 11/30/2013, 06:26   #17
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by marcbacor6666 View Post
Code:
 public void BeginAccept(AsyncCallback async, object state)
        {
            if (!this.Disabled)
            {
                try
                {
                    if (!this.disconnected)
                    {
                        this.Connection.BeginAccept(async, state);
                    }
                }
                catch
                {
                    this.Disabled = true;
                }
            }
        }


kindly reply to my beginaccept code.

made it like this

Code:
   public void BeginAccept(AsyncCallback async, object state)
        {
                try
                {
                    if (!this.disconnected)
                    {
                        this.Connection.BeginAccept(async, state);
                    }
                }
                catch { }
                this.Connection.BeginAccept(async, state);
                
            }
Now you're running the same code twice.
pro4never is offline  
Old 11/30/2013, 06:31   #18
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
can u help me
Quote:
pro4never
on what to do to that code

iv manage to see i think 1 of the reason why after a few hours runing the server the loginconnection freeze.

1. randomly after iv exited my character in game, the client exited but my character is still online in the game. now when i tried to relogin , i cant login, and no players can login also.
marcbacor6666 is offline  
Reply


Similar Threads Similar Threads
{27.05}NoMenu Hack[Optimize For Zombie]More Functions!
06/02/2011 - WarRock Hacks, Bots, Cheats & Exploits - 3 Replies
So Hier ist mein NoMenu Zobie Hack;) Hacks:|Hotkey:| SuperJump|| Teleporter|| TelToAmmo|| TelToMedic|| Low Gravity|| GlassWalls|| Zombie-Freez||
[Release]Optimize Your GrandChase
01/20/2011 - Grand Chase Hacks, Bots, Cheats & Exploits - 17 Replies
This Program is originally from game booster. But this is Lite version made by me. This will make you to run Grand Chase and other programs faster. Instructions: 1. Download the ff file. 2. Extract using winrar.
corn to optimize and repair
11/10/2008 - CO2 Private Server - 1 Replies
hello how make corn to corn to optimize and repair tables every day for more good server without sql problems ???



All times are GMT +2. The time now is 15:24.


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