As7aB4CooL


 
 . .
<div style="background-color: none transparent;"><a href="http://www.rsspump.com/?web_widget/rss_ticker/news_widget" title="News Widget">News Widget</a></div>

 | 
 

  5165

         
Wanted-Co
...::: | | :::...
...:::  |  |  :::...



:
:
:
:
: 2
: 19
: 2617

: 5165    11/28/2009, 11:38 am

:- Alex
NewestCOServer.csproj visual C Sharp
PacketHandling/NPCDialog.cs
Eternity Ctrl+F


-==(( ))==-


#region Alex
case 3600:
{
if (Control == 0)
{

GC.AddSend(Packets.NPCSay("So you feel like getting 2nd reborn? Well then you came to the right place. In order to get 2nd reborn you need to be level 120 and have a Exemption Token"));
GC.AddSend(Packets.NPCLink("I want 2nd reborn", 1));
GC.AddSend(Packets.NPCLink("Nope, you're mistaken.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());

}
else if (Control == 1)
{
if (GC.MyChar.Reborns < 2 && GC.MyChar.Reborns > 0 )
{
GC.AddSend(Packets.NPCSay("Well lets get this reborning on its way."));
GC.AddSend(Packets.NPCLink("Im ready", 2));
GC.AddSend(Packets.NPCLink("I have changed my mind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You are allready 2nd reborn, How dare you fool me."));
GC.AddSend(Packets.NPCLink("I shall leave.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 2)
{
if (GC.MyChar.Level >= 120 || GC.MyChar.Job == 135 && GC.MyChar.Level >= 110)
{
if (GC.MyChar.Job % 10 == 5)
{
if (GC.MyChar.InventoryContains(723701, 1))
{
GC.AddSend(Packets.NPCSay("Do you want me to bless your equipment, Or would you rather have a luxory super gem of your choice"));
GC.AddSend(Packets.NPCLink("Luxory Gem", 30));
GC.AddSend(Packets.NPCLink("Bless", 31));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("All you need is a Excemption Token, How sad."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("You must be a Master in your class or i will nto be able to help you on your journey"));
GC.AddSend(Packets.NPCLink("Damnit", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("You are not high enough level, Pleas go do some leveling and when you are ready you may come see me again"));
GC.AddSend(Packets.NPCLink("You got it. ", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}

else if (Control == 30 || Control == 31)
{
if (Control == 30)
{
GC.MyChar.addBless = 0;
GC.MyChar.SuperGem = 1;
GC.AddSend(Packets.NPCSay("Choose wicth luxory gem you want"));
GC.AddSend(Packets.NPCLink("Luxory Dragon", 43));
GC.AddSend(Packets.NPCLink("Luxory Phoenix", 33));
GC.AddSend(Packets.NPCLink("Luxory Fury", 53));
GC.AddSend(Packets.NPCLink("Luxory Moon", 93));
GC.AddSend(Packets.NPCLink("Luxory Rainbow", 63));
GC.AddSend(Packets.NPCLink("Next", 64));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 31)
{
GC.MyChar.addBless = 1;
GC.MyChar.SuperGem = 0;
GC.AddSend(Packets.NPCSay("Wicth class would you like to be reborn to, But choose wisely because you only have one chance."));
GC.AddSend(Packets.NPCLink("Trojan", 3));
GC.AddSend(Packets.NPCLink("Warrior", 4));
GC.AddSend(Packets.NPCLink("Archer", 5));
GC.AddSend(Packets.NPCLink("WaterTaoist", 6));
GC.AddSend(Packets.NPCLink("FireTaoist", 7));
GC.AddSend(Packets.NPCLink("Ninja", Cool);
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 64)
{
GC.AddSend(Packets.NPCLink("Luxory Kylin", 73));
GC.AddSend(Packets.NPCLink("Luxory Violet", 83));
GC.AddSend(Packets.NPCLink("Luxory Glory", 153));
GC.AddSend(Packets.NPCLink("Luxory Thunder", 133));
GC.AddSend(Packets.NPCLink("Back", 30));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control >= 33 && Control <= 153)
{
byte Gem = (byte)(Control - 30);
GC.MyChar.SuperGem = Gem;
GC.AddSend(Packets.NPCSay("Wicth class would you like to be reborn to, But choose wisely because you only have one chance."));
GC.AddSend(Packets.NPCLink("Trojan", 3));
GC.AddSend(Packets.NPCLink("Warrior", 4));
GC.AddSend(Packets.NPCLink("Archer", 5));
GC.AddSend(Packets.NPCLink("WaterTaoist", 6));
GC.AddSend(Packets.NPCLink("FireTaoist", 7));
GC.AddSend(Packets.NPCLink("Ninja", Cool);
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control >= 3 && Control <= Cool
{
if (GC.MyChar.Level >= 120 || GC.MyChar.Job == 135 && GC.MyChar.Level >= 110)
{
if (GC.MyChar.InventoryContains(723701, 1))
{
GC.MyChar.RemoveItem(GC.MyChar.NextItem(723701));
if (GC.MyChar.SuperGem != 0)
{
GC.MyChar.AddItem((uint)(700000 + GC.MyChar.SuperGem));
}
else if (GC.MyChar.addBless != 0)
{
#region HG
if (GC.MyChar.Equips.HeadGear.ID != 0)
{
if (GC.MyChar.Equips.HeadGear.Bless == 0)
{
GC.MyChar.Equips.HeadGear.Bless = 1;
goto Over;
}
}
#endregion
#region Necklace
if (GC.MyChar.Equips.Necklace.ID != 0)
{
if (GC.MyChar.Equips.Necklace.Bless == 0)
{
GC.MyChar.Equips.Necklace.Bless = 1;
goto Over;
}
}
#endregion
#region Ring
if (GC.MyChar.Equips.Ring.ID != 0)
{
if (GC.MyChar.Equips.Ring.Bless == 0)
{
GC.MyChar.Equips.Ring.Bless = 1;
goto Over;
}
}
#endregion
#region LeftHand
if (GC.MyChar.Equips.LeftHand.ID != 0)
{
if (GC.MyChar.Equips.LeftHand.Bless == 0)
{
GC.MyChar.Equips.LeftHand.Bless = 1;
goto Over;
}
}
#endregion
#region RightHand
if (GC.MyChar.Equips.RightHand.ID != 0)
{
if (GC.MyChar.Equips.RightHand.Bless == 0)
{
GC.MyChar.Equips.RightHand.Bless = 1;
goto Over;
}
}
#endregion
#region Boots
if (GC.MyChar.Equips.Boots.ID != 0)
{
if (GC.MyChar.Equips.Boots.Bless == 0)
{
GC.MyChar.Equips.Boots.Bless = 1;
goto Over;
}
}
#endregion
#region Gourd
if (GC.MyChar.Equips.Gourd.ID != 0)
{
if (GC.MyChar.Equips.Gourd.Bless == 0)
{
GC.MyChar.Equips.Gourd.Bless = 1;
goto Over;
}
}
#endregion
#region Garment
if (GC.MyChar.Equips.Garment.ID != 0)
{
if (GC.MyChar.Equips.Garment.Bless == 0)
{
GC.MyChar.Equips.Garment.Bless = 1;
goto Over;
}
}
#endregion
#region Fan
if (GC.MyChar.Equips.Fan.ID != 0)
{
if (GC.MyChar.Equips.Fan.Bless == 0)
{
GC.MyChar.Equips.Fan.Bless = 1;
goto Over;
}
}
#endregion
#region Tower
if (GC.MyChar.Equips.Tower.ID != 0)
{
if (GC.MyChar.Equips.Tower.Bless == 0)
{
GC.MyChar.Equips.Tower.Bless = 1;
goto Over;
}
}
#endregion
}
Over:
if (Control == 3) GC.MyChar.RebornCharacter(11);
if (Control == 4) GC.MyChar.RebornCharacter(21);
if (Control == 5) GC.MyChar.RebornCharacter(41);
if (Control == 6) GC.MyChar.RebornCharacter(132);
if (Control == 7) GC.MyChar.RebornCharacter(142);
if (Control == Cool GC.MyChar.RebornCharacter(51);
}
}
}
else if (Control == 200)
{
GC.AddSend(Packets.NPCSay("Alright I'll need an DragonBall."));
GC.AddSend(Packets.NPCLink("Okay here is it.", 201));
GC.AddSend(Packets.NPCLink("Its too expensive.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 201)
{
if (GC.MyChar.Reborns > 0)
{
if (GC.MyChar.InventoryContains(1088000, 1))
{
Game.Item DB = null;
foreach (Game.Item I in GC.MyChar.Inventory)
if (I.ID == 1088000)
{ DB = I; break; }
if (DB != null)
{
int AllAtributes = GC.MyChar.Str +
GC.MyChar.Agi +
GC.MyChar.Spi +
GC.MyChar.Vit + GC.MyChar.StatPoints;

GC.MyChar.Str = 0;
GC.MyChar.Agi = 0;
GC.MyChar.Spi = 0;
GC.MyChar.Vit = 1;
GC.MyChar.StatPoints = (ushort)(AllAtributes - 1);
GC.MyChar.CurHP = 1;
GC.MyChar.RemoveItem(DB);
GC.AddSend(Packets.NPCSay("Okay, Done."));
GC.AddSend(Packets.NPCLink("Thank you.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("You dont have the dragonball..."));
GC.AddSend(Packets.NPCLink("Ahh.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}

}
else
{
GC.AddSend(Packets.NPCSay("Your not reborn...Come back when you are reborned."));
GC.AddSend(Packets.NPCLink("Alright.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
F6 F6 F5

C:\OldCODB\NPCs.txt

-==(( ))==-


3600 2160 2 67 1020 436 311
C:\OldCODB\NPCs.txt
.


.
    
 
5165
          
1 1
 
-
» 
» 
» 
» 
» 

:
As7aB4CooL :: (`.`. .`.`) ::   ::  -