|
You last visited: Today at 17:37
Advertisement
Guide/Release: Conquer Server (CoFuture) Using MySql!
Discussion on Guide/Release: Conquer Server (CoFuture) Using MySql! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
03/28/2008, 23:37
|
#631
|
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
|
Hey, I'm using the patch 5011 repack made by Junior on ******** forum, and I can't use any codes from here, does anyone know why? I'd very much appreciate it.
|
|
|
03/29/2008, 02:26
|
#632
|
elite*gold: 0
Join Date: Mar 2008
Posts: 3
Received Thanks: 0
|
I get this error when ever I try to run the server
|
|
|
03/29/2008, 12:16
|
#633
|
elite*gold: 0
Join Date: Oct 2005
Posts: 53
Received Thanks: 2
|
Quote:
Originally Posted by walmartboi
Hey, I'm using the patch 5011 repack made by Junior on ******** forum, and I can't use any codes from here, does anyone know why? I'd very much appreciate it.
|
Because thats source is not for patch 5011!
|
|
|
03/29/2008, 12:34
|
#634
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by walmartboi
Hey, I'm using the patch 5011 repack made by Junior on ******** forum, and I can't use any codes from here, does anyone know why? I'd very much appreciate it.
|
he removed almost all the commands thats why if you just looked at the commands.cs you would have noticed
and NO you can't use the commands.cs from this one cause if you rebuild 2/3 codes won't function
|
|
|
03/29/2008, 16:59
|
#635
|
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
|
His repack doesn't have as many bugs as this source though.
|
|
|
03/29/2008, 21:10
|
#636
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by walmartboi
His repack doesn't have as many bugs as this source though.
|
well then you need to choose between :
fixes or commands
|
|
|
03/30/2008, 00:41
|
#637
|
elite*gold: 0
Join Date: Oct 2007
Posts: 11
Received Thanks: 0
|
PLEAAAAAASSSEEEEE HELP!!
I get this error on the  page:
Code:
Welcome to phpMyAdmin 2.10.2
Error
MySQL said: Documentation
#2003 - The server is not responding
phpMyAdmin was unable to read your configuration file!
This might happen if PHP finds a parse error in it or PHP cannot find the file.
Please call the configuration file directly using the link below and read the PHP error message(s) that you receive. In most cases a quote or a semicolon is missing somewhere.
If you receive a blank page, everything is fine.
./config.inc.php
Please help!
|
|
|
03/30/2008, 14:37
|
#638
|
elite*gold: 0
Join Date: Oct 2007
Posts: 11
Received Thanks: 0
|
Please anyone help me?
Edit: I fixed it, i had this line twice in my config file xD
$cfg['blowfish_secret'] = 'Montgomery'
I'm loving my eyes right now xD
|
|
|
03/30/2008, 17:12
|
#639
|
elite*gold: 0
Join Date: Oct 2005
Posts: 31
Received Thanks: 1
|
i found this mob package
public byte[] SpawnMob(int ID, int Mech, int mob_x, int mob_y, string Name, int HP, int LVL, int POS)
{
if (HP < 0)
HP = 0;
if (POS < 0)
POS = 0;
byte[] PacketData = new byte[67 + Name.Length];
PacketData[0] = (byte)(PacketData.Length & 0xff);
PacketData[1] = (byte)((PacketData.Length >> 8) & 0xff);
PacketData[2] = 0xf6;
PacketData[3] = 0x03;
PacketData[4] = (byte)(ID & 0xff);//id
PacketData[5] = (byte)((ID >> 8) & 0xff);//id
PacketData[6] = (byte)((ID >> 16) & 0xff);//id
PacketData[7] = (byte)((ID >> 24) & 0xff);//id
PacketData[0x8] = (byte)(Mech & 0xff);//Mech
PacketData[0x9] = (byte)((Mech >> 8) & 0xff);//Mech
PacketData[0xa] = (byte)((Mech >> 16) & 0xff);//Mech
PacketData[0xb] = (byte)((Mech >> 24) & 0xff);//Mech
PacketData[12] = 0x00;
PacketData[13] = 0x00;
PacketData[14] = 0x00;
PacketData[15] = 0x00;
PacketData[16] = 0x00;
PacketData[17] = 0x00;
PacketData[18] = 0x00;
PacketData[19] = 0x00;
PacketData[20] = 0x00;
PacketData[21] = 0x00;
PacketData[22] = 0x00;
PacketData[23] = 0x00;
PacketData[24] = 0x00;
PacketData[25] = 0x00;
PacketData[26] = 0x00;
PacketData[27] = 0x00;
PacketData[28] = 0x00;
PacketData[29] = 0x00;
PacketData[30] = 0x00;
PacketData[31] = 0x00;
PacketData[32] = 0x00;
PacketData[33] = 0x00;
PacketData[34] = 0x00;
PacketData[35] = 0x00;
PacketData[36] = 0x00;
PacketData[37] = 0x00;
PacketData[38] = 0x00;
PacketData[39] = 0x00;
PacketData[40] = 0x00;
PacketData[41] = 0x00;
PacketData[42] = 0x00;
PacketData[43] = 0x00;
PacketData[44] = 0x00;
PacketData[45] = 0x00;
PacketData[46] = 0x00;
PacketData[47] = 0x00;
PacketData[48] = (byte)(HP & 0xff); // Current HP
PacketData[49] = (byte)((HP >> 8) & 0xff);//
PacketData[50] = (byte)(LVL & 0xff); // Level
PacketData[51] = (byte)((LVL >> 8) & 0xff);//
PacketData[52] = (byte)(mob_x & 0xff); // x loc
PacketData[53] = (byte)((mob_x >> 8) & 0xff);//
PacketData[54] = (byte)(mob_y & 0xff); // y loc
PacketData[55] = (byte)((mob_y >> 8) & 0xff);//
PacketData[56] = 0x00;
PacketData[57] = 0x00;
PacketData[58] = (byte)(POS & 0xff); //Position
PacketData[59] = 0x00;
PacketData[60] = 0x00;
PacketData[61] = 0x00;
PacketData[62] = 0x00;
PacketData[63] = 0x00;
PacketData[64] = 0x00;
PacketData[65] = 0x01;
PacketData[66] = (byte)(Name.Length); //Length of the name
for (int x = 0; x < Name.Length; x++)
{
PacketData[67 + x] = Convert.ToByte(Name[x]);
}
return PacketData;
}
and i made a command for it
else if (Splitter[0] == "/spawnmob")
{
Client.SendData(CPacket.SpawnMob(Convert.ToInt32(S plitter[1]), Convert.ToInt32(Splitter[2]), Convert.ToInt32(Splitter[3]), Convert.ToInt32(Splitter[4]), Convert.ToString(Splitter[5]), Convert.ToInt32(Splitter[6]), Convert.ToInt32(Splitter[7]), Convert.ToInt32(Splitter[8])));
return 2;
}
i do can spawn mobs but they dont have a name nor HP bar can any1 give me a hand? tks.
|
|
|
03/30/2008, 21:11
|
#640
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by g_elf
i found this mob package
public byte[] SpawnMob(int ID, int Mech, int mob_x, int mob_y, string Name, int HP, int LVL, int POS)
{
if (HP < 0)
HP = 0;
if (POS < 0)
POS = 0;
byte[] PacketData = new byte[67 + Name.Length];
PacketData[0] = (byte)(PacketData.Length & 0xff);
PacketData[1] = (byte)((PacketData.Length >> 8) & 0xff);
PacketData[2] = 0xf6;
PacketData[3] = 0x03;
PacketData[4] = (byte)(ID & 0xff);//id
PacketData[5] = (byte)((ID >> 8) & 0xff);//id
PacketData[6] = (byte)((ID >> 16) & 0xff);//id
PacketData[7] = (byte)((ID >> 24) & 0xff);//id
PacketData[0x8] = (byte)(Mech & 0xff);//Mech
PacketData[0x9] = (byte)((Mech >> 8) & 0xff);//Mech
PacketData[0xa] = (byte)((Mech >> 16) & 0xff);//Mech
PacketData[0xb] = (byte)((Mech >> 24) & 0xff);//Mech
PacketData[12] = 0x00;
PacketData[13] = 0x00;
PacketData[14] = 0x00;
PacketData[15] = 0x00;
PacketData[16] = 0x00;
PacketData[17] = 0x00;
PacketData[18] = 0x00;
PacketData[19] = 0x00;
PacketData[20] = 0x00;
PacketData[21] = 0x00;
PacketData[22] = 0x00;
PacketData[23] = 0x00;
PacketData[24] = 0x00;
PacketData[25] = 0x00;
PacketData[26] = 0x00;
PacketData[27] = 0x00;
PacketData[28] = 0x00;
PacketData[29] = 0x00;
PacketData[30] = 0x00;
PacketData[31] = 0x00;
PacketData[32] = 0x00;
PacketData[33] = 0x00;
PacketData[34] = 0x00;
PacketData[35] = 0x00;
PacketData[36] = 0x00;
PacketData[37] = 0x00;
PacketData[38] = 0x00;
PacketData[39] = 0x00;
PacketData[40] = 0x00;
PacketData[41] = 0x00;
PacketData[42] = 0x00;
PacketData[43] = 0x00;
PacketData[44] = 0x00;
PacketData[45] = 0x00;
PacketData[46] = 0x00;
PacketData[47] = 0x00;
PacketData[48] = (byte)(HP & 0xff); // Current HP
PacketData[49] = (byte)((HP >> 8) & 0xff);//
PacketData[50] = (byte)(LVL & 0xff); // Level
PacketData[51] = (byte)((LVL >> 8) & 0xff);//
PacketData[52] = (byte)(mob_x & 0xff); // x loc
PacketData[53] = (byte)((mob_x >> 8) & 0xff);//
PacketData[54] = (byte)(mob_y & 0xff); // y loc
PacketData[55] = (byte)((mob_y >> 8) & 0xff);//
PacketData[56] = 0x00;
PacketData[57] = 0x00;
PacketData[58] = (byte)(POS & 0xff); //Position
PacketData[59] = 0x00;
PacketData[60] = 0x00;
PacketData[61] = 0x00;
PacketData[62] = 0x00;
PacketData[63] = 0x00;
PacketData[64] = 0x00;
PacketData[65] = 0x01;
PacketData[66] = (byte)(Name.Length); //Length of the name
for (int x = 0; x < Name.Length; x++)
{
PacketData[67 + x] = Convert.ToByte(Name[x]);
}
return PacketData;
}
and i made a command for it
else if (Splitter[0] == "/spawnmob")
{
Client.SendData(CPacket.SpawnMob(Convert.ToInt32(S plitter[1]), Convert.ToInt32(Splitter[2]), Convert.ToInt32(Splitter[3]), Convert.ToInt32(Splitter[4]), Convert.ToString(Splitter[5]), Convert.ToInt32(Splitter[6]), Convert.ToInt32(Splitter[7]), Convert.ToInt32(Splitter[8])));
return 2;
}
i do can spawn mobs but they dont have a name nor HP bar can any1 give me a hand? tks.
|
wait a sec where did you find it? and t's not the on from CoEMU right?
btw where d you place it
|
|
|
03/30/2008, 22:08
|
#641
|
elite*gold: 0
Join Date: Sep 2006
Posts: 42
Received Thanks: 14
|
Help Plz
I HAVE A PROBLEM IN THE STEP 5 CAN YOU HELP ME Y DONT UNDERSTAND
|
|
|
03/31/2008, 11:06
|
#642
|
elite*gold: 0
Join Date: Oct 2005
Posts: 31
Received Thanks: 1
|
Quote:
Originally Posted by Djago160
wait a sec where did you find it? and t's not the on from CoEMU right?
btw where d you place it
|
i took it from another release based on CoFuture and CoEmu.
the packet goes on the conquerpackets.cs file ans the command in the command.cs file
|
|
|
03/31/2008, 12:56
|
#643
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by g_elf
i took it from another release based on CoFuture and CoEmu.
the packet goes on the conquerpackets.cs file ans the command in the command.cs file
|
oh that(5011) i looked at it before
|
|
|
03/31/2008, 13:46
|
#644
|
elite*gold: 0
Join Date: Oct 2005
Posts: 31
Received Thanks: 1
|
Quote:
Originally Posted by Djago160
wait a sec where did you find it? and t's not the on from CoEMU right?
btw where d you place it
|
Quote:
Originally Posted by Djago160
oh that(5011) i looked at it before
|
do u have that packet decripted? something like this?
public byte[] TerrainNpc(int TNpcID, int MaxHp, int CurrentHp, Location TNpcLoc, int TNpcType)
{
Length(28);
Type(1109);
Long(TNpcID);
Long(MaxHp);
Long(CurrentHp);
Short(TNpcLoc.X);
Short(TNpcLoc.Y);
Short(TNpcType);
Short(26);//unknown, possibly subnpctype
ByteInt(21);//unknown, perhaps a packet switch >_>
ByteInt(0);
Short(0);
return getBytes();
}
tks
|
|
|
03/31/2008, 13:55
|
#645
|
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
|
I'm curious, Do you guys even bother to look what the type of Packet is?
Like the above SpawnMob Packet; Instead of trying to make it from scratch, look what Type it is; Tell me if you find the answer; (Hint : Has something to do with character spawning  )
Look for the packet 0x3F9 for example : It has alot subtypes (10+?) It would be incredibly messy to code these each on their own, but instead you just change the values...(and subtype ofcourse)
P.S This is more like for the future referrence.
@nearmylimits : Download .NET FrameWork 2 or higher;
|
|
|
 |
