Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 23:21

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

Advertisement



[Release] Simple Auto CPs from Killing Mobs (LOFT)

Discussion on [Release] Simple Auto CPs from Killing Mobs (LOFT) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
[Release] Simple Auto CPs from Killing Mobs (LOFT)

By the way...this is first post about Auto CPs for LOFT OK?

Press Thanks Instead of Flame..

Here we go:
In Character.cs
Search for public void BlueNameGone()
under it, add
Code:
public void DirectCPs()//by UnoAmigos
        {
            if (!Alive)
            {
                MobTarget = null;
                SkillLoopingTarget = 0;
                TGTarget = null;
                PTarget = null;
                BlueName = false;
                return;
            }
            Ready = false;
            try
            {
                if (MobTarget != null)
                {
                    if (RBCount == 3)
                    {
                        if (Other.ChanceSuccess(40))
                        {
                            CPs += 3;
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
                            MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You got free 3 CPs from killing Monsters.", 2005));
                        }
                        else if (Other.ChanceSuccess(30))
                        {
                            CPs += 5;
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
                            MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You got free 5 CPs from killing Monsters.", 2005));
                        }
                        else if (Other.ChanceSuccess(20))
                        {
                            CPs += 7;
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
                            MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You got free 7 CPs from killing Monsters.", 2005));
                        }
                    }
                    if (RBCount >= 0 && RBCount <= 2)
                    {
                        if (Other.ChanceSuccess(50))
                        {
                            CPs += 1;
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
                            MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You got free 1 CPs from killing Monsters.", 2005));
                        }
                        if (Other.ChanceSuccess(40))
                        {
                            CPs += 2;
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
                            MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You got free 2 CPs from killing Monsters.", 2005));
                        }
                    }
                }
                Ready = true;
            }
            catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
        }
and Search for if (AccuracyOn)
under that, add this
Code:
if (AtkType == 2 || AtkType == 21 || AtkType == 25 || AtkType == 3 || AtkType == 4 || AtkType == 0 || AtkType == 7)
            {
                DirectCPs();
            }
Thats It.

Press *Thanks if i help you on your LOFT source.... Thats All....
UnoAmigos is offline  
Thanks
13 Users
Old 11/12/2009, 13:04   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Great job and thanks for contributing to the Epvper community!
This is going to be really useful to others.
Arcо is offline  
Old 11/12/2009, 14:59   #3
 
elite*gold: 0
Join Date: Sep 2007
Posts: 101
Received Thanks: 18
Thanks man helps a lot
kevin::: is offline  
Old 11/12/2009, 15:00   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 156
Received Thanks: 20
LOTF* and nice
_legitimate_ is offline  
Old 11/12/2009, 21:39   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 159
Received Thanks: 27
Nice release bro
MexicanoCoder is offline  
Old 11/12/2009, 22:46   #6
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
You didnt help me, but thanks anyway
nice release
#*=DarkAngeL=*# is offline  
Old 11/12/2009, 23:02   #7


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Why did you write it so that different levels of rebirth changes the chance of getting cps? The drop rate on items doesnt change from rebirth to rebirth >_>". It shouldnt do anyway.

I dont really like the fact its all in the client class aswell, but i guess thats Loft's design for you.
Korvacs is offline  
Old 11/12/2009, 23:09   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by Korvacs View Post
Why did you write it so that different levels of rebirth changes the chance of getting cps? The drop rate on items doesnt change from rebirth to rebirth >_>". It shouldnt do anyway.

I dont really like the fact its all in the client class aswell, but i guess thats Loft's design for you.
I think he just figured "ooh people who got higher reb need more cash for their gear so we'll make them earn cash easier"...


Personally I'd do something more along the lines of it be a random amount based on the clients level... but that's just me...

100 pct agree on the lotf design though. But if people find this useful, all the more power to them.
pro4never is offline  
Old 11/13/2009, 01:04   #9
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Guys, thanks for good feedback.....

