[RELEASE]NPC Faces

05/29/2009 16:40 $HaDoW#1
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 !
05/29/2009 16:45 scottdavey#2
So simple, yet it works great.

Thanks dude.

Do you have a list of faces with ids and pictures?
05/29/2009 16:51 nTL3fTy#3
If you're going to copy/paste a portion of someone's own code, give them their credit at least.
[[Only registered and activated users can see links. Click Here To Register...]]
05/29/2009 17:04 $HaDoW#4
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
05/29/2009 17:55 xXVamXx#5
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 :)
05/29/2009 20:25 $HaDoW#6
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 !
06/30/2009 01:31 JustChillin#7
Why didnt you tell me it would take 15minutes to Add the Face(30, CSocket); to just the Promotion npcs alone lmao
06/30/2009 03:27 hunterman01#8
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
07/27/2009 07:51 ZkiNeF#9
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));
07/27/2009 12:03 Arcotemple:)#10
lol wow that was easy
11/08/2009 21:23 darkichou#11
heya guys what should we do to get all dialogs decoded?
11/08/2009 21:25 BannedUser#12
Who is we?
Why do you want to decode it?
What do you mean with decoding?
11/08/2009 21:34 darkichou#13
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?