Okay i'm using lotf of course. But its Twncc source and i can't figure out how to fix it beasue i used all the rb scripts and nothing works any ideas why.
yes /agree with uQuote:
I don`t know what you did, since TCWNN already has RB in it, you don`t have to touch the RB code itself. Instead, make a RB NPC script.
try this it is from my codeQuote:
Okay this is the problem when i click my npc it ask would you like to get first rb then i click yes and then nothing happens i go to my coding and find it if(CurrentNPC == 127) and i go to it and then i go to where the control's are and there is a control 1 it says pick a class tro tao war archer and then it goes on to like 2 3 4 5 6 control and yeah...
and it Work good and i think u must have Celstial Stone at ur InventoryQuote:
if (CurrentNPC == 127)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("Would you like to reborn?"));
if (MyChar.Level >= 120 || MyChar.Job == 135 && MyChar.Level >= 110)
SendPacket(General.MyPackets.NPCLink("Yes", 1));
SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("What would you like to get reborned into? Remember that your earlier skills don't save."));
SendPacket(General.MyPackets.NPCLink("Trojan", 2));
SendPacket(General.MyPackets.NPCLink("Warrior", 3));
SendPacket(General.MyPackets.NPCLink("Archer", 4));
SendPacket(General.MyPackets.NPCLink("Fire Taoist", 5));
SendPacket(General.MyPackets.NPCLink("WaterTaoist" , 6));
SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(11);
}
}
if (Control == 3)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(21);
}
}
if (Control == 4)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(41);
}
}
if (Control == 5)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(101);
}
}
}
Quote:
if (CurrentNPC == 127)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("Would you like to reborn?"));
if (MyChar.Level >= 120 || MyChar.Job == 135 && MyChar.Level >= 110)
SendPacket(General.MyPackets.NPCLink("Yes", 1));
SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("What would you like to get reborned into? Remember that your earlier skills don't save."));
SendPacket(General.MyPackets.NPCLink("Trojan", 2));
SendPacket(General.MyPackets.NPCLink("Warrior", 3));
SendPacket(General.MyPackets.NPCLink("Archer", 4));
SendPacket(General.MyPackets.NPCLink("Fire Taoist", 5));
SendPacket(General.MyPackets.NPCLink("WaterTaoist" , 6));
SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
MyChar.ReBorn(11);
}
if (Control == 3)
{
MyChar.ReBorn(21);
}
if (Control == 4)
{
MyChar.ReBorn(41);
}
if (Control == 5)
{
MyChar.ReBorn(101);
}
}