Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 19:10

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

Advertisement



[Request] Auto Cps for World Conquer V2

Discussion on [Request] Auto Cps for World Conquer V2 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
AngelusInkubus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 89
Received Thanks: 2
Question [Request] Auto Cps for World Conquer V2

Greetings. I've been trying to setup a CO server and implement some ideas, but I'm a newbie to programming. At least I've managed to make it work
Looking for help of a kind soul to teach me how to add auto cps on this source, based on monster level, like pheasants gives 1 cp and so on.
I'm willing to learn, and I've tried searching for threads/posts with this subject but none came up.
Thanks in advance.
AngelusInkubus is offline  
Old 03/01/2023, 20:59   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
Don't you have a release on adding CPs to another source? Or was that not your work?
Spirited is offline  
Thanks
1 User
Old 03/01/2023, 22:46   #3
 
AngelusInkubus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 89
Received Thanks: 2
Quote:
Originally Posted by Spirited View Post
Don't you have a release on adding CPs to another source? Or was that not your work?
Honestly I don't remember, it's been a few years since I got involved with sources.
But if posted something about, it wasn't my work and I apologize if I didn't gave the credit for who did.

Edit: BTW, thanks for reminding me of this. I've dropped Albetros source years ago, and at that time, Pro4Never helped me on that code.
I'm trying again on another source.
AngelusInkubus is offline  
Old 03/01/2023, 23:46   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
Quote:
Originally Posted by AngelusInkubus View Post
Honestly I don't remember, it's been a few years since I got involved with sources.
But if posted something about, it wasn't my work and I apologize if I didn't gave the credit for who did.

Edit: BTW, thanks for reminding me of this. I've dropped Albetros source years ago, and at that time, Pro4Never helped me on that code.
I'm trying again on another source.
Ah, okay. Well, you could do something similar. There's gotta be a looting table in World Conquer v2 as well. You could add support for dropping CPs in that system.
Spirited is offline  
Old 03/01/2023, 23:59   #5
 
AngelusInkubus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 89
Received Thanks: 2
Quote:
Originally Posted by Spirited View Post
Ah, okay. Well, you could do something similar. There's gotta be a looting table in World Conquer v2 as well. You could add support for dropping CPs in that system.
I'm trying to automatically send it to the owner/killer inventory instead of dropping cp items, like that code for Albetros.

I've tried this:

Quote:
#region CP Award
public Character(MsgUserInfo pMsg, DbUser dbUser, Client pClient)
public uint Emoney;

{
Emoney = m_dbUser.Emoney;
get { return m_dbUser.Emoney; }
set
{
m_dbUser.Emoney = m_dbMonster.Level;

UpdateClient(ClientUpdateType.CONQUER_POINTS, value);
Save();

}
}
#endregion
But hadn't succeeded. Albetros was simpler I guess...
Any ideas?
AngelusInkubus is offline  
Old 03/04/2023, 17:48   #6
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
Quote:
Originally Posted by AngelusInkubus View Post
I'm trying to automatically send it to the owner/killer inventory instead of dropping cp items, like that code for Albetros.

I've tried this:

But hadn't succeeded. Albetros was simpler I guess...
Any ideas?
Dude, you can do this just by checking if the attacker is a Character on BeKill method of Monster


I just downloaded the code from the topic and it already have the CPs drop implemented
pintinho12 is offline  
Thanks
1 User
Old 03/05/2023, 02:12   #7
 
AngelusInkubus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 89
Received Thanks: 2
Quote:
Originally Posted by pintinho12 View Post
Dude, you can do this just by checking if the attacker is a Character on BeKill method of Monster


I just downloaded the code from the topic and it already have the CPs drop implemented
If i'm not mistaken, these cps given to character are based on vip level and has a drop chance while farming.
I was trying to implement for each kill, based on monster level, while vip level would give a bonus like it's already doing.
With this code you already gave me an answer to another question, 'bout drop chances, which I'd like to change a little bit. Thanks!
AngelusInkubus is offline  
Old 03/06/2023, 13:32   #8
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
Quote:
Originally Posted by AngelusInkubus View Post
If i'm not mistaken, these cps given to character are based on vip level and has a drop chance while farming.
I was trying to implement for each kill, based on monster level, while vip level would give a bonus like it's already doing.
With this code you already gave me an answer to another question, 'bout drop chances, which I'd like to change a little bit. Thanks!
With that code you can already do what you need ^^, just change it to your desire
pintinho12 is offline  
Thanks
1 User
Old 03/09/2023, 14:31   #9
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,846
Received Thanks: 4,675
Arrow CO2 Programming -> CO2 Private Server

#moved
Devsome is offline  
Thanks
1 User
Old 03/10/2023, 03:01   #10
 
AngelusInkubus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 89
Received Thanks: 2
Thanks pintinho12 for the tips about the source,and the source itself (gr8 job), already managed to change what I've wanted. Btw, you're brazilian too, right?

Also, thanks to Devsome for moving the topic to the right section. =D
AngelusInkubus is offline  
Reply




All times are GMT +1. The time now is 19:10.


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