[Release] Celestial Tao Full working!

12/26/2009 12:01 Speedie123#1
heya everybody i had fixed the npc Tweety released and its full working!

Pictures!

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Add this in NPCDialog.cs

Quote:
#region Celestial tao
case 97778:
{
{
GC.AddSend(Packets.NPCSay("Heya do u want to rellot your points!?"));
GC.AddSend(Packets.NPCLink("Yep!.", 200));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
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
and add this to NPCs.txt

97778 8360 2 67 1002 445 375

Done!
12/26/2009 12:26 Sp!!ke#2
#request close paste that in my thread.. !not make double thread with same subiect !
12/26/2009 12:37 Speedie123#3
yours doesn't work thats first.
mine is different than urs got it!?
12/26/2009 13:27 Sp!!ke#4
loll Is my release:| you just copy and modified it , that is not reason to make a new thread ..for same release !! delet you topic and reply in my thread
12/26/2009 13:46 Speedie123#5
dude stfu i didn't copy ur shits urs doesn't even work!
dats a new one!?
12/26/2009 16:52 Arcо#6
Quote:
Originally Posted by Tweety.4Girls View Post
loll Is my release:| you just copy and modified it , that is not reason to make a new thread ..for same release !! delet you topic and reply in my thread

Yeah he modified it because yours didn't work.
His is fully functional so its more than just being modified.
It was repaired.
12/26/2009 17:19 Fleaman#7
@Tweety
I'm sorry about this but I gotta agree with Speedie.
He has the right to make a new thread with a fixed code.
12/27/2009 06:50 .Guru#8
Quote:
Originally Posted by .Rex View Post
@Tweety
I'm sorry about this but I gotta agree with Speedie.
He has the right to make a new thread with a fixed code.
wrong. he's (able) to make a new thread, but if only one things changed.. pretty much HAS to give credit to tweety.
01/02/2010 16:12 WHITELIONX#9
If a problem has been fixed from somebody elses work then it is only right that you should reply in THEIR thread because otherwise it clutters the forums up. In fairness a new thread was not really needed for this it would have been tidier just to place the fixed code in Tweety`s thread.