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

03/11/2008 15:06 poppy66#481
U MAKE IT SO COMPLEX CUZ DE DOWNLOADS R MESSED UP YA I NO PICCELO IS GAY!!!! SO FIX THE LINK WIF ALL DE ITEMS IN IT!!! OR ELSE I WILL -THANKS A.K.A NO THANK YOU! G O O D DAY TO YOU MADAM! B T W PAOPLE I LEIK CHASE
03/11/2008 15:08 poppy66#482
I SPAZ U NO!!
03/11/2008 15:09 poppy66#483
OPLOFKFOJN
123456789987654321000000???? GET IT?
03/11/2008 15:09 poppy66#484
GIBBERISH X GOOGLEPLEX
03/11/2008 19:42 Korvacs#485
Quote:
Originally Posted by poppy66 View Post
U MAKE IT SO COMPLEX CUZ DE DOWNLOADS R MESSED UP YA I NO PICCELO IS GAY!!!! SO FIX THE LINK WIF ALL DE ITEMS IN IT!!! OR ELSE I WILL -THANKS A.K.A NO THANK YOU! G O O D DAY TO YOU MADAM! B T W PAOPLE I LEIK CHASE
fuck off...
03/11/2008 23:26 walmartboi#486
Quote:
Originally Posted by leavemealone View Post
You upload the script to your site?.. and set it to your dbs user/pass and ur ip.
Which script, regform.php or checkreg.php, sorry for being annoying.
03/11/2008 23:38 walmartboi#487
Sorry for double posting here, but this is the link from which you can get AppServ, since the link leavemealone provided is now invalid.

[Only registered and activated users can see links. Click Here To Register...]
03/12/2008 06:03 walmartboi#488
@BFsilas I can't find my Apache root folder, care to explain? Thanks.
03/12/2008 17:48 HolyMage#489
Quote:
Originally Posted by walmartboi View Post
@BFsilas I can't find my Apache root folder, care to explain? Thanks.
I am not BFsilas but your root folder for Apache should be unless you put it somewhere else in your c drive or other drive is C:\AppServ\www you can put the that there. You have to put both register and register check in there than you have to edit regcheck to your database the part where it says
Code:
 = "root";
 = "password";
 = "localhost"
03/12/2008 20:19 HolyMage#490
Ok Here is a temp fix for the prof problem. I know it doesn't work well but it works:) it gives you the prof you need to put the weapons you need on.

First of all I would like to say Thank you guys for releasing this to the public. This is a good source to start out with.

Ok Go to Commands.cs. You can put this anywhere in there but I put it just under the command for /save.
Code:
                        else if (Splitter[0] == "/save")
                        {
                            Database.UpdateClientsCharacter(Client);
                            return 2;
                        }
                    }
So under that put this
Code:
                    if (Splitter[0] == "/wskill" || Splitter[0] == "/prof")
                    {
                        string SkillType_TS = Splitter[1];
                        int SkillType_S;
                        int SkillType_I;
                        if (Splitter[1] == "blade")
                        {
                            SkillType_I = Convert.ToInt32("410");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "sword")
                        {
                            SkillType_I = Convert.ToInt32("420");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "bow")
                        {
                            SkillType_I = Convert.ToInt32("500");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "club")
                        {
                            SkillType_I = Convert.ToInt32("480");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "bs")
                        {
                            SkillType_I = Convert.ToInt32("421");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "hook")
                        {
                            SkillType_I = Convert.ToInt32("430");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "whip")
                        {
                            SkillType_I = Convert.ToInt32("440");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "mace")
                        {
                            SkillType_I = Convert.ToInt32("441");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "axe")
                        {
                            SkillType_I = Convert.ToInt32("450");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "hammer")
                        {
                            SkillType_I = Convert.ToInt32("460");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "scepter")
                        {
                            SkillType_I = Convert.ToInt32("481");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "dagger")
                        {
                            SkillType_I = Convert.ToInt32("490");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "glaive")
                        {
                            SkillType_I = Convert.ToInt32("510");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "poleaxe")
                        {
                            SkillType_I = Convert.ToInt32("530");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "spear")
                        {
                            SkillType_I = Convert.ToInt32("560");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "longhammer")
                        {
                            SkillType_I = Convert.ToInt32("540");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "halbert")
                        {
                            SkillType_I = Convert.ToInt32("580");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                        else if (Splitter[1] == "wand")
                        {
                            SkillType_I = Convert.ToInt32("561");

                            string SkillLevel_S = Splitter[2];
                            int SkillLevel_I = Convert.ToInt32(SkillLevel_S);
                            Client.Char.PreviousCommand = Splitter[1];
                            Client.SendData(Prof.Skill(SkillType_I, SkillLevel_I));
                            return 2;
                        }
                    }
Than you going to put this file that is attached in your Coserver Folder.
Than complie etc.
There you go prof works:P
The command is /prof <name of prof> and <level>

If you have an question just post here or pm me:)
For example /prof blade 20

UPDATE: Fix the error on the return and fixed the if else and fixed the prof file wasn't configed right so enjoy:)
03/12/2008 21:36 walmartboi#491
Damn dude, you're the bomb, wanna be a GM on my server? =D
03/12/2008 21:40 HolyMage#492
Quote:
Originally Posted by walmartboi View Post
Damn dude, you're the bomb, wanna be a GM on my server? =D
Sure:)
03/12/2008 21:53 walmartboi#493
Send me the commands.cs file, I can't get this shit right, lolol.
03/12/2008 23:49 walmartboi#494
HolyMage gave me his commands.cs with prof codes implented.
This is the screeny after I build Solution.

This is my problem on line 8 and line 10:

[Only registered and activated users can see links. Click Here To Register...]
03/12/2008 23:54 Korvacs#495
@holymage,

gg on making them commands, however your skill command needs to be changed to else if not just if, to save the server some time, secondly youll also need to add return 2; to the end of the skill command, to inform the server that the command was used succesfully otherwise youll never know if there was a problem durring using it,

thirdly you also need to add the line to change the char's last command var to the last command you used so that if there is a problem the server will be able to inform you of the last command you used....

all trivial stuff really but.....ya know