ola pessoal vou postar um bag para começo que da coisas qnd aumentas de level
Creditos : E*Pvpers
1º abres o source pelo NewestCOServer com o visual c#
2º vao ao packet GAME e dentro desse packet tens um packt chamado Characters.cs
3º abres o packet characters.cs
4º procura isto devem ter deserteza quem nao tiver que diga
e por debaixo desse code metes este
agora vamos ao npcdialog.cs
procurem o npc "GateMan" este npc e para quem usa o meu code do brith village para quem na usa procura isto "Birth Village Idiots"
Npc GateMan
Npc Birth Village Idiots
assim voces tem o start packt no inicio
Creditos : E*Pvpers
1º abres o source pelo NewestCOServer com o visual c#
2º vao ao packet GAME e dentro desse packet tens um packt chamado Characters.cs
3º abres o packet characters.cs
4º procura isto devem ter deserteza quem nao tiver que diga
- Código:
#region PenitenceAmulet
case 723727:
{
if (PKPoints >= 30)
{
PKPoints -= 30;
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2000, "You do not have more that 30 PK Points");
}
break;
}
#endregion
e por debaixo desse code metes este
- Código:
#region Beginner Packs
case 723753: //BeginnerPack Lvl 1
{
AddItem(723754); //Next Pack
Silvers += 10000;
AddItem(1200000); //Praying Stone
RemoveItem(I);
break;
}
case 723754: //BeginnerPack Lvl 5
{
if (Level >= 5)
{
AddItem(723755); //Next Pack
Silvers += 10000;
AddItem(723700); //ExpBall
AddItem(723700); //ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723755: //BeginnerPack Lvl 10
{
if (Level >= 10)
{
AddItem(723756); //Next Pack
Silvers += 10000;
AddItem(723700); //ExpBall
AddItem(723017); //ExpPotion
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723756: //BeginnerPack Lvl 15
{
if (Level >= 15)
{
if (Job >= 10 || Job <= 25)
{
AddItem(410018); //Elite LeafBlade
}
else if (Job >= 50 || Job <= 55)
{
AddItem(601018); //Elite IronKatana
}
else if (Job >= 40 || Job <= 45)
{
AddItem(500008); //Elite Bamboo Bow
}
else if (Job >= 100 || Job <= 145)
{
AddItem(421018); //Elite SpellBackSword
}
Silvers += 10000;
AddItem(723757); //Next Pack
AddItem(723700); //ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723757: //BeginnerPack Lvl 20
{
if (Level >= 20)
{
Silvers += 10000;
AddItem(723017); //ExpPotion
AddItem(723758); //Next Pack
for (byte i = 0; i < 4; i++)
{
AddItem(1088000); //DragonBalls
}
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723758: //BeginnerPack Lvl 25
{
if (Level >= 25)
{
CPs += 500;
AddItem(723759); //Next Pack
AddItem(723017); //ExpPotion
AddItem(725018); //Dance2
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723759: //BeginnerPack Lvl 30
{
if (Level >= 30)
{
AddItem(723760); //Next Pack
AddItem(723700); //ExpBall
AddItem(730004); //+4 Stone
AddItem(723789); //TODO: Bonus Ticket NPC
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723760: //BeginnerPack Lvl 35
{
if (Level >= 35)
{
AddItem(723761); //Next Pack
AddItem(723700); //ExpBall
AddItem(730003); //+3 Stone
AddItem(1200005); //ToughDrill
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723761: //BeginnerPack Lvl 40
{
if (Level >= 40)
{
AddItem(723762); //Next Pack
AddItem(1200005); //ToughDrill
AddItem(752099); //99Lillies
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723762: //BeginnerPack Lvl 45
{
if (Level >= 45)
{
AddItem(723763); //Next Pack
AddItem(1088000); //DragonBall
if (Job >= 10 || Job <= 15)
{
AddItem(410059); //Super BroadSword
}
else if (Job >= 20 || Job <= 25)
{
AddItem(410059); //Super BroadSword
AddItem(900008); //Elite SoftShield
}
else if (Job >= 50 || Job <= 55)
{
AddItem(601079); //Super MoonKatana
}
else if (Job >= 40 || Job <= 45)
{
AddItem(500069); //Super ScarletBow
}
else if (Job >= 100 || Job <= 145)
{
AddItem(421068); //Super RoseBackSword
}
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723763: //BeginnerPack Lvl 50
{
if (Level >= 50)
{
AddItem(723764); //Next Pack
AddItem(1200001); //Praying Stone (M)
AddItem(723717); //Class5 MoneyBag
AddItem(723700); //ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723764: //BeginnerPack Lvl 50
{
if (Level >= 55)
{
AddItem(723765); //Next Pack
AddItem(1200001); //Praying Stone (M)
AddItem(723717); //Class5 MoneyBag
AddItem(723700); //ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723765: //BeginnerPack Lvl 60
{
if (Level >= 60)
{
AddItem(723766); //Next Pack
AddItem(1088000); //DragonBall
CPs += 300;
if (Job >= 10 || Job <= 15)
{
AddItem(130059); //Super DemonArmour
}
else if (Job >= 20 || Job <= 25)
{
AddItem(131059); //Super ChainedArmour
AddItem(900029); //Super OctagonalShield
}
else if (Job >= 50 || Job <= 55)
{
AddItem(135059); //Super WolfVest
}
else if (Job >= 40 || Job <= 45)
{
AddItem(133039); //Super LeopardCoat
}
else if (Job >= 100 || Job <= 145)
{
AddItem(134059); //Super PowerGown
}
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723766: //BeginnerPack Lvl 65
{
if (Level >= 65)
{
AddItem(723767); //Next Pack
AddItem(1200005); //ToughDrill
AddItem(752099); //99Lillies
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723767: //BeginnerPack Lvl 70
{
if (Level >= 70)
{
AddItem(723768); //Next Pack
Silvers += 1000000;
AddItem(753009); //9 Orchids
AddItem(723744); //Power ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723768: //BeginnerPack Lvl 75
{
if (Level >= 75)
{
AddItem(723769); //Next Pack
Silvers += 500000;
AddItem(710212); //Lottery Ticket
AddItem(710212); //Lottery Ticket
AddItem(1080001); //Emerald
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723769: //BeginnerPack Lvl 80
{
if (Level >= 80)
{
AddItem(723770); //Next Pack
Silvers += 500000;
AddItem(1200001); //Praying Stone (M)
if (Job >= 15 || Job <= 55)//Trojan, Ninja, Warrior, Archer
{
AddItem(150159, 4); //Super AgateRing
AddItem(120159, 4); //Super BasaltNecklace
}
else if (Job >= 100 || Job <= 145)
{
AddItem(152149, 4); //Super Cyanite Braclet +4
AddItem(121159, 4); //Super JadeBag +4
}
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723770: //BeginnerPack Lvl 90
{
if (Level >= 90)
{
AddItem(723771); //Next Pack
Silvers += 3000000;
AddItem(710212); //Lottery Ticket
AddItem(1200001); //Praying Stone (M)
AddItem(753009); //9 Orchids
AddItem(723700); //ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723771: //BeginnerPack Lvl 95
{
if (Level >= 95)
{
AddItem(723772); //Next Pack
Silvers += 3000000;
AddItem(710212); //Lottery Ticket
AddItem(1200001); //Praying Stone (M)
AddItem(723017); //ExpPot
AddItem(723017); //ExpPot
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723772: //BeginnerPack Lvl 100
{
if (Level >= 100)
{
AddItem(723773); //Next Pack
Silvers += 3000000;
AddItem(722311); //HeroToken NEED NPC
AddItem(723017); //ExpPot
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723773: //BeginnerPack Lvl 105
{
if (Level >= 105)
{
AddItem(160199, 6); //Super Boots +6
AddItem(723774); //Next Pack
if (Job >= 15 || Job <= 55)//Trojan, Ninja, Warrior, Archer
{
for (byte i = 0; i < 4; i++)
{
AddItem(700013); //SDG x3
}
}
else if (Job >= 100 || Job <= 145)
{
for (byte i = 0; i < 4; i++)
{
AddItem(700003); //SPG x3
}
}
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723774: //BeginnerPack Lvl 110
{
if (Level >= 110)
{
AddItem(723775); //Next Pack
AddItem(720028); //DBScroll
AddItem(720028); //DBScroll
AddItem(1200005); //ToughDrill
AddItem(1200005); //ToughDrill
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723775: //BeginnerPack Lvl 110
{
if (Level >= 115)
{
AddItem(723776); //Next Pack
AddItem(1200002); //PrayingStone (L)
AddItem(723744); //Power ExpBall
AddItem(723744); //Power ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
case 723776: //BeginnerPack Lvl 120
{
if (Level >= 120)
{
AddItem(721090); //MoonBox
AddItem(723788); //Beginner Ticket
AddItem(723744); //Power ExpBall
AddItem(723744); //Power ExpBall
RemoveItem(I);
}
else
{
MyClient.LocalMessage(2005, "You need the Required level in order to Open This BeginnerPack");
}
break;
}
#endregion
agora vamos ao npcdialog.cs
procurem o npc "GateMan" este npc e para quem usa o meu code do brith village para quem na usa procura isto "Birth Village Idiots"
Npc GateMan
- Código:
#region GateMan
case 10010://Village gateman
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Well, with time the tremendous efforts, you will sure have a brilliant future in Twim City. Now, are you ready to visit Twim City?"));
GC.AddSend(Packets.NPCLink("I need more advice.", 1));
GC.AddSend(Packets.NPCLink("Send me to Twim City.", 2));
GC.AddSend(Packets.NPCLink("I'll take a look around here.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
{
GC.AddSend(Packets.NPCSay("You'll soon be in Twim city. I advise you not to stray too far from the city gates. Don't leave the Wind Plains until you're truly ready."));
GC.AddSend(Packets.NPCSay(" I wouldn't even cross the river until you've visited the job center and got a promotion. Open your backpack and drag some potions down into the quick item bar (use the F1-F10 Keys to active.) That'll help you stay alive.... Well, good luck."));
GC.AddSend(Packets.NPCLink("Thanks.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 2)
{
GC.MyChar.Teleport(1002, 439, 390);
GC.MyChar.AddItem(723753);
}
break;
}
Npc Birth Village Idiots
- Código:
#region Birth Village Idiots
/*case 10010:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Do you want to leave?"));
GC.AddSend(Packets.NPCLink("Yeah.", 1));
GC.AddSend(Packets.NPCLink("No.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
if (GC.MyChar.Job == 100 && !GC.MyChar.Skills.Contains((ushort)1000))
{
GC.AddSend(Packets.NPCSay("You have to learn the skills from Taoist Star first."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
GC.MyChar.Teleport(1002, 430, 380);
GC.MyChar.AddItem(723753);
}
break;
}
case 10055:
{
if (Control == 0)
{
if (GC.MyChar.Job == 100 && !GC.MyChar.Skills.Contains((ushort)1000))
{
GC.AddSend(Packets.NPCSay("Before leaving this place, you must learn the skills i have for you to learn."));
GC.AddSend(Packets.NPCLink("I'll learn em.", 1));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You have no business here."));
GC.AddSend(Packets.NPCLink("Ok ok.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 1)
{
if (GC.MyChar.Job == 100)
{
GC.MyChar.NewSkill(new Game.Skill() { ID = 1000 });
GC.MyChar.NewSkill(new Game.Skill() { ID = 1005 });
GC.AddSend(Packets.NPCSay("You may now leave here."));
GC.AddSend(Packets.NPCLink("I'll do that.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
assim voces tem o start packt no inicio