Register for your free account! | Forgot your password?

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

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

Advertisement



Cant make a shop npc!!

Discussion on Cant make a shop npc!! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 29
Received Thanks: 0
Exclamation Cant make a shop npc!!

Hey guys, I created an npc with UID = 98647, ID = 98647 and Type = 1
and I added the items to the shop now when you open the npc you can see the items like a normal npc but I cant buy anything....
One of the items is Stancher so it should be bought normally with no prob but i just cant buy.

What am I supposed to do to add the npc to the buying script thingy?

My client is 5518.

I am using Albetros source btw!

Thanks!
UzuNaruto98 is offline  
Old 02/23/2013, 10:53   #2
 
elite*gold: 0
Join Date: Feb 2013
Posts: 1
Received Thanks: 0
Quote:
Originally Posted by UzuNaruto98 View Post
Hey guys, I created an npc with UID = 98647, ID = 98647 and Type = 1
and I added the items to the shop now when you open the npc you can see the items like a normal npc but I cant buy anything....
One of the items is Stancher so it should be bought normally with no prob but i just cant buy.

What am I supposed to do to add the npc to the buying script thingy?

My client is 5518.

Thanks!
I believe you have to edit a dat file (like shop.dat) within the client.

Not sure if it is still done that way.
.Sparkles is offline  
Old 02/23/2013, 11:20   #3
 
elite*gold: 0
Join Date: Sep 2009
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by .Sparkles View Post
I believe you have to edit a dat file (like shop.dat) within the client.

Not sure if it is still done that way.
I did edit the shop.dat and added my npc but still nothing.

Oh and I forgot to write I am using Albetros source.
UzuNaruto98 is offline  
Old 02/23/2013, 11:26   #4
 
elite*gold: 0
Join Date: Jan 2013
Posts: 62
Received Thanks: 8
First of all, you need to set the price of the item if it shows "0" in price, in this, you need to edit both Items.txt in the source database, and ItemType.dat(needs decryption) in client.

then, add the shop in Eshops.ini or/and Shop.dat in database, now add the shop in EmoneyShop.ini in client.

tah da! you got a working shop,

btw, is it a silver or cp shop?

let me know if you have any problems
derpingson is offline  
Thanks
1 User
Old 02/23/2013, 15:03   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by derpingson View Post
First of all, you need to set the price of the item if it shows "0" in price, in this, you need to edit both Items.txt in the source database, and ItemType.dat(needs decryption) in client.

then, add the shop in Eshops.ini or/and Shop.dat in database, now add the shop in EmoneyShop.ini in client.

tah da! you got a working shop,

btw, is it a silver or cp shop?

let me know if you have any problems
First thnx for answering.

[Edit]:

Oh nvm I just added what I had in the shop.dat to the emoneyshop.ini in both server and client but removed some stuff and it worked!!!!! thankss alot man!!!

but how does the pharmacist, blacksmith etc. work when their IDs are not in there?
UzuNaruto98 is offline  
Old 02/23/2013, 15:34   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
shops.dat controls normal shops. You must have your shop ID listed in there as well as all the item IDs you can purchase from the shop. This file must exist edited both in the client AND server (else you could buy equipment from pharmacist by editing your client). You also must ensure that the cost is not 0 in your itemtype table.
pro4never is offline  
Old 02/23/2013, 17:47   #7
 
elite*gold: 0
Join Date: Sep 2009
Posts: 29
Received Thanks: 0
oh I see.

I do have one more question but I have absolutely no knowledge in it so I am hoping you will give me a link to a tut or something .

How do I change in the client itself?
like changing the GUI, changing the Login Screen, and if I could(not saying I can) add a class or tweak a class.
UzuNaruto98 is offline  
Old 02/23/2013, 18:28   #8
 
elite*gold: 0
Join Date: Jan 2013
Posts: 62
Received Thanks: 8
A little search on google!





derpingson is offline  
Thanks
1 User
Old 02/23/2013, 20:39   #9
 
elite*gold: 0
Join Date: Sep 2009
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by derpingson View Post
A little search on google!





lol I am currently focused on designing and fixing the server stuff, so I didnt search. Anyways srry for troubling you and thnx
UzuNaruto98 is offline  
Reply

Tags
npc, npcs creation, prob, shop, shopnpc


Similar Threads Similar Threads
[HELP] How to Make Shop Hack ?
03/30/2012 - S4 League - 2 Replies
how do u guys make Shop Hack? plz teach me .. :handsdown::handsdown::handsdown: Shop Hack like Cytriik or Aurora ..
how make shop?
10/13/2011 - CO2 Private Server - 24 Replies
hi how can i make new npc open shop ? what i need and what files i need to open and add code to it and how ??? thanks
How to make a new shop
10/11/2011 - Rappelz Private Server - 2 Replies
Hello again, Ok first off if there is a answer here in the forum i havent found it Ok now down to bussiness :-) How do i make a new shop? Is there anyone out there that could maybe give me a walk through or some pics :-) Id like to make a skill card shop and locate it in hidden village. Thank You Again.
[Help]How do i make a new NPC with a SHOP?
04/15/2008 - EO PServer Hosting - 0 Replies
hai everyone, how do i make a new NPC with a shop? or how do i add New Items on a Shop? anyone post me a guide, please and ty :)
how to make a shop
04/11/2008 - EO PServer Hosting - 3 Replies
hello...i was wondering if i can make an npc sell paladin items and skills and all other stuff...so i want to make a new npc...how can i do that?



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


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.