|
You last visited: Today at 21:24
Advertisement
+1,Db and Mets Droping in All Mobs
Discussion on +1,Db and Mets Droping in All Mobs within the CO2 Private Server forum part of the Conquer Online 2 category.
08/20/2014, 01:55
|
#1
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
+1,Db and Mets Droping in All Mobs
Help how to make code for +1 drop item,Db and Mets in all Mobs. and Where to Code it
|
|
|
08/20/2014, 02:46
|
#2
|
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
|
Learn before tryin' to create things. Your question is "Can someone give me a code so the monsters drops +1 stones, Dragonballs and Meteors then tell me where to put it in the leeched source I'm using?"
|
|
|
08/20/2014, 16:00
|
#3
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
IS this Right coz its not working and wont drop +1 item Im using 5765 Source
if (Kernel.Success(0.097 * ServerRates.Rates.Craft))
{
//Console.WriteLine("" + killer.Name + " found a plus one item on this [" + killer.Owner.IP + "]");
killer.Owner.Inventory.Add(id, 1, 1);
killer.Owner.Send(ServerBase.Constants.DropPlus);
//Conquer_Online_Server.ServerBase.Kernel.SendWorldM essage(new Conquer_Online_Server.Network.GamePackets.Message( "A +1 item was dropped from the monster killed by " + killer.Name + "!", System.Drawing.Color.IndianRed, 2012), Conquer_Online_Server.ServerBase.Kernel.GamePool.V alues);
// Program.Plus1Chance = 0;
}
|
|
|
08/20/2014, 16:12
|
#4
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
Quote:
Originally Posted by arneljan
IS this Right coz its not working and wont drop +1 item Im using 5765 Source
if (Kernel.Success(0.097 * ServerRates.Rates.Craft))
{
//Console.WriteLine("" + killer.Name + " found a plus one item on this [" + killer.Owner.IP + "]");
killer.Owner.Inventory.Add(id, 1, 1);
killer.Owner.Send(ServerBase.Constants.DropPlus);
//Conquer_Online_Server.ServerBase.Kernel.SendWorldM essage(new Conquer_Online_Server.Network.GamePackets.Message( "A +1 item was dropped from the monster killed by " + killer.Name + "!", System.Drawing.Color.IndianRed, 2012), Conquer_Online_Server.ServerBase.Kernel.GamePool.V alues);
// Program.Plus1Chance = 0;
}
|
What kind of abomination of a source is that??
|
|
|
08/21/2014, 22:48
|
#5
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
I dont know he said it work to all version of source it drop Plus 1 item in monster just need to edit it in MonsterTable.
Quote:
Originally Posted by KraHen
What kind of abomination of a source is that??
|
|
|
|
08/21/2014, 23:02
|
#6
|
elite*gold: 0
Join Date: Dec 2010
Posts: 105
Received Thanks: 13
|
lolol you payed top dollars for that!
|
|
|
08/22/2014, 02:25
|
#7
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
|
Quote:
Originally Posted by arneljan
IS this Right coz its not working and wont drop +1 item Im using 5765 Source
if (Kernel.Success(0.097 * ServerRates.Rates.Craft))
{
//Console.WriteLine("" + killer.Name + " found a plus one item on this [" + killer.Owner.IP + "]");
killer.Owner.Inventory.Add(id, 1, 1);
killer.Owner.Send(ServerBase.Constants.DropPlus);
//Conquer_Online_Server.ServerBase.Kernel.SendWorldM essage(new Conquer_Online_Server.Network.GamePackets.Message( "A +1 item was dropped from the monster killed by " + killer.Name + "!", System.Drawing.Color.IndianRed, 2012), Conquer_Online_Server.ServerBase.Kernel.GamePool.V alues);
// Program.Plus1Chance = 0;
}
|
|
|
|
08/30/2014, 00:22
|
#8
|
elite*gold: 0
Join Date: Mar 2014
Posts: 37
Received Thanks: 7
|
put this in Database , class MonsterInformation , public void Drop
to drop DBs and Mets xD
Quote:
if (Owner.MapID == 1002 && Kernel.PercentSuccess(0.1) && Owner.Level <= 70)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 255);
switch (type)
{
case 1: Uid = 729536; break;
case 2: Uid = 1088000; break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.Item = new Network.GamePackets.ConquerItem(true);
floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)Kernel.Ran dom.Next(4, 8);
floorItem.Item.ID = Uid;
floorItem.Item.MaximDurability = 65355;
floorItem.Item.MobDropped = true;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = Uid;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
floorItem.Type = Network.GamePackets.FloorItem.Drop;
floorItem.OnFloor = Time32.Now;
floorItem.ItemColor = floorItem.Item.Color;
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
while (Map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
Map.AddFloorItem(floorItem);
SendScreenSpawn(floorItem);
}
}
}
|
can change
PercentSuccess and byte type = Kernel.Random.Next(1, 500);
to make it easy or hard xD
|
|
|
 |
Similar Threads
|
Just droping by...to say Hi :p
06/22/2010 - Archlord - 10 Replies
Ye i kno is not the good section... and i kno it will be closed :d ...but well i just camed a little online now, to say Hi to all and i hope all of you are good specially in RL :)
anyway have fun :p ....
i will only come here from time to time to talk again with some of you :)... coz now im busy as hell with my new projects ^^ ..... and yea i quit at Ubisoft :p..they are retards :D
ZommX
|
[HELP]Eudemon Stars Keep Droping.
01/24/2010 - EO PServer Hosting - 10 Replies
i have a lil problem in my server. after every mainetnance i make pll complain about loosing some stars from their eudemons, so i need some help fixing this bug, can anyone help please?:)
|
Droping by to say HI!!!!
06/17/2008 - Say Hello - 0 Replies
Hi to all elitepvpers members... I must admit that I won't regret joining elitepvpers - your best is our worst!!!
Anyone who wants to talk with me or add me or msn... Feel free to PM me... That's all from me now so bb... :o
|
droping and picking up items?
09/12/2006 - Conquer Online 2 - 1 Replies
would there be any way to drop an item and trick the game into thinking that the item had not been picked up yet? i was thinking i could keep droping something untill i got a +1 or blessed :) but prolly not just wondering
|
ore droping
06/01/2006 - Conquer Online 2 - 1 Replies
im a bit confused,
whats now?! no ore droper, some way to make it work or any alternative?
|
All times are GMT +1. The time now is 21:24.
|
|