Register for your free account! | Forgot your password?

You last visited: Today at 13:20

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

Advertisement



[RELEASE]NPC Faces

Discussion on [RELEASE]NPC Faces within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Smile [RELEASE]NPC Faces

Hey dudes
here you go this is the face code

below this
Code:
public static void Input(int LinkBack, ClientSocket CSocket)
		{
			CSocket.Send(ConquerPacket.NPCTalk(LinkBack, 3, ""));
		}
add this
Code:
public static void Face(int Face, ClientSocket CSocket)
        {
            CSocket.Send(ConquerPacket.NPCTalk(2544, Face, 255, 4));
        }

And now at the end of every dialog
with ending End(CSocket);
replace it with
Code:
Face(30, CSocket);
End(CSocket);
The Id 30 can be changed to anything you want ! 0 is no face

Good Luck ^_^

Press thanks if I helped you so I could know that ppl accept my work !
$HaDoW is offline  
Thanks
10 Users
Old 05/29/2009, 16:45   #2
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
So simple, yet it works great.

Thanks dude.

Do you have a list of faces with ids and pictures?
scottdavey is offline  
Old 05/29/2009, 16:51   #3
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
If you're going to copy/paste a portion of someone's own code, give them their credit at least.
[]
nTL3fTy is offline  
Old 05/29/2009, 17:04   #4
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Code:
public static void Face(int Face, ClientSocket CSocket)
        {
            CSocket.Send(ConquerPacket.NPCTalk(2544, Face, 255, 4));
        }
Face(30, CSocket); part is what I had to find out.
Its working so be happy !
btw I didn't say I have made it myself
$HaDoW is offline  
Old 05/29/2009, 17:55   #5
 
xXVamXx's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 91
Received Thanks: 31
Nice Release Shadow Keep it up

Oh ya btw I will try to add the Birth Village Welcome guy dialog for the explanation.

No promoises k
xXVamXx is offline  
Old 05/29/2009, 20:25   #6
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
kk ^_^ I am planing to open a project so everyone could work on it and share of what they have done ! that way we will make the most stable and bugless scource !
$HaDoW is offline  
Old 06/30/2009, 01:31   #7
 
elite*gold: 0
Join Date: Jun 2009
Posts: 140
Received Thanks: 12
Why didnt you tell me it would take 15minutes to Add the Face(30, CSocket); to just the Promotion npcs alone lmao
JustChillin is offline  
Old 06/30/2009, 03:27   #8
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Quote:
Originally Posted by $HaDoW View Post
kk ^_^ I am planing to open a project so everyone could work on it and share of what they have done ! that way we will make the most stable and bugless scource !
Rofl you cannot be serious you HONESTLY think if a bunch of egys come together and make a "perfect source" that it will be bugless gtfo
hunterman01 is offline  
Thanks
1 User
Old 07/27/2009, 07:51   #9
 
ZkiNeF's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 80
Received Thanks: 7
In LOTF:

Quote:
if (CurrentNPC == 10091)
{
SendPacket(General.MyPackets.NPCSay("Saludos! Aqui estoy para Ayudar al Heroe a Empacar los Objetos que Encuentre!."));
SendPacket(General.MyPackets.NPCLink("Empacar Meteoritos", 1));
SendPacket(General.MyPackets.NPCLink("Empacar DBs.", 2));
SendPacket(General.MyPackets.NPCLink("Nada!.", 255));
SendPacket(General.MyPackets.NPCSetFace(2));
SendPacket(General.MyPackets.NPCFinish());
}
Change the number "2" (I use 2 in this npc) for another number and ready to go.

Quote:
SendPacket(General.MyPackets.NPCSetFace(2));
ZkiNeF is offline  
Old 07/27/2009, 12:03   #10
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
lol wow that was easy
Arcotemple:) is offline  
Old 11/08/2009, 21:23   #11
 
elite*gold: 0
Join Date: Jun 2008
Posts: 30
Received Thanks: 0
heya guys what should we do to get all dialogs decoded?
darkichou is offline  
Old 11/08/2009, 21:25   #12
 
elite*gold: 0
Join Date: Oct 2009
Posts: 26
Received Thanks: 17
Who is we?
Why do you want to decode it?
What do you mean with decoding?
BannedUser is offline  
Old 11/08/2009, 21:34   #13
 
elite*gold: 0
Join Date: Jun 2008
Posts: 30
Received Thanks: 0
when i talk to the npcs
they are replying me that the dialogs are not coded :S
what should i do to get all the dialogs coded?
darkichou is offline  
Reply


Similar Threads Similar Threads
[Release/Info] Faces & List
09/30/2009 - CO2 PServer Guides & Releases - 12 Replies
Okay, so my friend was bugging me on MSN about the face packet for NPC's. I decided to shut him up and write it, before that I checked ePvP to see if anyone had released it yet; they had. However, those who released it knew nothing about the packet; not even to offset. What am I talking about? For example, someone released this code: public static void Face(int Face, ClientSocket CSocket) { CSocket.Send(ConquerPacket.NPCTalk(2544, Face, 255, 4)); } ...
[Request] NPC Faces
03/26/2009 - CO2 Private Server - 2 Replies
Just curious if anyone has a list of NPC faces, so when I perform the segment like... SendPacket(General.MyPackets.NPCSetFace(30)); I don't have every NPC with the same face. I extracted some faces from an ani file, but I only seem to get 14, so it leaves me in a bit of a stump. Thanks in advance to anyone who may have a list to share.
npc faces
08/27/2008 - EO PServer Hosting - 1 Replies
hey all, can anyone tell me how i get the face i want instard of the defult face i have looked at many npcs trying to work it out i know how to do all the rest of the npcs. just as an example for you to show me with one of my npcs is a mage peppy so i want it to have a mage peppy face when you talk to it thanks all



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


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.