Guide/Release: Conquer Server (CoFuture) Using MySql!

12/25/2007 14:30 MarHazK#241
Korvacs,

I added some new command called /hair, and i tried to fixed it with CoEmu version's command/packets and its works, likes /hair <hair id>. I guess u're still remember it "the CoEMU codes". Well, can you list all the hair ids? Plus, the hair codes is easy to code, well its in your "Character packet" structures, and im sure you know :)

Edit: haha nvm, already found it.. which u added in coemu forum last time =)

Code:
10 - 15, 21 - 25, 30 - 41

thats all of the styles,

colours are 3 - 9
Edit: But finally, i fixed the command to /hair <color> <style id> lol.. Now trying to help you by giving some clues of guild implemention.

Code:
public static byte[] setGuild(Character _char)
        {

            byte[] packGuild = new byte[0x0f];
            packGuild[0x00] = 0x0f; //packet lenght... easy... idk...s 20 00 F4 03
            packGuild[0x01] = 0x00;
            packGuild[0x02] = 0xf7;
            packGuild[0x03] = 0x03;
            packGuild[0x04] = (byte)(_char.CharID & 0xff);
            packGuild[0x05] = (byte)((_char.CharID >> 8) & 0xff);
            packGuild[0x06] = (byte)((_char.CharID >> 16) & 0xff);
            packGuild[0x07] = (byte)((_char.CharID >> 24) & 0xff);
            packGuild[0x08] = 0x03; //03 01 0c
            packGuild[0x09] = 0x01;
            packGuild[0x0a] = 0x04;
            /*for (int x = 0; x < _tempGuild.Length; x++)
            {
                packGuild[11 + x] = Convert.ToByte(_tempGuild[x]);
            }*/
            string testGuild = "ABCD";
            packGuild[0x0b] = Convert.ToByte(testGuild[0]);
            packGuild[0x0c] = Convert.ToByte(testGuild[1]);
            packGuild[0x0d] = Convert.ToByte(testGuild[2]);
            packGuild[0x0e] = Convert.ToByte(testGuild[3]);
            return packGuild;

        }
This is the one I implemented by reading some co logs, but doesnt worked, but the packets was succesfully sent without any errors (such as different size or etc.).. maybe there's some clues? Did I set the wrong packet or something else? any idea? Below was the logs from Qonquer packets, which Cafe|Qonquer appear infront of my screen, so recorded this logs...

Code:
Server to Client - Length:25  PacketID:0x3f7
 19 00 f7 03 5e 02 00 00 03 01 0c 43 61 66 65 7c  ; ....^......Cafe|
 51 6f 6e 71 75 65 72 00 00                       ; Qonquer..
12/25/2007 20:53 Korvacs#242
that packet youve posted is basically this:

Code:
Client.SendData(CPacket.String(Name, Convert.ToUInt32(Client.Char.GuildID), StringType.GuildName, 1));
where Name is the name of the guild...

send that to a client and it should just show up right away.....lol

hopefully
12/26/2007 15:03 ak007#243
I have a problem...
If I want to connect to my server it says server.dat is damaged
What I must do?
12/26/2007 19:55 Korvacs#244
Quote:
Originally Posted by ak007 View Post
I have a problem...
If I want to connect to my server it says server.dat is damaged
What I must do?
you must either find a cracked .exe for conquer so that you can connected to your local/lan ip address

or connect via your wan ip address
12/26/2007 21:16 Demonion#245
Ok U Can Call Me A Lazy Basterd But Ive Tryed Everything In This Guide Ive Gone Through All The Problems Youve All Had I Think I Almost Got It To Work...

I cant do this part on my own i start the server x86->Debug->CoFuture.exe then i log in i had a previous error where it didnt log in it jsut said maintnance... later found out it was the client now i got it to work with coem new vision client but now it just says Logging into Server... and it stays stuck at that... ive made 3 backup files 2 of them have failed me.. and are completelly screwed up because of me

im too lazy for screen shots ill add them later maybe someone can give me an answer or has the same problem...

U can message me at WilliamTober@yahoo,msn,live,hotmai,cocomplexiapser vers,or just about anything.com lmao why i have so many u never know when u need em.. These are my private emails..
12/27/2007 12:26 MarHazK#246
well better show the errors here, lets the public see it so that they have any ideas how to solve it ...
12/27/2007 16:30 ~Pluto~#247
as i have been working on my own server for alogn time now... i decided to download this and look around... ive gotta say korvacs you have the greatest understanding of packets ever :eek:...... its so organised and tidy compared to the old coemu source...

but i must say its ALOT easier to download mysql administrator (gui tools) than using phpmyadmin... for those who want to try it... heres the link:

[Only registered and activated users can see links. Click Here To Register...]
12/27/2007 18:36 fabjan#248
yeez im stuck
i got this error all the time and i cant get it to work
can someone please help me out:confused:
image:
[Only registered and activated users can see links. Click Here To Register...]
the person that helps me out can have a gm spot at the server when its done
12/27/2007 20:04 ak007#249
Hi... where can I find a cracked .exe?
can anyone post a link or something because I cant find anything :/
12/27/2007 21:08 ~Pluto~#250
Quote:
Originally Posted by fabjan View Post
yeez im stuck
i got this error all the time and i cant get it to work
can someone please help me out:confused:
image:
[Only registered and activated users can see links. Click Here To Register...]
the person that helps me out can have a gm spot at the server when its done
well if you actually read the error you would see that the declaration of map is already defined... meaning map is already in the source(you've added it accidently).. so my guess is to undo all your actions :) i'd go into more detail but im abit stuck for time
12/28/2007 00:31 Demonion#251
I Only Have This One Problem
[Only registered and activated users can see links. Click Here To Register...]
Ok So I Start Off Try To Log In It Shows Me This

Auth Packet:Auth Request
Auth Packet:Auth Confirmed

Then It Gives Me These Errors

About Start.cs Line 317 & 318!

And The Conquer Client Stays Stuck And Says "logging Into server please wait a moment" i waited for 1 hour nothing!
12/28/2007 00:39 Demonion#252
im so happy im done with all my questiosn i fixed them on my own.
12/28/2007 02:59 Korvacs#253
Demonion: I wont add you on msn, however if you post a screenshot of the server program when you encounter the problem i will be happy to help
12/28/2007 11:35 Kiyono#254
i got a litle problem...
i have set up everything and put in the places of IP my own IP but how do you run the server...
12/28/2007 15:02 IRCFREAK#255
Where can i get the Client version that i need to play ?