|
You last visited: Today at 10:56
Advertisement
[Guide]Adding Npcs
Discussion on [Guide]Adding Npcs within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
07/17/2009, 18:57
|
#16
|
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 99
|
Can you make a guide on how to add an NPC in Visual C# for lotf. I want to know how to make a simple NPC that teleports you and simple NPC that gives you a +12 item. =p
|
|
|
07/17/2009, 19:15
|
#17
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
Why are you bumping all these old threads? This is for LOTF also.. I saw you've been messing with CoEmuV2 so was wondering if you knew.
LOTF:
Add Item Example with DB
Code:
MyChar.AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
Teleport
Code:
MyChar.Teleport(MAP, X, Y);
CoEmuV2:
Add Item <-- Not sure if it's correct just an example
Code:
AddItem("ID, 9, 2, 12, 7, 255 , 3, 0, 0, CSocket);
Teleport
Code:
Teleport("MAP, X, Y, INSTANCE, CSocket);
|
|
|
07/17/2009, 19:55
|
#18
|
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 99
|
Yeah I'm working on both but LOTF seems easier for noobs like me. And I know I'm bumping a lot but I need info  And I didn't pay attention to the date, muh bad>.>
and thanks for your examples=p
|
|
|
07/17/2009, 20:34
|
#19
|
elite*gold: 0
Join Date: May 2008
Posts: 103
Received Thanks: 3
|
is it for comeu v2
|
|
|
09/02/2009, 11:47
|
#20
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
bump because someone requested it, and I added this to my LOTF Releases thread.
|
|
|
09/02/2009, 15:25
|
#21
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
Ok after you made the NPCs in the database go ahead Open up your source with C# move to Client.cs Search From the top if (CurrentNPC == That should take you to the first NPC there is in your Client.cs wich is where u put the NPcs to talk On top of that to add a simple NPC
Quote:
if (CurrentNPC == 20)
{
Sendpacket(General.MyPackets.NPCSay("Hey there I Can Send You to A Location A Secret Plaace [:"));
SendPacket(General.myPackets.NPCLink("Ok Take me there", 1));
SendPacket(General.MyPackets.MPCLink("Nah I Dont Trust You", 255));
SendPacket(General.MyPackets.NPCSetFace(154));
SendPacket(General.MyPackets.NPCFinish());
|
That was just to make him Talk Ok Now look at the NPC UID that you added that one on top of So if its 200 You Search if (CurrentNPC == 200) and it should take you to the controls wich are hes actions
On Top Of it Add
Quote:
if (CurrentNPC == 20)
{
if (Control == 1)
{
MyChar.Teleport(1036, 211, 196);
}
}
|
Well It should work just fix my Mistakes i know theres alot did it verry quick was doing something  [
|
|
|
 |
|
Similar Threads
|
[GUIDE]Adding a new item
04/20/2017 - EO PServer Guides & Releases - 17 Replies
Hello,It's me again Necron33 with a new guide
This Guide Tells you how to add a new item including everything(Client,Action,Itemtype).
Making Items is divided to:-DataBase,Client
DataBase:-cq_itemtype,cq_action(if you wanna make action).
Client:-Itemtype.dat,shop.dat(if you want to add it in any shop),ItemMinIcon.ani,MapItemIcon.ani
We will begin with DataBase,I will make a EPCard680,which is going to give players(I will explain how to make the items for excat levels,Vip levels)
Most...
|
[Guide] Adding 10D to SEA.
07/27/2010 - SRO PServer Guides & Releases - 5 Replies
First, Download These Two Files.
MEGAUPLOAD - The leading online storage and file delivery service
MEGAUPLOAD - The leading online storage and file delivery service
Then Extract the Silkroad RAR Content into an Empty Folder, then Place the Data and Maps Into That Folder.
Then you Start Your Emu, Then Use The Launcher Attached Below.
Enjoy.
|
Guide for Adding 10+11D to SEA Emu.
07/24/2010 - SRO Private Server - 5 Replies
I've gotten most of the bugs fixed up to 9D and was looking to add the 10D+11D files, but most people are to dumb to say how to do it, is it possible we can get a guide, or someone who speaks decent english to Explain how to Add it.
I downloaded the newest client, to the Data and Particles and Moved it to my Emu's SRO Client Folder. Still cannot spawn anything.
|
[NEED HELP] adding npcs on PowerSourceCo
08/24/2009 - CO2 Private Server - 2 Replies
hello everyone! =)
well.. i created a conquer server, but when i tried to add a npc, or edit one, i found myself in a strnge situation, i tried to follow the guide "how to work has a pro on LOFT server" by emme.
but, i can add the npc, but i cant make it talk, or give items, its like a statue O.o
hope someone can helpme,
thank you,
saryogan
|
[Guide]Adding new jobs.
04/12/2009 - CO2 PServer Guides & Releases - 3 Replies
Alright, I was playing around with my client and was looking for a way to add a new job. In case I wanted to make a new class or something.
Go to your client folder, navigate the "ini" folder, mine's at:
C:\Users\Rob\Desktop\Client\ini
Open the file called:
ProfessionalName.ini
|
All times are GMT +1. The time now is 10:56.
|
|