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 >= 120)
{
if (GC.MyChar.Job % 10 == 5)
{
if (GC.MyChar.InventoryContains(723701, 1))
{
GC.AddSend(Packets.NPCSay("Do you want me to have a go at the quest or do you have Exemption Token?"));
GC.AddSend(Packets.NPCLink("Quest please", 30));
GC.AddSend(Packets.NPCLink("I have the token", 31));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("All you need is an Exemption 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, Please 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)
{
GC.MyChar.Teleport(1700, 596, 652);
break;
}
else if (Control == 31)
{
if (Control == 31)
{
GC.AddSend(Packets.NPCSay("Choose your profession"));
GC.AddSend(Packets.NPCLink("Watertao", 43));
GC.AddSend(Packets.NPCLink("Firetao", 33));
GC.AddSend(Packets.NPCLink("Archer", 53));
GC.AddSend(Packets.NPCLink("Warrior", 93));
GC.AddSend(Packets.NPCLink("Trojan", 63));
GC.AddSend(Packets.NPCLink("Ninja", 64));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
#endregion
Ok so I have been playing around again but this brings up 303 errors I think? This is for the 5165 source and all it is supposed to do the same as what Alex is supposed to do such as check your lvl and whether you have Exemption token and if you do not have token then it is supposed to put you into 2nd rb map. This used to be an older script which had supergems and bless but I do not want any of that in this so can somebody take a quick look and tell me where I have gone wrong. I am not a coder or programmer and I am trying my hardest to work these things out myself and sometimes I fail and other times I succeed so please can anybody help?
When you say break I know what you mean but how many am I missing? And would it be going at the end of say
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());
#break;<<<<------like there and likewise for the rest of the script?
When you say break I know what you mean but how many am I missing? And would it be going at the end of say
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());
#break;<<<<------like there and likewise for the rest of the script?
Thank you It has no errors now I just need to test it to make sure it works hehe. Only problem I did have before was a non rb char was told it was already 2nd rb >.< I will check that though but thank you again
Thank you It has no errors now I just need to test it to make sure it works hehe. Only problem I did have before was a non rb char was told it was already 2nd rb >.< I will check that though but thank you again
Thank you It has no errors now I just need to test it to make sure it works hehe. Only problem I did have before was a non rb char was told it was already 2nd rb >.< I will check that though but thank you again
And yes I know why it says about the char is already 2nd rb even if the char is not even 1st rb 120+ lol It is how it is actually written and I guess I need to add a little something :P
Whats wrong with this script? 12/19/2009 - CO2 Private Server - 3 Replies public class Halo
{
private Character C;
public ulong Donation;
public int ListHalo;
private Ranks HaloID;
public Halo(Character c)
{
C = c;
}
What the heck is wrong with this script, everything looks right :S 02/08/2009 - Silkroad Online - 2 Replies He runs to the first set of coordinates i give him.. right near storage.... He stops.. He stores storage....and then he just sits there and does nothing..
"cmd","",""
"cmd","",""
"cmd","",""
"cmd","",""
"cmd","",""
"-5143","2816","0"
"cmd","",""
"store open","0104000000","Storage-Ke eper Saesa"
What is wrong in this script? 10/18/2008 - Silkroad Online - 5 Replies "//","..............^^............. ................^^..............","//&qu ot;
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Versi on 3.2 ....................","//"
"//","............................ ....................................."," //"
"//","Town: Hotan","//"
"//","Monster: (Roc) ----- Wing Tribe Attacker 4 by...