|
Similar Threads
|
[Guide]cofuture source
06/11/2011 - CO2 PServer Guides & Releases - 91 Replies
hi guys am new here and i hope stay here for long time
------------
i make this guide Couz i found alot pll cant work with cofuture source
---------------
Coder source:future <<<Thanks to hime 1st
helping me:haydeZ<<<<Thanks to hime 2nd
---------------------------------------
What we are need?
1:cofuture source>>>Download Here
2:AppServ(MySQL, Apache, and PhpMyAdmin all in one)>>>>AppServNetwork
|
[Request]Conquer Server (CoFuture) Using MySql
06/25/2008 - Conquer Online 2 - 2 Replies
hey I want to get the Conquer Server (CoFuture) Using MySql Source but all links down Can someone add it on rapidshare? or other Site?
thank you if you up it in a site
ps:sorry for my bad english :)
|
Need help Guide/Release: Conquer Server (CoFuture) Using MySql!
05/28/2008 - Conquer Online 2 - 1 Replies
Hello i tryed that Guide/Release: Conquer Server (CoFuture) Using MySql!
But it don't work i can't do that phpmyadmin think anyone can help me the language is german but i wanted to change it to english but idk how.
If anyone got Teamviewer or somethink like that would be nice
greetz
|
All times are GMT +1. The time now is 17:38.
|
|