Register for your free account! | Forgot your password?

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

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

Advertisement



[Development] Complete COServer

Discussion on [Development] Complete COServer within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 03/13/2011, 14:11   #16
 
SimplyPerfection's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 72
Received Thanks: 21
As I said earlier Lateralus, this isn't just a dev thread but an thread where we'll discuss and share ideas, I already got some very good ones out of this thread. And, leave rest up to the moderators, I believe they can handle it.

Thanks
SimplyPerfection is offline  
Old 03/13/2011, 14:47   #17
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally Posted by SimplyPerfection View Post
As I said earlier Lateralus, this isn't just a dev thread but an thread where we'll discuss and share ideas, I already got some very good ones out of this thread. And, leave rest up to the moderators, I believe they can handle it.

Thanks
This seems more like an advertisement for your own server to reach a larger audience, as you should have suggestions on your own forum so that your community can contribute rather than a community to whom giving suggestions doesn't benefit the majority unless they are willing to join your server (which then would cause them to join your forum to make suggestions). You should have at least made this a broader thread, like "Good ideas for a private server?", not a server-specific development thread.

Although I do see you claim to have TQ's official algorithm for VPs... May I direct you to this thread? None of those algorithms are right, and the official one seems to be fairly complicated as far as how it is split up after level 40 from the values I've gotten up to level 63.
Lateralus is offline  
Old 03/13/2011, 15:03   #18
 
SimplyPerfection's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 72
Received Thanks: 21
I'll PM you this evening, on my phone at the moment.
SimplyPerfection is offline  
Old 03/13/2011, 21:34   #19
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
Any proof you're using a custom source?
How do we know you're not just posting all these updates, but using a ready-made source?
Arco. is offline  
Old 03/13/2011, 22:00   #20
 
CØĐ£Ř||Mã©hÍñє's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 248
Received Thanks: 36
no itsnt a joke i saw it already
CØĐ£Ř||Mã©hÍñє is offline  
Old 03/13/2011, 23:19   #21
 
SimplyPerfection's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 72
Received Thanks: 21
Quote:
Originally Posted by Yup Arco View Post
Any proof you're using a custom source?
How do we know you're not just posting all these updates, but using a ready-made source?
It's a custom source. I showed parts of it to someone that was interested in the project.
SimplyPerfection is offline  
Old 03/14/2011, 11:12   #22


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Development threads are allowed, this section is for all private server discussion, as such both public, and private developments are allowed to be posted here.

Cleaned somewhat.
Korvacs is offline  
Thanks
2 Users
Old 03/14/2011, 23:00   #23
 
SimplyPerfection's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 72
Received Thanks: 21
Anyone got the Quiz layout for the latest patch? I only seem to find old ones on the forum, and not being able to log from TQ CO.

I'm able to spawn the Quiz window, but not to print out the questions, so the packet for the question window would be real helpful if anyone got it.

Thanks
SimplyPerfection is offline  
Old 03/15/2011, 01:41   #24
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
Arco. is offline  
Old 03/16/2011, 07:12   #25
 
SimplyPerfection's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 72
Received Thanks: 21
Quote:
Originally Posted by Yup Arco View Post
Why do you define the question and answer as smallbyte? It's obviously strings
SimplyPerfection is offline  
Old 03/16/2011, 07:16   #26
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by SimplyPerfection View Post
Why do you define the question and answer as smallbyte? It's obviously strings
It's one of the ways you can use pointers to write strings to the packets.

I forget what source this is from but yah, as someone mentioned it's wrong.


Example of sbyte from hybrids new source.

Code:
public unsafe struct AuthResponsePacket
    {
        public ushort Size;
        public ushort Type;
        public uint Key2;
        public uint Key1;
        private fixed sbyte szIPAddress[16];
        public uint Port;

        public unsafe string IPAddress
        {
            get { fixed (sbyte* bp = szIPAddress) { return new string(bp); } }
            set
            {
                string ip = value;
                fixed (sbyte* bp = szIPAddress)
                {
                    for (int i = 0; i < ip.Length; i++)
                        bp[i] = (sbyte)ip[i];
                }
            }
        }

        public static AuthResponsePacket Create()
        {
            AuthResponsePacket retn = new AuthResponsePacket();
            retn.Size = 0x20;
            retn.Type = 0x41F;
            return retn;
        }
    }
