Exactly, i thought they couldn't create the npc, now they don't even how to copy and paste. Doesn't matter, I'm more then happy to help you out any time if you get stuck on it. Everybody needs a good start.
First, put the npc in PacketHandlers->NpcDialog.cs under the npc 'VIP New'.
Then scroll down, head to the last
#region UnknownMan
case 300006:
{
int ExpToGive = (int)Math.Floor(600000 * (1 + ((GC.MyChar.Level - 1) * 0.1)) * 2);
int NextLevel = GC.MyChar.Level;
if (Control == 0)
{
if (GC.MyChar.Level > 130)
{
Text("You already reached level 130. I can't level you anymore.", GC);
Link("I see.", 255, GC);
End(GC);
}
else
{
Text("Hey, young man. Nice to meet you again. Do you bring any good wine for", GC);
Text("me? Sigh, the only wine that I'm missing is DrunkCelestial produced by the", GC);
Text("Flying with Moon Restaurant. If i have chance to savor it again, I won't mind", GC);
Text(" helping you drawing energy from the powerful DragonBall to increase your\n experience", GC);
Link("Here is a bottle of DrunkCelestial", 1, GC);
Link("Sorry. I forgot to bring it.", 255, GC);
End(GC);
}
}
if (Control == 1)
{
if (NeededExp(GC.MyChar.Level) <= GC.MyChar.Experience)
{
Text("You can only draw energy from Dragonballs once per day. Bring two", GC);
Text(" Dragonballs to me, and then I will help you to transfer the energy containing", GC);
Text("in DBs to your body.So you can make use of the energy to level up instantly", GC);
Text("from Level " + GC.MyChar.Level + " to Level " + GC.MyChar.Level + " (" + ExpToGive % 10 + "%)", GC);
Link("Let's get started!", 2, GC);
Link("Thanks. I see.", 255, GC);
End(GC);
}
else
{
NextLevel++;
Text("You can only draw energy from Drasgonballs once per day. Bring two", GC);
Text(" Dragonballs to me, and then I will help you to transfer the energy containing", GC);
Text("in DBs to your body.So you can make use of the energy to level up instantly", GC);
Text("from Level " + GC.MyChar.Level + " to Level " + NextLevel + "(0%)", GC);
End(GC);
}
}
if (Control == 2)
{
if (GC.MyChar.InventoryContains(722185, 1))
{
if (GC.MyChar.InventoryContains(1088000, 1))
{
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1088000));
GC.MyChar.RemoveItem(GC.MyChar.NextItem(722185));
GiveExp(GC, ExpToGive);
}
else { Text("Sorry, i can't level you up without my dragonball.", GC); Link("Oh, sorry.", 255, GC); }
}
else
{
Text("How dare you deceive me? You don't have any DrunkCelestial with you at all!", GC);
Text("You are wasting my time. I don't want you to say one more word. Get away!", GC);
Link("Sorry.", 255, GC);
End(GC);
}
}
break;
}
#endregion
This one who i will put on NpcDialog.cs ....right ?
i think the problem that people are having its mostlikely cause no one has converted it to its original version like Say shld be like GC.MyChar.NPCSay and so on
i think the problem that people are having its mostlikely cause no one has converted it to its original version like Say shld be like GC.MyChar.NPCSay and so on
No need to convert, i posted functions for them to work with the 5156 source.
Why do you want thanks?
I know you want them cause its what its there for but poeple wont press it if your gonna demand it
I think it's kind of obvious why he wants thanks.
Because he may apply for moderator one day.
And admins look at someone who is helpful, and alot of thanks show that he is helpful.
Why do you want thanks?
I know you want them cause its what its there for but poeple wont press it if your gonna demand it
No, simply because you are spamming my thread with thanks while you can press the thanks button.
I don't care if you click thanks or do not, just don't post here here the 'thanks mangg' message then.
I'm just suggesting you to click the thanks button, instead of posting it. It's the same advice a moderator or an admin would give you.
No, simply because you are spamming my thread with thanks while you can press the thanks button.
I don't care if you click thanks or do not, just don't post here here the 'thanks mangg' message then.
I'm just suggesting you to click the thanks button, instead of posting it. It's the same advice a moderator or an admin would give you.
Im not spamming it
Im saying good job because it is one or it isnt?
Just cause i dont press thanks dont mean nothing
Thanks are dumb
You want one fine i thanked you
Im not spamming it
Im saying good job because it is one or it isnt?
Just cause i dont press thanks dont mean nothing
Thanks are dumb
You want one fine i thanked you
[Request]I need UnknownMan 09/04/2009 - CO2 Private Server - 1 Replies Guys i need This Unknownman Npc...Binary 65 plz :(:(
[Help] UnknownMan source code 02/26/2009 - CO2 Private Server - 7 Replies plss help me guys i need some npc source code like unknownman in the Market... thanks a lot.....