|
You last visited: Today at 19:01
Advertisement
[Help] with rb
Discussion on [Help] with rb within the CO2 Private Server forum part of the Conquer Online 2 category.
09/21/2008, 06:24
|
#1
|
elite*gold: 0
Join Date: Feb 2008
Posts: 240
Received Thanks: 10
|
[Help] with rb
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.
|
|
|
09/21/2008, 07:58
|
#2
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
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.
|
|
|
09/21/2008, 11:56
|
#3
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Quote:
Originally Posted by ElDeRnEcRo
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.
|
yes /agree with u
i hope u have an backup before u make this changes then try just changing NPC Script
tell more about ur problem ,u don't have reborn or NPc not work ,not added or u can't use /rb command
i think he may mean about getting disconected when rb and this shity problems
|
|
|
09/21/2008, 22:32
|
#4
|
elite*gold: 0
Join Date: Feb 2008
Posts: 240
Received Thanks: 10
|
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...
|
|
|
09/22/2008, 04:45
|
#5
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Quote:
Originally Posted by Bottingpunk
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...
|
try this it is from my code
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)
{
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);
}
}
}
|
and it Work good and i think u must have Celstial Stone at ur Inventory
if u want make rb w/out stone
make it
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);
}
}
|
|
|
|
All times are GMT +1. The time now is 19:01.
|
|