It IS a string it's just a way of storing a string in such a way that it can be read/written simply using pointers.


It's basically saying in that packet that you are allocating 16 bytes for the string packet in the structure. That way it essentially holds the same structure in memory as it does in a packet and can be easily converted without using messy writers like many public sources use.

Ps: I'm sure you know it but 16 bytes is the length for any non specified string length that tq uses.
pro4never is offline  
Old 03/16/2011, 16:53   #27
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by SimplyPerfection View Post
Why do you define the question and answer as smallbyte? It's obviously strings
Since when does the 's' before a type mean small? The last time I checked it was called signed which gives the type different min/max values(int(signed) min: -2147483648, max: 2147483647 and uint(un signed) min: 0, max: 4294967295...

Did I fall behind the news or something?
-impulse- is offline  
Old 03/16/2011, 18:40   #28
 
SimplyPerfection's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 72
Received Thanks: 21
Sorry sorry sorry. Guess I didn't spend much time looking at the code itself since ImmuneOne already pointed out it's wrong, so didn't spend too much attention on it. Thought he was using the signed bytes to print out the numbers of each question (which I'm not completely sure if Quiz does either).

Anyhow, can anyone confirm that's the correct layout?
SimplyPerfection is offline  
Old 03/16/2011, 20:30   #29
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
Quote:
Originally Posted by SimplyPerfection View Post
Sorry sorry sorry. Guess I didn't spend much time looking at the code itself since ImmuneOne already pointed out it's wrong, so didn't spend too much attention on it. Thought he was using the signed bytes to print out the numbers of each question (which I'm not completely sure if Quiz does either).

Anyhow, can anyone confirm that's the correct layout?
Well two things -- you openly proved that you have little experience in coding. Even if you "didn't hardly look at it," you still saw sbyte and thought it meant "small byte".
Not sitting here trying to flame you, but seriously bro. You can't make any excuse to cover for the fact that you did indeed say that.

Secondly, since lost replied and said it isn't the right layout....I'm guessing it isn't the right layout.
andyd123 is offline  
Thanks
2 Users
Old 03/17/2011, 00:45   #30
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Quote:
Originally Posted by -impulse- View Post
Since when does the 's' before a type mean small? The last time I checked it was called signed which gives the type different min/max values(int(signed) min: -2147483648, max: 2147483647 and uint(un signed) min: 0, max: 4294967295...

Did I fall behind the news or something?
So byte = unsigned and sbyte = signed?
That's how I understand it:
{ sbyte, short, int, long }
{ byte ushort, uint, ulong }
Syst3m_W1z4rd is offline  
Reply


Similar Threads Similar Threads
i dont know CoServer
01/14/2010 - CO2 Private Server - 2 Replies
hi i don´t to know what do now:(:( http://s2.subirimagenes.com/otros/previo/thump_38 84741dibujo.jpg I do not know what to do. Do not want to start CoServer. What should I do. Please help me.:(:(
Error while opening CoServer.exe
08/01/2009 - CO2 Private Server - 5 Replies
hey well i,m making 5017 server and i did everything what i needed to do to launch my server but when i open CoServer.exe it gives an error that it failed to open and i tryd different sources but everytime same error. so my question was if you can help me with the error?
Legends of Ecta(COServer) Players needed!!
03/07/2009 - Say Hello - 0 Replies
Hello, im new to this owning forum:cool: and i tought this was the time to introduce myself!! Please visit my webpage!:)
Error COServer Project
08/03/2008 - Conquer Online 2 - 3 Replies
First I get this error http://img46.imageshack.us/img46/7348/errorshadow rq9.jpg then when I get press not to send this: http://img111.imageshack.us/img111/2922/despuesse 5.jpg The problem is what?



All times are GMT +1. The time now is 16:54.


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.