yeah its my Own Source...

Code:
You can change the 3rd RB to 2nd RB 
if you don't have 3rd RB in your LOFT source.
UnoAmigos is offline  
Old 11/13/2009, 01:13   #10
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
You should also add the things for character.cs...
ex.
Reborn Count etc.
#*=DarkAngeL=*# is offline  
Old 11/13/2009, 01:18   #11
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Quote:
Originally Posted by #*=DarkAngeL=*# View Post
You should also add the things for character.cs...
ex.
Reborn Count etc.
I though all LOFT have RBCount isn't? Okay next time coz i will
release my Poison System maybe tomorrow or next days...
e.i. Poison Blade, Poison Arrow and Poison Items... xD
UnoAmigos is offline  
Old 11/13/2009, 01:21   #12
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
i dont know if it have.
I jsut mean it dont have it in original
#*=DarkAngeL=*# is offline  
Old 11/13/2009, 01:27   #13
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Quote:
Originally Posted by #*=DarkAngeL=*# View Post
i dont know if it have.
I jsut mean it dont have it in original
I see. About your server info? did you fix the Enchant Packet or just via NPC?
will if you did not fixed, Convert CoEmu v2's Enchant Packet to LOFT.
UnoAmigos is offline  
Old 11/13/2009, 01:33   #14
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 22
Im not on that point yet, just made some basic **** XD
#*=DarkAngeL=*# is offline  
Old 11/13/2009, 02:16   #15
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Quote:
Originally Posted by #*=DarkAngeL=*# View Post
Im not on that point yet, just made some basic **** XD
Yikes...Just an Imagination?

Will Advance Good Luck to your "to be" server...

I need help Quest Coder, can you help me?

Code:
e.i.
Req Level: 
Req Job:
Reward:
NPC's:
UnoAmigos is offline  
Reply


Similar Threads Similar Threads
[Release] Simple Combat Arms Auto Injector
08/23/2010 - Combat Arms Hacks, Bots, Cheats & Exploits - 8 Replies
Ok I Have Wiped Up A Simple Injector and i know i look new but i know what im doing i have been a programmer for a long time. I had given up vb but i decided to come back for juts one time and make an injector. Virus Scan has 1 false positive and thats because of the packing in the program. http://img155.imageshack.us/img155/7800/55932711. jpg Virus Scan Download
[Release] Auto Trans
01/18/2010 - Mabinogi Hacks, Bots, Cheats & Exploits - 13 Replies
ok i made this VERY simple tansformation bot for dk/pally/beast/falcon just hk the transformation to F12 and run the script approximately 5 seconds BEFORE you want to transform daily in game credz go to me for making the script and cloudkiller2006 for helping me time it cuz i was too lazy to grab a calculator O_o just unzip it anywhere and run the script in AutoIt.. **note AutoIT MUST be installed on your pc** enjoy and have fun
Vac Hack , mobs run away while killing.
11/25/2009 - Dekaron - 4 Replies
Hello guys, I'm having an issue while vac hacking with CE script, I lure mobs from map and when I get a lot of mobs, I start killing them, but some of they start running away from me, Why this happen ? :confused: this is my script, if some1 can help, thanks!
[RE-RELEASE] Simple Stamina code for LOFT
07/07/2009 - CO2 PServer Guides & Releases - 3 Replies
if (Splitter == "@stamina") { MyChar.Stamina = 100; MyChar.MyClient.SendPacket(General.MyPackets.Vital (MyChar.UID, 9, MyChar.Stamina)); World.UpdateSpawn(MyChar); }
Runtime Error when killing mobs =(
06/13/2008 - Silkroad Online - 0 Replies
Hello, Thatīs the situation: everytime i attack a monster with my Main Character i get the f*kn Runtime Error. The strange thing about it is: I only get the error ith this character...if i login with another one thereīs no problem -_-! Hope you can help me lol Thx



All times are GMT +2. The time now is 23:21.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.