Register for your free account! | Forgot your password?

You last visited: Today at 16:08

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

Advertisement



[Release] login freeze

Discussion on [Release] login freeze within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 10/21/2008, 03:54   #31
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
mysql connections die after they are overused.. kinda like how women start leaving the kitchen, but don't go to the bedroom, and then you trade them for a younger one.
Rechocto is offline  
Old 10/21/2008, 04:15   #32
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
umm a question wat if i change the "Database" to "ExternalDatabase" will it give the same effect? or will it just be another useless code? O.O
BlooD-BoY is offline  
Old 10/21/2008, 04:19   #33
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
vietkid supposedly took my code and modded it for Extern\Intern databases and it works... but, I don't think he wants to release it. I think having 2 databases running like that si ugly and inefficient so I'm not messing with that.
Rechocto is offline  
Old 10/21/2008, 10:30   #34
 
elite*gold: 0
Join Date: Sep 2006
Posts: 16
Received Thanks: 0
The main source of the login freeze isn't from mysql connection drops...

It's from unsyncronized packet coding...

The overloads on mysql are due to the source creator adding things that don't need adding.

Maybe some of you should open you're eyes and add little debug outputs to some of the functions in LOTF source.. then you can see what's being used constantly, and what's not.

I know in the original LOTF source the idiot creator added a command that overloads mysql by saving certain things every 15seconds, and no im not talking about "Auto Save" in general.cs.

40 - 60+ People on you're server, something saving for each one every 15seconds, that's where the overload would come from if it's doing a whole character save.
coles is offline  
Old 10/21/2008, 10:39   #35
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
Do the COFuture source has the login freeze bug also?
pauldexter is offline  
Old 10/21/2008, 10:43   #36
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
I don't use the same mysql in my source as other LOTF sources anymore.. I wrote a DLL to handle mysql connections properly
Rechocto is offline  
Old 10/21/2008, 10:58   #37
 
elite*gold: 0
Join Date: Sep 2006
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by Rechocto View Post
I don't use the same mysql in my source as other LOTF sources anymore.. I wrote a DLL to handle mysql connections properly
Well you have some sence, unlike alot of people in this department of the forum, they expect everything fixed for them.


Personally, i have rewritten most of the LOTF source, It uses a completely different database system, i like to stay away from mysql with large query projects.

45+ online without a single error, 24/7 uptime.
Only uses 17mb ram and 2% cpu.
Waiting for more to join to test out the full capacity of the stability.
coles is offline  
Old 10/21/2008, 11:23   #38
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
ah, Coles you will soon realize that this section of e*pvp is basically script-kiddie incarnate. and you will stop coming here in hopes of gaining ideas or learning something new :P
Rechocto is offline  
Old 10/21/2008, 17:00   #39
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by coles View Post
Well you have some sence, unlike alot of people in this department of the forum, they expect everything fixed for them.


Personally, i have rewritten most of the LOTF source, It uses a completely different database system, i like to stay away from mysql with large query projects.

45+ online without a single error, 24/7 uptime.
Only uses 17mb ram and 2% cpu.
Waiting for more to join to test out the full capacity of the stability.
Oh noes, you spelt 'sense' wrong :O:O:O
tbh if your as good as your post makes yourself sound,i suggest coding your own server from scratch, lotf is all together too bad to recode, i honestly wouldn't know where to start
© Haydz is offline  
Old 10/21/2008, 17:52   #40
 
elite*gold: 0
Join Date: Sep 2006
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by © Haydz View Post
Oh noes, you spelt 'sense' wrong :O:O:O
tbh if your as good as your post makes yourself sound,i suggest coding your own server from scratch, lotf is all together too bad to recode, i honestly wouldn't know where to start
Correcting peoples literature on the internet is sort of stupid no?
Theres people on here from many countries, no point attacking/making fun of a single misspelt word.

I never claimed myself as "good", so yeah. I'm just providing the results of a few edits, thats all.

Infact, LOTF source is rather easy to re-structure, and it's not actually as buggy as some of you make it out to be.

Remove a few things, change a few things, and you have a fairly stable source.. You just need to know what you're changing.

If you're not into the whole "debug" scene, then i'd suggest staying away from LOTF source.
P.S. The LOTF source is built up of alot of different sources, alot of copy-pasted stuff, still don't know why it has the 'original' name "LOTF Source" ;P

