Register for your free account! | Forgot your password?

You last visited: Today at 16:13

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

Advertisement



Help

Discussion on Help within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 3
Received Thanks: 0
Help

I wanna NPC that change cps to money

I wanna it change 100kk money for 1kk cps
sedyrohy is offline  
Old 11/13/2009, 23:28   #2
 
elite*gold: 0
Join Date: Nov 2009
Posts: 159
Received Thanks: 27
Quote:
Originally Posted by sedyrohy View Post
I wanna NPC that change cps to money

I wanna it change 100kk money for 1kk cps
Code it lol it's a simple npc :P
MexicanoCoder is offline  
Old 11/14/2009, 00:11   #3
 
elite*gold: 0
Join Date: May 2008
Posts: 3
Received Thanks: 0
but I can't make it

could u make that NPC for me
sedyrohy is offline  
Old 11/14/2009, 00:14   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by sedyrohy View Post
but I can't make it

could u make that NPC for me
Learn to code npcs. I'm in the middle of explaining some things but I didn't even bother with npcs because they are really really simple.


What source are you using? CoEmu, lotf (eeeweee) or binaries(lol)

There are guides posted here on how to create npcs: That being said these are the only 3 things you really need to be able to do in order to create the npc you want.

use if statements
use else/elif statements
use linkback statements (if coemu, I forget what lotf calls them)
Check player gold/cp
remove player gold/cp
add player gold/cp

All very easy stuff, all with guides posted on here already. I suggest you search.

Good luck.
pro4never is offline  
Old 11/14/2009, 00:53   #5
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
what source... you should be more Eplainable when you are requesting something
-Shunsui- is offline  
Old 11/14/2009, 01:03   #6
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382

AND SEE SMYTHE!!!!!
AVTUALLY MY THINGS ARE HELPING PEOPLE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fish* is offline  
Old 11/14/2009, 12:33   #7
 
elite*gold: 0
Join Date: May 2008
Posts: 3
Received Thanks: 0
my database is cq on client 5065
sedyrohy is offline  
Old 11/14/2009, 13:26   #8

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
Here is the free cps NPC I made a while back, just edit this since it's not hard.
Code:
INSERT INTO `cq_npc` VALUES ('9001', '0', '0', 'MysticMerchant', '0002', '1670', '-1', '5000', '140', '80', '9454230', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', 'нч', '0000', '00', '00', '0000', '00', '0000');

INSERT INTO `cq_action` VALUES ('9454230', '9454231', '0000', '0101', '0', 'GM~and~PM~CP~claim~NPC.');
INSERT INTO `cq_action` VALUES ('9454231', '9454232', '0000', '0102', '0', '5x 9454240');
INSERT INTO `cq_action` VALUES ('9454232', '9454233', '0000', '0102', '0', '10x 9454250');
INSERT INTO `cq_action` VALUES ('9454233', '9454234', '0000', '0102', '0', '125x 9454260');
INSERT INTO `cq_action` VALUES ('9454234', '9454242', '0000', '0102', '0', '1000x 9454252');
INSERT INTO `cq_action` VALUES ('9454242', '15003', '0000', '0102', '0', 'No~thanks. 0');

INSERT INTO `cq_action` VALUES ('9454240', '9454241', '0000', '1001', '0', 'e_money += 1075');
INSERT INTO `cq_action` VALUES ('9454241', '0', '0', '1010', '2005', '1075 CPs were added in your inventory!');

INSERT INTO `cq_action` VALUES ('9454250', '9454251', '0000', '1001', '0', 'e_money += 2150');
INSERT INTO `cq_action` VALUES ('9454251', '0', '0', '1010', '2005', '2150 CPs were added in your inventory!');

INSERT INTO `cq_action` VALUES ('9454260', '9454261', '0000', '1001', '0', 'e_money += 26875');
INSERT INTO `cq_action` VALUES ('9454261', '0', '0', '1010', '2005', '26875 CPs were added in your inventory!');

INSERT INTO `cq_action` VALUES ('9454252', '9454262', '0000', '1001', '0', 'e_money += 215000');
INSERT INTO `cq_action` VALUES ('9454262', '0', '0', '1010', '2005', '215000 CPs were added in your inventory!');

INSERT INTO `cq_task` VALUES ('9454230', '9454230', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454231', '9454231', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454232', '9454232', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454233', '9454233', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454234', '9454234', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454240', '9454240', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454250', '9454250', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454260', '9454260', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454241', '9454241', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454251', '9454251', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454261', '9454261', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454242', '9454242', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454252', '9454252', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('9454262', '9454262', '0000', '', '', '999', '0', '999', '-100000', '100000', '0000', '0000', '0', '-1', '0');
Kiyono is offline  
Reply




All times are GMT +2. The time now is 16:13.


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.