You last visited: Today at 22:22
Advertisement
Pharmacist Dialog Param
Discussion on Pharmacist Dialog Param within the CO2 Private Server forum part of the Conquer Online 2 category.
10/17/2011, 15:07
#1
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Pharmacist Dialog Param
hello guys , lets see this code for , Pharmacist with text Dialog
i need Pharmacist Dialog Param id
PHP Code:
#region NpcDivorce
case 123456 :
{
switch ( npcRequest . OptionID )
{
case 0 :
{
dialog . Text ( "ElitePvpers ElitePvpers ElitePvpers ElitePvpers ElitePvpers." );
dialog . Option ( "Yes." , 1 );
dialog . Option ( "No." , 255 );
dialog . Avatar ( 56 );
dialog . Send ();
break;
}
case 1 :
{
Network . GamePackets . Data Data = new Network . GamePackets . Data ( true );
Data . UID = client . Entity . UID ;
Data . ID = 126 ;
Data . dwParam = ???;
Data . wParam1 = client . Entity . X ;
Data . wParam2 = client . Entity . Y ;
client . Send ( Data );
break;
}
}
break;
}
#endregion
10/17/2011, 15:35
#2
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Ive been trying it too,
10/17/2011, 15:55
#3
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by
-Sensei-
Ive been trying it too,
i think you can get the code if you open conquer.exe with hex program !!
10/17/2011, 16:42
#4
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
You mad?
10/17/2011, 16:48
#5
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by
-Sensei-
You mad?
mad of what ?
or do you mean made it ?
anyway i didn't made it yet , and i am not mad at all
10/17/2011, 17:50
#6
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Quote:
Originally Posted by
abdeen
mad of what ?
or do you mean made it ?
anyway i didn't made it yet , and i am not mad at all
Then stop using |Punctaution mark
@on topic
TrinityCo have it ,
10/17/2011, 18:21
#7
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by
-Sensei-
Then stop using |Punctaution mark
@on topic
TrinityCo have it ,
lol , we need to know this id , can you help me ?
10/17/2011, 18:29
#8
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Compose = 1,
Craft = 2,
Warehouse = 4,
DetainRedeem = 336,
DetainClaim = 337,
OpenSockets = 425,
VIPWarehouse = 341,
Breeding = 368,
PurificationWindow = 455,
StabilizationWindow = 459,
TalismanUpgrade = 347,
GemComposing = 422,
Blessing = 426,
TortoiseGemComposing = 438,
RefineryStabilization = 448,
HorseRacingStore = 464,
Reincarnation = 485,
GarmentShop = 502;
10/17/2011, 18:43
#9
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by
-Sensei-
Compose = 1,
Craft = 2,
Warehouse = 4,
DetainRedeem = 336,
DetainClaim = 337,
OpenSockets = 425,
VIPWarehouse = 341,
Breeding = 368,
PurificationWindow = 455,
StabilizationWindow = 459,
TalismanUpgrade = 347,
GemComposing = 422,
Blessing = 426,
TortoiseGemComposing = 438,
RefineryStabilization = 448,
HorseRacingStore = 464,
Reincarnation = 485,
GarmentShop = 502;
okay , i know all of them , i can get them from Data.cs file , but i can't find Pharmacist shop id
10/17/2011, 19:00
#10
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally Posted by
abdeen
okay , i know all of them , i can get them from Data.cs file , but i can't find Pharmacist shop id
The shop ID is the same as the NPC's ID.
10/17/2011, 19:09
#11
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by
Lateralus
The shop ID is the same as the NPC's ID.
i don't think so , but you can edit this code to make it open shop with an option ?
do it please!
PHP Code:
#region NpcDivorce
case 123456 :
{
switch ( npcRequest . OptionID )
{
case 0 :
{
dialog . Text ( "ElitePvpers ElitePvpers ElitePvpers ElitePvpers ElitePvpers." );
dialog . Option ( "Yes." , 1 );
dialog . Option ( "No." , 255 );
dialog . Avatar ( 56 );
dialog . Send ();
break;
}
case 1 :
{
Network . GamePackets . Data Data = new Network . GamePackets . Data ( true );
Data . UID = client . Entity . UID ;
Data . ID = 126 ;
Data . dwParam = ???;
Data . wParam1 = client . Entity . X ;
Data . wParam2 = client . Entity . Y ;
client . Send ( Data );
break;
}
}
break;
}
#endregion
10/17/2011, 19:58
#12
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
Quote:
Originally Posted by
Lateralus
The shop ID is the same as the NPC's ID.
Yah we know but Its not like that.
We want to spawn the Pharmacist via npc Dialogs like realco.
10/17/2011, 20:05
#13
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by
-Sensei-
Yah we know but Its not like that.
We want to spawn the Pharmacist via npc Dialogs like realco.
about the Pharmacist Dialog id , you can get it from conquer.exe
but i wanna know something about summon a monster via dialog too , i coded the npc and he summon it like real co , but if i need to summon it again it wont summon it till i restart the server .
why is that ?
10/18/2011, 06:28
#14
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally Posted by
-Sensei-
Yah we know but Its not like that.
We want to spawn the Pharmacist via npc Dialogs like realco.
Send the NPC spawn packet (type 2030) with the desired information when a user selects the option you want to spawn it. I'm not going to be implementation specific, sorry.
10/18/2011, 07:01
#15
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,383
.... 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.
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 +2. The time now is 22:23 .