|
You last visited: Today at 07:31
Advertisement
CO Private Server
Discussion on CO Private Server within the CO2 Exploits, Hacks & Tools forum part of the Conquer Online 2 category.
05/12/2006, 14:42
|
#421
|
elite*gold: 0
Join Date: Mar 2006
Posts: 222
Received Thanks: 47
|
HoangDuy> sorry i dont understand u =] could u explain what u whant to say... ?
|
|
|
05/12/2006, 19:08
|
#422
|
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
|
(First plz all noos read the entire Topic cose we're tired of saying 20X the same things)
Now for all programmers :P here is what i found all these days (not much but still smthing) :
_ I understood how were working IDs for Items and Skills (now i can add everyitems and everyskills, still on Client Side badly)
_ I added many maps but it seems that i need to add some things cose Clients cant see themselves in the other maps than MapleForest and TwinCity, i'll try to fix that bug as soon as i can.
(  for interested ones)
|
|
|
05/13/2006, 09:25
|
#423
|
elite*gold: 0
Join Date: May 2006
Posts: 19
Received Thanks: 3
|
errr...guys..i got this errors, i tried to remove the window pernmissions but no avail..any recommended latest solution guys?
i've been trying to UP it for weeks now  but now i'm stuck at postgreSQL problem.....
Code:
ERROR: could not set permissions on directory "C:/COFullDB/Main/OtherData": Permission denied
|
|
|
05/13/2006, 09:36
|
#424
|
elite*gold: 0
Join Date: Aug 2005
Posts: 507
Received Thanks: 1
|
Um, guys..I dont think you people understand the actual concept of this released source. It is FAULTY. You can go about and add items, monsters, whatever you want, but the sever WILL NOT WORK. There are threadlocking errors when two or more players are on the server. It will crash everytime. This source is to learn on how to build your own, not to modify something that isnt worth modifying.
-einhornchen
|
|
|
05/13/2006, 09:48
|
#425
|
elite*gold: 0
Join Date: May 2006
Posts: 19
Received Thanks: 3
|
Quote:
Originally posted by einhornchen@May 13 2006, 09:36
Um, guys..I dont think you people understand the actual concept of this released source. It is FAULTY. You can go about and add items, monsters, whatever you want, but the sever WILL NOT WORK. There are threadlocking errors when two or more players are on the server. It will crash everytime. This source is to learn on how to build your own, not to modify something that isnt worth modifying.
-einhornchen
|
woot....dont blame them einhornchen, i know its depressing but they are not programmers, so they dont think & act like programmers, we the pro-gamers who love games and shallenges will try our best and makes it as fun as possibble, i even encounter lost of problem but it is still fun to try to correct it
|
|
|
05/13/2006, 09:51
|
#426
|
elite*gold: 0
Join Date: May 2006
Posts: 19
Received Thanks: 3
|
/me ~fun trying to compile others project  thanks to t3hn00bz0r and einhornchen and other names i forgot..
|
|
|
05/13/2006, 10:52
|
#427
|
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
|
I'm not making this server for distributing but for learning C# atm, i have much learned and still learning...btw i never used any Tutorials so i think that for me its like one.
This server is just a fun thing for me, sure i wont distribute it...
|
|
|
05/13/2006, 11:07
|
#428
|
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
|
Here IDs for Packets (Items and Skills) and some explain for packets :
(First you can find everyIDs of items in ItemType.dat and MagicType.dat)
For example of an Item Packet (Client side as i said many times) :
public static byte [] Necklace()
{
byte [] PacketData = new byte[0x18];
PacketData[0] = 0x18;
PacketData[1] = 0x00;
PacketData[2] = 0xf0;
PacketData[3] = 0x03;
PacketData[4] = 0x6a; //UID
PacketData[5] = 0xce; // '
PacketData[6] = 0xf7; // '
PacketData[7] = 0x01; // '
PacketData[8] = 0xb9; //Item ID
// Tornado b9 // Dream af // RelicsNecklace 9b // DragonNecklace 7d // BasaltNecklace 5f // PlatineNecklace 41 // GoldNecklace 23 // JadeNecklace 05 // ThreadNecklace f1 // HearthNecklace dd // LightNecklace c9
PacketData[9] = 0xd5; // '
// Neckys (130-37) = d5 // Neckys (7-27) = d4
PacketData[0x0a] = 0x01; // ' /
/ Neckys (7-130)
PacketData[0x0b] = 0x00; // '
PacketData[0x0c] = 0x88; // Current Durability
PacketData[0x0d] = 0x13; // '
PacketData[0x0e] = 0x88; // Max Durability
PacketData[0x0f] = 0x13; // '
PacketData[0x10] = 0x01; //01
PacketData[0x11] = 0x00; //00
PacketData[0x12] = 0x02; //Equipped location
PacketData[0x13] = 0x0d; //Gem 1
PacketData[0x14] = 0x0d; //Gem 2
PacketData[0x15] = 0x00;
PacketData[0x16] = 0x00;
PacketData[0x17] = 0x09; //Composition
return PacketData;
}
The ID must be read like that -> [0x0b] [0x0a] [9] [8]
For example a SuperBasaltNecklace(+2) (2Socks 1 Super Draggy and 1 Refined Draggy, with Full Dura will be) :
public static byte [] BasaltNeckyIJustSaidAbove()
{
byte [] PacketData = new byte[0x18];
PacketData[0] = 0x18;
PacketData[1] = 0x00;
PacketData[2] = 0xf0;
PacketData[3] = 0x03;
PacketData[4] = 0x6a;
PacketData[5] = 0xce;
PacketData[6] = 0xf7;
PacketData[7] = 0x01;
PacketData[8] = 0x5f;
PacketData[9] = 0xd5;
PacketData[0x0a] = 0x01;
PacketData[0x0b] = 0x00;
PacketData[0x0c] = 0x88;
PacketData[0x0d] = 0x13;
PacketData[0x0e] = 0x88;
PacketData[0x0f] = 0x13;
PacketData[0x10] = 0x01;
PacketData[0x11] = 0x00;
PacketData[0x12] = 0x02;
PacketData[0x13] = 0x0d;
PacketData[0x14] = 0x0e;
PacketData[0x15] = 0x00;
PacketData[0x16] = 0x00;
PacketData[0x17] = 0x02;
return PacketData;
}
EveryAdresses has to be read from Down to Up (like IDs and Durability), do not forget your little Hexa>Deci :P
|
|
|
05/13/2006, 11:11
|
#429
|
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
|
I found some Skills atm :
5030 - Phoenix
5000 - Freezing Arrow
4000 - SummonGuard
1100 - Pray
1046 - ScentSword
1045 - FastBlade
1025 - SuperMan
1000 - Thunder
1001 - Fire
1002 - Torny
You can find em all in MagicType.dat with an HexaEditor.
Btw you'll find em like (Phoenix) : 5030 > 13A6 > (in the file) A613 (<<< thats how it has to be written in the packet btw)
Here is the Command that has to be inserted in World.cs (find where :P) :
else if (Splitter[0] == "/skill" || Splitter[0] == "Skill")
{
if (Splitter[1] == "FastBlade" || Splitter[1] == "fastblade")
{
Client.SendData(PacketBuilder.FastBlade());
}
else if (Splitter[1] == "Fire" || Splitter[1] == "fire")
{
Client.SendData(PacketBuilder.Fire());
}
else if (Splitter[1] == "Pray" || Splitter[1] == "pray")
{
Client.SendData(PacketBuilder.Revive());
}
else if (Splitter[1] == "Tornado" || Splitter[1] == "tornado")
{
Client.SendData(PacketBuilder.Torny());
}
else if (Splitter[1] == "FreezingArrow" || Splitter[1] == "freezingarrow")
{
Client.SendData(PacketBuilder.FreezingArrow());
}
else if (Splitter[1] == "ScentSword" || Splitter[1] == "scentsword")
{
Client.SendData(PacketBuilder.ScentSword());
}
else if (Splitter[1] == "SuperMan" || Splitter[1] == "superman")
{
Client.SendData(PacketBuilder.SuperMan());
}
else if (Splitter[1] == "SummonGuard" || Splitter[1] == "summonguard")
{
Client.SendData(PacketBuilder.SummonGuard());
}
else if (Splitter[1] == "Phoenix" || Splitter[1] == "phoenix")
{
Client.SendData(PacketBuilder.Phoenix());
}
// 5030 - Phoenix
// 5000 - Freezing Arrow
// 4000 - SummonGuard
// 1100 - Pray
// 1046 - ScentSword
// 1045 - FastBlade
// 1025 - SuperMan
// 1000 - Thunder
// 1001 - Fire
// 1002 - Torny
else
{
Client.SendData(PacketBuilder.Message(Client.Messa geID, "SYSTEM", "ALL", "Skill usage : /skill Skillname", ChatType.Talk));
}
}
Btw you'll have to add the Packets i used in the PackBuilder.cs if you cant make it then quit (You can find some exampled of Skills Packets in it)
|
|
|
05/13/2006, 15:57
|
#430
|
elite*gold: 0
Join Date: Apr 2006
Posts: 165
Received Thanks: 5
|
Quote:
Originally posted by control@May 12 2006, 02:53
i have no idea how to work it i downloaded it and installed it but what do i do now???????????[img]text2schild.php?smilienummer=1&text=help me' border='0' alt='help me' />
|
FOR ALL THE 1023498592345788340543893840293573490587345890437 noobs vieuwing this topic and its post.
DON'T JOIN THE PROJECT IF:
You don't now how to download files like this guy
Don't know wtf a project is
How to read a guide
How to use all kinds of programs like Visual Basics or Visual Studio and so on.
If you ask a QS like: "How do i work it???" and so on.
PLS only QS if you have probs. like: darkaaron had with his connection problems and so on...
*** HAS SPOKEN!!!
|
|
|
05/13/2006, 16:02
|
#431
|
elite*gold: 0
Join Date: Apr 2006
Posts: 165
Received Thanks: 5
|
Quote:
Originally posted by aidas2004@May 9 2006, 12:16
Titanium> heh this is the easyest way...
Another way is use the cmd, like /tele map cord_y cord_x and u'r in, the code would be simple. Just use Update SQL query for chars map cord_y, cord_x and also send packets to the client, where updated chars info is sending...
=]
|
Are there more like this commands?
BTW folks, it could be that i be a lot offline the next moth...
GOT EXAMS...
|
|
|
05/14/2006, 01:19
|
#432
|
elite*gold: 0
Join Date: Apr 2006
Posts: 8
Received Thanks: 0
|
Quote:
Originally posted by Titanium@May 13 2006, 16:02
BTW folks, it could be that i be a lot offline the next moth...
GOT EXAMS...
|
Me to
(because where in the same class lol  )
|
|
|
05/14/2006, 01:33
|
#433
|
elite*gold: 0
Join Date: May 2006
Posts: 4
Received Thanks: 0
|
im haveing trobly i have no idea how to work it?
|
|
|
05/14/2006, 02:09
|
#434
|
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
|
The First Post is for PacketBuilder.cs and the other one is for World.cs
|
|
|
05/14/2006, 13:39
|
#435
|
elite*gold: 0
Join Date: Jun 2005
Posts: 304
Received Thanks: 27
|
Here some commands for Teleport and Life ^^ add em in World.cs :
if (Splitter[0] == "/Life" || Splitter[0] == "/life")
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char = Client.Char;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
int Life = Char.MaxHP;
Char.HP = Life;
Client.SendData(PacketBuilder.Message(Client.Messa geID, "LIFE SYSTEM", Client.Char.Name, "Life Restored!", ChatType.Talk));
}
else if (Splitter[0] == "/scroll")
{
if (Splitter[1] == "TC")
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char = Client.Char;
ArrayList[,] Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = TCLocHash;
int x = 438; int y = 377;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.TwinCity;
Target[x, y].Add(Client);
World.SpawnCharacter(Client);
Client.SendData(PacketBuilder.Message(Client.Messa geID, "TELEPORT", Client.Char.Name, "Teleported to: " + Client.Char.Map, ChatType.Talk));
}
else if (Splitter[1] == "PC")
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char = Client.Char;
ArrayList[,] Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = MFLocHash;
int x = 232; int y = 260;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.MapleForest;
Target[x, y].Add(Client);
World.SpawnCharacter(Client);
Client.SendData(PacketBuilder.Message(Client.Messa geID, "TELEPORT", Client.Char.Name, "Teleported to: " + Client.Char.Map, ChatType.Talk));
}
else
{
Client.SendData(PacketBuilder.Message(Client.Messa geID, "SYSTEM", Client.Char.Name, "Usage : /scroll TheCity", ChatType.Talk));
}
}
|
|
|
All times are GMT +1. The time now is 07:31.
|
|