Register for your free account! | Forgot your password?

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

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

Advertisement



Pharmacist Dialog Param

Discussion on Pharmacist Dialog Param within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 10/18/2011, 18:40   #16
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by pro4never View Post
.... pharmacist is just a shop. You open it just like any other shop.

I use talking shop npcs all over my source. It's just a matter of sending general data with data1 as 32 with action type being 160


Seeing as I'm sure people will still be asking me...

Code:
 scope.SetVariable("OpenShop", new Func<uint, int>(delegate(uint shopID)
                    {
                        Packet.DataPacket pack = new Packet.DataPacket();
                        pack.Action = Core.Enum.DataAction.OpenUpgrade;
                        pack.Id = user.UID;
                        pack.Data1 = 32;
                        pack.Data3Low = user.X;
                        pack.Data3High = user.Y;
                        pack.Timestamp = shopID;
                        user.Send(pack);
                        return 0;
                    }));
That's what I use for my python methods for opening a shop so I can just say OpenShop(1) or w/e the shop id is.
i can`t edit it to work on my source !

i am still learing C# and i am new , i just need little help with it , or how to modify it to work with my source .
abdeen is offline  
Old 10/19/2011, 00:48   #17
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by abdeen View Post
i can`t edit it to work on my source !

i am still learing C# and i am new , i just need little help with it , or how to modify it to work with my source .
This won't be of any use to you unless you learn some C#.

This is enabling me to use python external scripts that interact with my C# source as well as using a completely different method of building and sending packets then your source most likely has...

So yes... it's useful in that I answered the question but not so useful because it requires people to still know what they're doing inside their source.
pro4never is offline  
Thanks
1 User
Old 10/19/2011, 00:54   #18
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by pro4never View Post
This won't be of any use to you unless you learn some C#.

This is enabling me to use python external scripts that interact with my C# source as well as using a completely different method of building and sending packets then your source most likely has...

So yes... it's useful in that I answered the question but not so useful because it requires people to still know what they're doing inside their source.
you are right , i am agree with you in this point

PHP Code:
" it requires people to still know what they're doing inside their source. " 
but no one was born a coder , and i am just asking , to learn. if you fixed the problem so i`ll check what have you changed/edited , and i`ll be learned how to fix this issue in the future.


i want to code npc to give a jar quest to kill a limited mount of monsters , i coded the npc but he gives the jar is reading monster type , pheeasent monsters , and count of killed monsters is always loading , i wanna know how to code it for any monster i want and count of monsters required to kill , and how to make check if the player finished the quest and has killed all required monsters or not .

and there another code i needed , is a code to send all players in a map to another one .
abdeen is offline  
Old 10/19/2011, 04:53   #19
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
I was born a coder.

Just kidding, but you'll never *learn* a language focusing on implementation like that.
Lateralus is offline  
Old 10/19/2011, 18:35   #20
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by Lateralus View Post
I was born a coder.

Just kidding, but you'll never *learn* a language focusing on implementation like that.
i am thinking about your post if its helped me or not O.o
abdeen is offline  
Reply


Similar Threads Similar Threads
[HELP]Pharmacist Problem!!!
05/30/2009 - CO2 Private Server - 1 Replies
Any idea why i can't buy a scroll on any Pharmacist NPC?
Portable Pharmacist
01/17/2006 - Conquer Online 2 - 2 Replies
Can you record the packet of buying a twin city scroll and send it to the server while at a place like lab or the packets for arrows? I came up with this idea when I was stuck at stone city :P
Ware House and Pharmacist and other NPC's
12/08/2005 - Conquer Online 2 - 7 Replies
Is it possible to put WhareHouse, Pharmacist and other NPC's in Lab map?... how?.. can anyone help me here on how to Hex or Edit?
Ware House and Pharmacist and other NPC
09/01/2005 - Conquer Online 2 - 11 Replies
Is it possible to put WhareHouse, Pharmacist and other NPC's in Lab map?... how?.. can anyone help me here on how to Hex or Edit?



All times are GMT +1. The time now is 05:25.


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