+1/+2 Stone Problem

04/11/2010 16:27 Danielplanto#1
Ok so i have created myself a new private server of CO. The only problem is, the +1 and +2 stone will not work.. It gives me the complaint that "minor item has to have 1 additional point" or something like that. However +1 items work. I custom made my own stone seller, but my question is, since +1 stones and +2 stones dont work, how can i make the seller sell +1 items and +2 items? or how can i fix the +1/+2 stones, whichever is easier.

Edit: Any1 help?? =/
04/11/2010 18:22 Arcо#2
Did you made the stone have 1 plus point when being sold?
Is it +1Stone or +1Stone(+1)
04/12/2010 00:31 Danielplanto#3
Quote:
Originally Posted by .Arco View Post
Did you made the stone have 1 plus point when being sold?
Is it +1Stone or +1Stone(+1)
Ok, so i figured out the problem, the stones the shop are selling are 730002-0-0-0-0-0 yet it needs to sell them 730002-1-0-0-0-0 so how can i change the shop to be that specific when the ID is the same?(Using PowerSource CO Source)

Edit: +8 stones wont work either, those are the only 3 that dont, but for same prob.

EDIT: They sell them in shop lookin way its spost to, but when i recieve the item its not a real +1stone

since idk how to add images into this i just posted as attachment. the images are the prob, check them to see whats going on and maybe help =/
04/12/2010 02:33 Arcо#4
Oh you did it via shop.dat?
You go to I think Other.cs or just ctrl+f for 730003 and ifnd those +stones and learn from them.
04/12/2010 02:57 Danielplanto#5
Quote:
Originally Posted by .Arco View Post
Oh you did it via shop.dat?
You go to I think Other.cs or just ctrl+f for 730003 and ifnd those +stones and learn from them.
OK im there... but not sure how to edit it to fix it :( help pls?

EDIT: Plus i dnt see 730003 in there at all, just 730001, 2, 6, 7, 8, 9 -- odd

EDIT: I just need shop to sell differently. It sells like this: - 730001 (+1 stone) 730002 (+2stone) etc

730001-0-0-0-0-0
730002-0-0-0-0-0
730003-3-0-0-0-0
730004-4-0-0-0-0
730005-5-0-0-0-0
730006-6-0-0-0-0
730007-7-0-0-0-0
730008-0-0-0-0-0

I need to make it sell like:

730001-1-0-0-0-0
730002-2-0-0-0-0
730003-3-0-0-0-0
730004-4-0-0-0-0
730005-5-0-0-0-0
730006-6-0-0-0-0
730007-7-0-0-0-0
730008-8-0-0-0-0
04/12/2010 03:15 Arcо#6
Wait you did this via shop.dat or custom npc seller?
04/12/2010 03:23 Danielplanto#7
Quote:
Originally Posted by .Arco View Post
Wait you did this via shop.dat or custom npc seller?
Shop.dat i figured thats way i shud, i made my OWN Custom NPC tho, and it works, it sells, its a Storekeeper model named Storekeeper. In market, i just cant get it to sell the +1,2,8 stones right.


And yes, i did change both Shop.dat's for client AND server, or else i cudnt even buy from it. Just wanna make sure you knew that.
04/12/2010 05:09 PeTe Ninja#8
It's in the source code...

In case 1: of client.cs you must go and edit this part...

Code:
byte WithPlus = 0;
                                                        if (ItemID == 730003)
                                                            WithPlus = 3;
                                                        if (ItemID == 730004)
                                                            WithPlus = 4;
                                                        if (ItemID == 730005)
                                                            WithPlus = 5;
                                                        if (ItemID == 730006)
                                                            WithPlus = 6;
                                                        if (ItemID == 730007)
                                                            WithPlus = 7;
to look like

Code:
byte WithPlus = 0;
                                                        if (ItemID == 730001)
                                                            WithPlus = 1;
                                                        if (ItemID == 730002)
                                                            WithPlus = 2;
                                                        if (ItemID == 730003)
                                                            WithPlus = 3;
                                                        if (ItemID == 730004)
                                                            WithPlus = 4;
                                                        if (ItemID == 730005)
                                                            WithPlus = 5;
                                                        if (ItemID == 730006)
                                                            WithPlus = 6;
                                                        if (ItemID == 730007)
                                                            WithPlus = 7;
                                                        if (ItemID == 730008)
                                                            WithPlus = 8;
                                                        if (ItemID == 730009)
                                                            WithPlus = 9;
creds to arco
04/12/2010 06:40 Huseby#9
#Closed