Register for your free account! | Forgot your password?

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

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

Advertisement



Need help setting up a 5165 server

Discussion on Need help setting up a 5165 server within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Zkiller110's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 276
Received Thanks: 99
Need help setting up a 5165 server

i am getting this error, on the conquer sx source

Code:
PInvokeStackImbalance was detected
Message: A call to PInvoke function 'NewestCOServer!NewestCOServer.Native::memcpy' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
in this code and it highlights the part i have in red

Code:
        unsafe void WaitData(IAsyncResult Res)
        {
            try
            {
                StateObj S = (StateObj)Res.AsyncState;
                SocketError SE;
                try
                {
                    if (S.Sock.Connected)
                    {
                        uint DataLen = (uint)S.Sock.EndReceive(Res, out SE);

                        if (SE == SocketError.Success && DataLen != 0)
                        {
                            byte[] RData = new byte[DataLen];
                            fixed (byte* p = RData, p2 = S.Data)
                                [COLOR="Red"]Native.memcpy(p, p2, DataLen);[/COLOR]
                            if (DataHandler != null)
                                DataHandler.Invoke(S, RData);

                            S.Sock.BeginReceive(S.Data, 0, 1024, SocketFlags.None, new AsyncCallback(WaitData), S);
                        }
                        else if (DCHandler != null)
                            DCHandler.Invoke(S);
                    }
                    else if (DCHandler != null)
                        DCHandler.Invoke(S);
                }
                catch
                {
                    if (DCHandler != null)
                        DCHandler.Invoke(S);
                }
            }
            catch (Exception Exc) { Program.WriteLine(Exc); }
        }
can someone help
Zkiller110 is offline  
Old 07/17/2010, 21:22   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 494
Received Thanks: 120
some ppl before u had same problem and i think it might have something with low free cpu or memory to hold the server in debbug mode
Adziunia is offline  
Old 07/18/2010, 04:47   #3
 
Zkiller110's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 276
Received Thanks: 99
but my CPU and Physical Memory are below 40% all the time i have 2.34 GHz CPU and 8GB ram im pretty sure its not that
Zkiller110 is offline  
Old 07/22/2010, 06:01   #4
 
Zkiller110's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 276
Received Thanks: 99
do you guys seriously not know how to fix this error i mean come on im sure a lot of people have this problem too but none of you experts want to help with it, is it cause no one knows how to fix?
Zkiller110 is offline  
Old 07/22/2010, 13:40   #5
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
reboot pc, dont work?
Fish* is offline  
Old 07/23/2010, 00:37   #6
 
Zkiller110's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 276
Received Thanks: 99
ive tried everything on the forums here and more nothing works so far honestly im shocked no one has an answer to this problem if i was a better coder i would figure it out myself
Zkiller110 is offline  
Old 07/25/2010, 02:00   #7
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by Zkiller110 View Post
ive tried everything on the forums here and more nothing works so far honestly im shocked no one has an answer to this problem if i was a better coder i would figure it out myself
If I were u I'd not even use dat source, it's full of bugs and errors(seeing it even tho its mysql, I have taken a close look at da source and its codes)...I guess dey released it here AND on 4b, still dere are so many threads about conquersx source havin DIS same prob. anyways, good-luck (;
killersub is offline  
Old 07/25/2010, 08:28   #8
 
elite*gold: 0
Join Date: Jun 2008
Posts: 9
Received Thanks: 1
I can help

hey zkiller110 add my email i can help you
elite50 is offline  
Thanks
1 User
Old 07/26/2010, 00:09   #9
 
Zkiller110's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 276
Received Thanks: 99
thanks to elite50 i now know how to fix this problem

you have to run the mysql with appserv and you cannot start the server through c#
Zkiller110 is offline  
Old 07/26/2010, 00:41   #10
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
lol then the source is a fail, if u cant run debug.
Fish* is offline  
Thanks
1 User
Old 07/26/2010, 01:31   #11
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by grillmad View Post
lol then the source is a fail, if u cant run debug.
don't u think dat deserves a......

killersub is offline  
Thanks
1 User
Old 07/26/2010, 01:38   #12
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by killersub View Post
don't u think dat deserves a......

Triple XD
hahaha
Fish* is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Setting Up BOT ( For any server )
02/25/2010 - RO Bots & Macros - 1 Replies
In this tutorial we only learn how to make our BOT can login to your RO Private Server First you should download : • Openkore • GRF Tool First extract All the Openkore Folder Usually it's should be like this
Need help setting up server.
08/20/2009 - Dekaron Private Server - 20 Replies
Ioo, I need help setting up my server: Ok so I used this tutorial: http://www.elitepvpers.com/forum/2moons-pserver-hos ting/193549-making-private-server-video-english-hd .html. Everything that has to do with the server itself is good, It's up and running. Now I have a problem with the client: "Can't connect to server". I used the Deka Difference client, and I edited the loginlist and channellist. I don't have the odbc thing running, simply becouse I failed at it, lol.
Help for Setting up Server with FTP
04/06/2009 - EO PServer Hosting - 3 Replies
My friend's let me use his ftp server to host websites and such, and I was wondering how, if it's possible, to set it up to host a euds priv server. Any help would be appreciated. Thank you for your time.
Need help with setting up a server
11/29/2008 - CO2 Private Server - 1 Replies
I had a server set up a few months ago... computer died. Im using ShadowCO source I cant remember all the programs but i think its just hamachi, Mysql, The admin thang... cant remember the name. but if someone could give me a link to a good guide or help me it would be much appreciated. Thanks for those that help.
i need help setting up co server...
03/05/2008 - Private Server Advertising - 1 Replies
... in russia i wanna bring co2 in russia. i have my own hosting. i need som1 to step-by-step explain me how to setup everything. better if u show me where i translate dialogs(english-russian npc talks) pay-paypal/egold/webmoney contacts in sig



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


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.