Thanks Yuki :D
30 is the face for NPC and 255 is for exitQuote:
Wow i like LOTF Coding ;).
I wanna learn,who want to teach me?
By the way grillmad at link 1/link2 i understand are the options when you click do action but can you tell me what are the numbers (30),(255) and so on...??
This numbers are making the action do when click the link?
Thanks if someone is so kind to write here the numbers of the face.Quote:
30 is the face for NPC and 255 is for exit
if (CurrentNPC == 40900)//City Manager :)
{
SendPacket(General.MyPackets.NPCSay("Welcome traveller to our city.Before start your journey please select a gift to make your journey more easier."));
SendPacket(General.MyPackets.NPCLink("5 Expballs to levelup easier.", 1));
SendPacket(General.MyPackets.NPCLink("215 CPS to try you luck at lottery.", 2));
SendPacket(General.MyPackets.NPCLink("The GODs will give a praying stone(S).", 3));
SendPacket(General.MyPackets.NPCLink("Good luck younger in your journey!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (CurrentNPC == 1111)//City Manager :)
{
if (Control ==1)
{
MyChar.AddItem("723700", 5, (uint)General.Rand.Next(36457836));
SendPacket(General.MyPackets.NPCSay("You have received 5 Expballs.."));
SendPacket(General.MyPackets.NPCLink2("I see and thanks for the gift.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
MyChar.CPs += 215;
SendPacket(General.MyPackets.NPCSay("Look in you inventory ,you have received 215 Conquer Points."));
SendPacket(General.MyPackets.NPCLink2("Awesome i'l try now the lottery.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 3)
{
MyChar.AddItem("1200000", 1, (uint)General.Rand.Next(36457836));
SendPacket(General.MyPackets.NPCSay("The GODS has give to you 1 Praying stone of 3 Days of bless."));
SendPacket(General.MyPackets.NPCLink2("I see and thanks to GODS for this awesome gift.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (CurrentNPC == 40900)//City Manager :)
{
SendPacket(General.MyPackets.NPCSay("Welcome traveller to our city.Before start your journey please select a gift to make your journey more easier."));
SendPacket(General.MyPackets.NPCLink("5 Expballs to levelup easier.", 1));
SendPacket(General.MyPackets.NPCLink("215 CPS to try you luck at lottery.", 2));
SendPacket(General.MyPackets.NPCLink("The GODs will give a praying stone(S).", 3));
SendPacket(General.MyPackets.NPCLink("Good luck younger in your journey!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (CurrentNPC == 40900)//City Manager :)
{
if (Control ==1)
{
MyChar.AddItem("723700", 5, (uint)General.Rand.Next(36457836));
SendPacket(General.MyPackets.NPCSay("You have received 5 Expballs.."));
SendPacket(General.MyPackets.NPCLink2("I see and thanks for the gift.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
MyChar.CPs += 215;
SendPacket(General.MyPackets.NPCSay("Look in you inventory ,you have received 215 Conquer Points."));
SendPacket(General.MyPackets.NPCLink2("Awesome i'l try now the lottery.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 3)
{
MyChar.AddItem("1200000", 1, (uint)General.Rand.Next(36457836));
SendPacket(General.MyPackets.NPCSay("The GODS has give to you 1 Praying stone of 3 Days of bless."));
SendPacket(General.MyPackets.NPCLink2("I see and thanks to GODS for this awesome gift.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
Thank you very much for taht you could use guide and no problem:handsdown:Quote:
Neah i like this guide much easier ,and i like the teachers (Yuki & grillmad):P.;).
And i find you very useless. Why dont you make somethings self that actually help?Quote:
Don't take this personally, but I feel this guide is quite useless as there is allready one out there. Pretty much exactly the same really.
Yeah exactly, they just say something you made is stupid, because it is already out there, BUT is always good with more helps, because some peoples dont use the search button and then they only look on the first 3 pages and if dont find what they search they just leave again.Quote:
@grillmad agree with you
I see on forum most of the people comment on others thread and say "Useless thread,get a life,you site sux,you guide sux" only stupid comments,but they don't do something to help others only to TALK.
I don't have any actual reason to release anything. My source is strictly for myself and Yuki. So no, I'm not planning to release anything. And when it comes to edits and guides, I have made quite a few of those.Quote:
@grillmad agree with you
I see on forum most of the people comment on others thread and say "Useless thread,get a life,you site sux,you guide sux" only stupid comments,but they don't do something to help others only to TALK.