Keep Truckin :thumbsup:
coles is offline  
Old 10/21/2008, 18:12   #41
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
Quote:
Originally Posted by coles View Post
Correcting peoples literature on the internet is sort of stupid no?
Welcome to the internet.
Rechocto is offline  
Old 10/21/2008, 18:53   #42
 
elite*gold: 0
Join Date: Sep 2006
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by Rechocto View Post
Welcome to the internet.

Lol, It's not the first time ive seen this happen , but correcting people on a multi-language forum is stupid. Theres no other word for it

On-Topic,

To those who are loosing connection to their database easily (within minutes of people logging in) do a clean sweep of the source searching for the phrase "Save", you'll find several instances of it, increasing timers will help alot with overload problems.
coles is offline  
Old 10/21/2008, 19:12   #43
 
MushyPeas's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
Quote:
Originally Posted by coles View Post
Lol, It's not the first time ive seen this happen , but correcting people on a multi-language forum is stupid. Theres no other word for it

On-Topic,

To those who are loosing connection to their database easily (within minutes of people logging in) do a clean sweep of the source searching for the phrase "Save", you'll find several instances of it, increasing timers will help alot with overload problems.
losing*
a lot*

I myself never maake any such errawrs
MushyPeas is offline  
Old 10/21/2008, 22:34   #44
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by MushyPeas View Post
losing*
a lot*

I myself never maake any such errawrs
Me niethar.
tao4229 is offline  
Old 10/21/2008, 22:43   #45
 
Tw3ak's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
Quote:
Originally Posted by coles View Post
The main source of the login freeze isn't from mysql connection drops...

It's from unsyncronized packet coding...

The overloads on mysql are due to the source creator adding things that don't need adding.

Maybe some of you should open you're eyes and add little debug outputs to some of the functions in LOTF source.. then you can see what's being used constantly, and what's not.

I know in the original LOTF source the idiot creator added a command that overloads mysql by saving certain things every 15seconds, and no im not talking about "Auto Save" in general.cs.

40 - 60+ People on you're server, something saving for each one every 15seconds, that's where the overload would come from if it's doing a whole character save.
I been tellin people that forever they all keep blaming the freeze on mysql when it has nothing to do with it lol It is in the **** poor socket handling.

Make a few changes for how connections are handled especially multiple logins for people connecting on top of themselves when they dc and viola problem solved.

Also don't mind hadz he's a noob always acting like a pro but has yet to finish a single stable server of his own yet in any language to back up anything he says. hadz = ftl : /

He thinks he will make one in c++ when he can't even make a workable one in c# yet lol. * rolls eyes*
Tw3ak is offline  
Reply


Similar Threads Similar Threads
[REQUEST] Login server for CoemuV2 errors and login freeze.
07/21/2009 - CO2 Private Server - 6 Replies
http://i564.photobucket.com/albums/ss81/onlyme64/e rror2.jpg I get this error when i try to debug the login server. But strangley when i open the login server from bin/release it opens without any errors. When i open it from bin/debug it crashes. When i open the the good login server and game server and try to log in and i get a login freeze. Here is a screeny: http://i564.photobucket.com/albums/ss81/onlyme64/ error3.jpg What do i do? :(
Login Freeze?
06/15/2009 - CO2 Private Server - 2 Replies
Im running 5065. Every like 5 hours or so it just crashes and a window pops up saying it crashed. Then i have to restart the whole account server over. I know there is a EACC account server but i have no clue where to get or how to fix myn. I just need a fix for mine because this problem can get very anoying. If anyone can show me how to fix it or reduce the crashing problem that would help alot. Also if i buy a dedicated server will that reduce the chance of crash. I just want a stable account...
[HELP] Login freeze.
12/17/2008 - CO2 Private Server - 13 Replies
my friend tryed every post goto do with login freeze fix on here none of em worked i tryed my own login freeze code it works but its rele unstable becouse sometimes it will freeze somethimes it will just turn off and sometimes it will destroy the server so im asking my fellow C# coders for help if they got any codes AND NO im no noob!
Login Freeze?
08/20/2008 - Conquer Online 2 - 0 Replies
Hey, im now getting login freeze... i never used to? Using LOTF edited.. ( stealarchers) any help? on how to fix.
How can i fix Login Freeze???
08/05/2008 - Conquer Online 2 - 0 Replies
Anyone can help me ..i need to find how to fix Login freezings on ShadowCo source... i made it auto restart but nee to find how to fix the login freeze bug:confused:



All times are GMT +2. The time now is 16:08.


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.