Register for your free account! | Forgot your password?

You last visited: Today at 17:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



drop cps for 5165 conquer-sx's source

Discussion on drop cps for 5165 conquer-sx's source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 90
Received Thanks: 17
drop cps for 5165 conquer-sx's source

first:
open database
alert config table
add a column name is "AutoEmoney"

second:
open conquer-sx source
go to Game/Mob.cs
open that
and find 44 row!
add it
Code:
public static int AutoEmoney = 0;
third:
go to Database.cs
find Loadconfig method
and add it:
Code:
Game.Mob.AutoEmoney = Convert.ToInt32(DR["AutoEmoney"]);
Fourth:
goto Mob.cs find
Code:
Char = (Character)Game.World.H_Chars[Owner];
add that code behind it
Code:
                if (AutoEmoney != 0)
                {
                    Char.CPs += (uint)Mob.AutoEmoney;
                    Char.MyClient.LocalMessage(2000, "You killing a monster and get " + AutoEmoney+" CPs");
                }
                else
                {
                    if (Char != null)
                    {
                        if (MyMath.ChanceSuccess(20))
                        {
                        DI2.Info.ID = 729910;
                        DI2.UID = (uint)Rnd.Next(10000000);
                        DI2.Loc.X = (ushort)(Loc.X + Rnd.Next(4) - Rnd.Next(4));
                        DI2.Loc.Y = (ushort)(Loc.Y + Rnd.Next(4) - Rnd.Next(4));
                        DI2.Drop();
                        }
                        else if (MyMath.ChanceSuccess(10))
                        {
                            DI2.Info.ID = 729911;
                            DI2.UID = (uint)Rnd.Next(10000000);
                            DI2.Loc.X = (ushort)(Loc.X + Rnd.Next(4) - Rnd.Next(4));
                            DI2.Loc.Y = (ushort)(Loc.Y + Rnd.Next(4) - Rnd.Next(4));
                            DI2.Drop();
                        }
                        else if (MyMath.ChanceSuccess(10))
                        {
                            DI2.Info.ID = 729912;
                            DI2.UID = (uint)Rnd.Next(10000000);
                            DI2.Loc.X = (ushort)(Loc.X + Rnd.Next(4) - Rnd.Next(4));
                            DI2.Loc.Y = (ushort)(Loc.Y + Rnd.Next(4) - Rnd.Next(4));
                            DI2.Drop();
                        }
                    }
                    
                }


Ok...Press F5 to run project ...

if my code help you .... It is my pleasure
262315610 is offline  
Thanks
5 Users
Old 07/05/2010, 03:17   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 90
Received Thanks: 17
no one like i will del it!
262315610 is offline  
Old 07/05/2010, 09:52   #3
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Here a lot guides for cps
sawickas is offline  
Old 07/05/2010, 14:03   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 494
Received Thanks: 120
no1 uses conquer-sx source
Adziunia is offline  
Old 07/05/2010, 20:42   #5
 
kd20's Avatar
 
elite*gold: 0
Join Date: Dec 2005
Posts: 40
Received Thanks: 27
really wonerfull I did it and it works 100%
so 100 thanks my babe
kd20 is offline  
Old 07/05/2010, 22:06   #6
 
elite*gold: 0
Join Date: Sep 2008
Posts: 494
Received Thanks: 120
kd20 u r pretty
Adziunia is offline  
Old 05/30/2011, 11:02   #7
 
elite*gold: 0
Join Date: Feb 2011
Posts: 17
Received Thanks: 13
what datebase navicatt?
reexco is offline  
Old 05/31/2011, 08:46   #8
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by reexco View Post
what datebase navicatt?
Navicat is not a database, but a tool to manage MySQL database.
BaussHacker is offline  
Old 05/31/2011, 15:57   #9
 
elite*gold: 0
Join Date: Jan 2009
Posts: 74
Received Thanks: 3
Would this work Impulse hes Source?, lol a database is what you've created in navicat
petje1 is offline  
Old 06/01/2011, 00:33   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by petje1 View Post
Would this work Impulse hes Source?, lol a database is what you've created in navicat
You don't need Navicat at all.
BaussHacker is offline  
Old 06/01/2011, 11:58   #11
 
elite*gold: 0
Join Date: Aug 2009
Posts: 2
Received Thanks: 0
what is database i dont get what he means by it
12366 is offline  
Reply


Similar Threads Similar Threads
[RELEASE]Conquer Emulator Source 5165
11/22/2010 - CO2 PServer Guides & Releases - 29 Replies
Latest Version: v1.0.0 Last Updated: 07:37AM 29/07 2010 This is a small project in NewestCOServer. Why this? To make a better NewestCOServer source. Ive deleted alot things so far and started building things up. I will work on this time after time, untill it will be good :) Hope you find this useful
Hi I need 5165 source act like Real Co 5165
09/15/2010 - CO2 Private Server - 4 Replies
I need a A source 5165 that all skills is available specially rb char like nin-nin-nin counterKill and nin-war-nin reflect and more, and also the attack rates should be fair not like +8 set can 1 hit +12 set, and also maybe the client, I need to study to make it in 5200+ source. I love to trade it with my cofarmer account VIP i have use it for 5 days only. PM or contact me in skype :marlyandedsel
How to add Dynamic Maps(5165 Houses) in conquer-sx's source?
07/06/2010 - CO2 Private Server - 0 Replies
like my title ... I'm see the Arco's shared method ... but it don't work on... when i go home .... the client display
[REQUEST] Drop DB in 5165 Source
12/25/2009 - CO2 Private Server - 2 Replies
Hello every one, I come here because I am not pro in C#, and I want ask some queest, if anyone know, in my source, when you are killing monster appears in the Inventary DragonBalls, anyone know how to change this? Thanks for read!
Can Anyone Help me to increase the money drop and CPs drop for CoV2 source??
05/06/2009 - CO2 Private Server - 9 Replies
Firstly i would like to thanks CoV2 and ahmedandkhalid for the source if it happen you all read.But now I do have 1 problem. How can I increase the gold drop rate and the Cpsbag amount drop????



All times are GMT +1. The time now is 17:28.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.