|
You last visited: Today at 07:57
Advertisement
[RELEASE]Birth-Village NPC ( LOTF )
Discussion on [RELEASE]Birth-Village NPC ( LOTF ) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/28/2009, 16:40
|
#1
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
[RELEASE]Birth-Village NPC ( LOTF )
hey this is a birth village npc release for lotf, if you dont like it then dont even post here , any flamers ill report =] thats just a headsup because i dont want any flames on this thread
anyway this npc reads the class that you are and gives you a super coat, 3 stanchers, weapon for that class and if your a tao you learn thunder =]
i did create this npc from scratch myself. not very hard..
and yes i realize now i can just make it give 3 stanchers and coat put that at end instead of repeating it 4 times, but for now im too lazy to update it . so keep it as it is =]]
Code:
if (CurrentNPC == 1731)
{
SendPacket(General.MyPackets.NPCSay("Do you want me to teleport you to Twin City?"));
SendPacket(General.MyPackets.NPCLink("Yes Please.", 1));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
Code:
if (CurrentNPC == 1731)
{
if (Control == 1)
{
if (MyChar.Job == 10)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("410901-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
if (MyChar.Job == 20)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("410901-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
if (MyChar.Job == 40)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("500301-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1050000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
if (MyChar.Job == 100)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("421301-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.LearnSkill(1000, 0);
}
SendPacket(General.MyPackets.NPCSay("I gave you a few things to get started on your journey, check your inventory."));
SendPacket(General.MyPackets.NPCLink("Thanks!!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
press thanks if this helped
|
|
|
02/28/2009, 19:28
|
#2
|
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
|
Quote:
Originally Posted by PeTe Ninja
hey this is a birth village npc release for lotf, if you dont like it then dont even post here , any flamers ill report =] thats just a headsup because i dont want any flames on this thread
anyway this npc reads the class that you are and gives you a super coat, 3 stanchers, weapon for that class and if your a tao you learn thunder =]
i did create this npc from scratch myself. not very hard..
and yes i realize now i can just make it give 3 stanchers and coat put that at end instead of repeating it 4 times, but for now im too lazy to update it . so keep it as it is =]]
Code:
if (CurrentNPC == 1731)
{
SendPacket(General.MyPackets.NPCSay("Do you want me to teleport you to Twin City?"));
SendPacket(General.MyPackets.NPCLink("Yes Please.", 1));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
Code:
if (CurrentNPC == 1731)
{
if (Control == 1)
{
if (MyChar.Job == 10)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("410901-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
if (MyChar.Job == 20)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("410901-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
if (MyChar.Job == 40)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("500301-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1050000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
if (MyChar.Job == 100)
{
MyChar.Teleport(1002, 439, 387);
MyChar.AddItem("132409-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("421301-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.AddItem("1000000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.LearnSkill(1000, 0);
}
SendPacket(General.MyPackets.NPCSay("I gave you a few things to get started on your journey, check your inventory."));
SendPacket(General.MyPackets.NPCLink("Thanks!!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
press thanks if this helped
|
Very good ... But you should edit your code and add some important things like: Where you can edit to create the acc when this statement appears "Birth Village": D.. Understand now? :X ..
Sorry if I talked nonsense, but I gave my opinion.. =]
|
|
|
02/28/2009, 19:47
|
#3
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Quote:
Originally Posted by DungMaster
Very good ... But you should edit your code and add some basic items such as: Where are you going to change when you build your char go to BirthVillage?
|
i dont understand what your asking me to make... re phrase please
|
|
|
02/28/2009, 21:52
|
#4
|
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
|
O.0 so elivepvper is still alive just no one dos noting on it no more lol
|
|
|
02/28/2009, 21:54
|
#5
|
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
|
O.0 so elivepvper is still alive just no one dos noting on it no more lol at list PeTe Ninja is helping out some i wonder when Qo is gona give up on there server thay have like 200 players copalse has over 300 alredy lol qo is not gona last much soon if thay dont do much wtf why am i talking about this lol its off topic big time lol
|
|
|
03/01/2009, 00:07
|
#6
|
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
|
Double post? O.O"
|
|
|
07/30/2009, 20:59
|
#7
|
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 98
|
Old thread? Idc! I need to ask a question.
I can't remember how to make it so that characters start off in birth village rather than starting in TC. Can someone please refresh my memory?
|
|
|
07/30/2009, 23:22
|
#8
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
Refresh =O? Anyway yea it's a old post.. >.> but I'll answer you Go into navicat then right click characters table.. Design then go down to the part where it has Maps, XCoord, YCoord change the default to w/e you want.. I'm not sure the coords of Birth Village but the map ID is 1010 I believe.
|
|
|
08/01/2009, 00:47
|
#9
|
elite*gold: 0
Join Date: Jun 2008
Posts: 80
Received Thanks: 7
|
So simple... a great help for newbys...
|
|
|
08/01/2009, 03:34
|
#10
|
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
|
Where do I put this? And btw this is to make the reborn npc work right?
|
|
|
08/01/2009, 03:37
|
#11
|
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
|
No, one of the NPC's in BirthVillage not sure which one... Don't feel like checking but probably the WelcomeNPC.. It goes in Client.cs, Search for
Then a NPC should pop up.. Put the first code after the NPC you searched..
Then search it again and put the second code in.
|
|
|
08/01/2009, 11:12
|
#12
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
the npc just poup after u added it into the database :P
|
|
|
|
Similar Threads
|
[Release] Birth Village NPCs
08/10/2010 - CO2 PServer Guides & Releases - 9 Replies
-Deleted-
People are so ungrateful of someones hard work and cba to contribute their own tiny piece.
Might release these on a later dat with all the grammer correct for every class. But don't know yet.
#Request Close
|
[Release] Birth Village Scroll Command
02/14/2010 - CO2 PServer Guides & Releases - 5 Replies
#request close
|
[Release]Birth Village CoEmu V2
01/18/2010 - CO2 PServer Guides & Releases - 38 Replies
Hey dudes for the last hour I was working on the Birth village !
Almost everything is done ! but with the last part I need help !
P.S Every thing is coded totaly by me ! I was playing on TQ to write down every word the NPC say's :o
So here you go !
open NpcTalk.cs in game server handlers folder
and above this
else
{
Text("Please see your trainer NPC, I can only train ninjas! Get lost.", CSocket);
|
[Release]Birth Village My way (LOTF)
08/02/2009 - CO2 PServer Guides & Releases - 5 Replies
In case 2031:
add
#region Birth Village
if (CurrentNPC == 10291)
{
SendPacket(General.MyPackets.NPCSay("Ahh..Wha t do we have here? A newcomer. Does he have what it takes to make it in this world? Can he withstand the brutal forces this place has to offer? Can he, EHM! Oh my, I'm sorry, I got carried away."));
SendPacket(General.MyPackets.NPCLink("Thats fine, I was about...
|
[Release] NPC Welcome guy at Birth Village
05/29/2009 - CO2 PServer Guides & Releases - 8 Replies
Hai Guy This Credit goes to $Hadow coz he is the one who edit the Birth Village NPC
I have just complete the Welcome Guy NPC who will explain your class
go to Handler then double click the NPCTalk look for:
case 1060://Welcome Guy
Then replace all Welcome Guy dialog with this:
|
All times are GMT +2. The time now is 07:57.
|
|