No drop CPS [Version 5735]

10/08/2013 23:25 shanxou#1
Hi everyboby,
I have a problem with my server : I do not drop cps :/

Thanks for you help
10/09/2013 06:25 Spirited#2
Quote:
Originally Posted by shanxou View Post
Hi everyboby,
I have a problem with my server : I do not drop cps :/

Thanks for you help
Then it's probably not programmed or configured to. Why don't you check your source code and see if it does or not? It is your server after all, isn't it? o.o
10/09/2013 11:16 GameHackerPM#3
Quote:
Originally Posted by Fang View Post
Then it's probably not programmed or configured to. Why don't you check your source code and see if it does or not? It is your server after all, isn't it? o.o
I think he don't know how to code! Or where is the place that Drop void exist?! :)) And want to make a server!
10/09/2013 11:27 shanxou#4
I don't know how to code :/
But what is a table for this ? It's PacketHandler.cs ?
10/09/2013 11:33 GameHackerPM#5
Quote:
Originally Posted by shanxou View Post
I don't know how to code :/
But what is a table for this ? It's PacketHandler.cs ?
As i though.
Small advice, don't make a server before you know how to code! :)

And it's in MonsterTable.cs in Database Folder! Search for "Drop("
you will find it, but i don't think you will understand or change anything?! :) Maybe copy it from other source :D
10/09/2013 11:55 shanxou#6
I did it but it not work :/
10/09/2013 12:14 GameHackerPM#7
Quote:
Originally Posted by shanxou View Post
I did it but it not work :/
I told you, you can't fix something because you don't know how to code! :D
10/09/2013 12:27 shanxou#8
ok..
So what is the code ? x)
10/09/2013 13:40 GameHackerPM#9
Quote:
Originally Posted by shanxou View Post
ok..
So what is the code ? x)
if (killer.Name != "Guard1")
{
killer.ConquerPoints += 100;
}

Change 100 to the amount of CPS Drop! :)

This is simple code! I made it here now!
10/09/2013 14:59 shanxou#10
Not work.. but it's right ?

Quote:
public void Drop(Game.Entity killer)
{

//string cpsMethod = "" + Level + "" + Conquer_Online_Server.Database.rates.cpsmethod + "" + Conquer_Online_Server.Database.rates.CpsMethodNum + "";

if (killer.Name.Contains("Guard"))
{
goto sezarz;
}
if (Owner.Name.Contains("Guard"))
{

return;
}

if (Name == "Naga")
{
{
killer.DisKO += 1;
killer.Owner.Send(new Message("Congratulations! You have got 1 Kill you have Now " + killer.DisKO + " DisKo Points", System.Drawing.Color.Azure, Message.Monster));
// return;
}
}

if (ID == killer.kilid)
{
if (killer.Owner.Inventory.Contains(750000, 1))
{

killer.Status4 += 1;
}
}
if (killer.Name != "Guard1")
{
killer.ConquerPoints += 100;
}
if (ID == 83)
{
if (killer.kilid == 58)
{
if (killer.Owner.Inventory.Contains(750000, 1))
{

killer.Status4 += 1;
}
}
}
if (ID == 8319)
{
if (killer.kilid == 58)
{
if (killer.Owner.Inventory.Contains(750000, 1))
{

killer.Status4 += 1;
}
}
}
10/09/2013 23:46 GameHackerPM#11
Okay, Remove my Code!

Search for this code in the file :
Code:
            if (ServerBase.Kernel.Rate(100))
            {

                killer.ConquerPoints += rates.maxcps;
                killer.Owner.Send(new Network.GamePackets.Message("You have received " + rates.maxcps + "CPS from HooliGan heaven ", System.Drawing.Color.Yellow, 2005));
            }
Change it to be :
Code:
            uint cps = 100;
            if (ServerBase.Kernel.Rate(100000))
            {

                killer.ConquerPoints += cps;
                killer.Owner.Send(new Network.GamePackets.Message("You have received " + cps + "CPS from HooliGan heaven ", System.Drawing.Color.Yellow, 2005));
            }
in uint cps = 100;

Change this by the amount of the CPS Drop! :)

it should work!
10/10/2013 01:43 CriticallyDev#12
Quote:
Originally Posted by GameHacker-PM- View Post
if (killer.Name != "Guard1")
{
killer.ConquerPoints += 100;
}

Change 100 to the amount of CPS Drop! :)

This is simple code! I made it here now!
So for every monster killed you get 100 CPs? Yikes..

I would have the rates drop randomly if I were you and not have so many cps drop, js.
10/10/2013 12:38 shanxou#13
Quote:
Originally Posted by GameHacker-PM- View Post
Okay, Remove my Code!

Search for this code in the file :
Code:
            if (ServerBase.Kernel.Rate(100))
            {

                killer.ConquerPoints += rates.maxcps;
                killer.Owner.Send(new Network.GamePackets.Message("You have received " + rates.maxcps + "CPS from HooliGan heaven ", System.Drawing.Color.Yellow, 2005));
            }
Change it to be :
Code:
            uint cps = 100;
            if (ServerBase.Kernel.Rate(100000))
            {

                killer.ConquerPoints += cps;
                killer.Owner.Send(new Network.GamePackets.Message("You have received " + cps + "CPS from HooliGan heaven ", System.Drawing.Color.Yellow, 2005));
            }
in uint cps = 100;

Change this by the amount of the CPS Drop! :)

it should work!
Not work :/
It's good ??
Quote:
if (ID == 8319)
{
if (killer.kilid == 58)
{
if (killer.Owner.Inventory.Contains(750000, 1))
{

killer.Status4 += 1;
}
}
}
#region CPs 20

uint cps = 2000;
if (ServerBase.Kernel.Rate(100000))
{

killer.ConquerPoints += cps;
killer.Owner.Send(new Network.GamePackets.Message("You have received " + cps + "CPS from HooliGan heaven ", System.Drawing.Color.Yellow, 2005));
}
#endregion CPs 50
#region DragonSon Quest
Look the file in attach files and thank you for your help :)
10/10/2013 13:12 GameHackerPM#14
Quote:
Originally Posted by CriticallyDev View Post
So for every monster killed you get 100 CPs? Yikes..

I would have the rates drop randomly if I were you and not have so many cps drop, js.
Well, That's not for my system.. It's very simple code how to make it drop.
Quote:
Originally Posted by shanxou View Post
Not work :/
It's good ??


Look the file in attach files and thank you for your help :)
How it doesn't work?! :))
Is there anything else drop? Items or Money?! :)

Maybe the Drop void is not used?! :))
10/10/2013 13:36 shanxou#15
before and after to have changed, the drop (item and money and cps) not work