Ok I was wondering if someone could help...
All I did on this code was combine 2 Reborns (First and second)
This is what it is
Code:
if (CurrentNPC == 1278)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("If you want to rebirth, you should reach a certain level, get the hightest occupation"));
SendPacket(General.MyPackets.NPCSay(" title and get a CelestialStone. After the rebirth, you can distribute your attribute"));
SendPacket(General.MyPackets.NPCSay(" more freely. And you can learn more powerful skill."));
SendPacket(General.MyPackets.NPCLink("What is CelestialStone?", 8));
SendPacket(General.MyPackets.NPCLink("I would like to Reborn.", 9));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
SendPacket(General.MyPackets.NPCSay("CelestialStone syncrinizes seven gems in the world, and I will pave the way for rebirth."));
SendPacket(General.MyPackets.NPCLink("I see.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 3)
{
if (MyChar.InventoryContains(721259, 1))
{
SendPacket(General.MyPackets.NPCSay("What class would you like to reborn into?"));
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());
}
else
{
SendPacket(General.MyPackets.NPCSay("You cannot reborn if you don't have a celestial stone."));
SendPacket(General.MyPackets.NPCLink("I see.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 4)
{
if (MyChar.InventoryContains(721259, 1))
{
if (RBGem == "Dragon")
MyChar.AddItem("700013-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Phoenix")
MyChar.AddItem("700003-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Rainbow")
MyChar.AddItem("700033-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Fury")
MyChar.AddItem("700023-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Kylin")
MyChar.AddItem("700043-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Violet")
MyChar.AddItem("700053-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Moon")
MyChar.AddItem("700063-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Tortoise")
MyChar.AddItem("700073-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(11);
}
}
if (Control == 5)
{
if (MyChar.InventoryContains(721259, 1))
{
if (RBGem == "Dragon")
MyChar.AddItem("700013-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Phoenix")
MyChar.AddItem("700003-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Rainbow")
MyChar.AddItem("700033-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Fury")
MyChar.AddItem("700023-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Kylin")
MyChar.AddItem("700043-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Violet")
MyChar.AddItem("700053-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Moon")
MyChar.AddItem("700063-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Tortoise")
MyChar.AddItem("700073-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(21);
}
}
if (Control == 6)
{
if (MyChar.InventoryContains(721259, 1))
{
if (RBGem == "Dragon")
MyChar.AddItem("700013-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Phoenix")
MyChar.AddItem("700003-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Rainbow")
MyChar.AddItem("700033-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Fury")
MyChar.AddItem("700023-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Kylin")
MyChar.AddItem("700043-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Violet")
MyChar.AddItem("700053-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Moon")
MyChar.AddItem("700063-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Tortoise")
MyChar.AddItem("700073-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(41);
}
}
if (Control == 7)
{
if (MyChar.InventoryContains(721259, 1))
{
if (RBGem == "Dragon")
MyChar.AddItem("700013-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Phoenix")
MyChar.AddItem("700003-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Rainbow")
MyChar.AddItem("700033-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Fury")
MyChar.AddItem("700023-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Kylin")
MyChar.AddItem("700043-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Violet")
MyChar.AddItem("700053-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Moon")
MyChar.AddItem("700063-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Tortoise")
MyChar.AddItem("700073-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(142);
}
}
if (Control == 8)
{
if (MyChar.InventoryContains(721259, 1))
{
if (RBGem == "Dragon")
MyChar.AddItem("700013-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Phoenix")
MyChar.AddItem("700003-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Rainbow")
MyChar.AddItem("700033-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Fury")
MyChar.AddItem("700023-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Kylin")
MyChar.AddItem("700043-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Violet")
MyChar.AddItem("700053-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Moon")
MyChar.AddItem("700063-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
if (RBGem == "Tortoise")
MyChar.AddItem("700073-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(132);
}
}
if (Control == 9)
{
SendPacket(General.MyPackets.NPCSay("When you reborn, you get a Super Gem! What gem would you like?"));
SendPacket(General.MyPackets.NPCLink("Dragon", 10));
SendPacket(General.MyPackets.NPCLink("Phoenix", 11));
SendPacket(General.MyPackets.NPCLink("Rainbow", 12));
SendPacket(General.MyPackets.NPCLink("Moon", 13));
SendPacket(General.MyPackets.NPCLink("Violet", 14));
SendPacket(General.MyPackets.NPCLink("Kylin", 15));
SendPacket(General.MyPackets.NPCLink("Fury", 16));
SendPacket(General.MyPackets.NPCLink("Tortoise", 17));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 10)
{
RBGem = "Dragon";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 11)
{
RBGem = "Phoenix";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 12)
{
RBGem = "Rainbow";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 13)
{
RBGem = "Moon";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 14)
{
RBGem = "Violet";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 15)
{
RBGem = "Kylin";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 16)
{
RBGem = "Fury";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 17)
{
RBGem = "Tortoise";
SendPacket(General.MyPackets.NPCSay("You have chosen a " + RBGem + " Gem, is this right?"));
SendPacket(General.MyPackets.NPCLink("No.", 9));
SendPacket(General.MyPackets.NPCLink("Yes.", 7));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 18)
{
SendPacket(General.MyPackets.NPCSay("What would you like to get second reborn into? Remember that your earlier skills don't save and it cost an ExemptionToken."));
SendPacket(General.MyPackets.NPCLink("Trojan", 9));
SendPacket(General.MyPackets.NPCLink("Warrior", 10));
SendPacket(General.MyPackets.NPCLink("Archer", 11));
SendPacket(General.MyPackets.NPCLink("Fire Taoist", 12));
SendPacket(General.MyPackets.NPCLink("WaterTaoist" , 13));
SendPacket(General.MyPackets.NPCLink("WaterTaoist" , 14));
SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 19)
{
if (MyChar.InventoryContains(721259, 1))
MyChar.ReBorn(20);
}
if (Control == 21)
{
if (MyChar.InventoryContains(721259, 1))
MyChar.ReBorn(21);
}
if (Control == 22)
{
if (MyChar.InventoryContains(721259, 1))
MyChar.ReBorn(41);
}
if (Control == 23)
{
if (MyChar.InventoryContains(721259, 1))
MyChar.ReBorn(101);
}
if (Control == 24)
{
if (MyChar.InventoryContains(721259, 1))
MyChar.ReBorn(131);
}
}
I was wondering is someone could make me a another one so you can choose what gem you want on first reborn... Then you got second reborn
My problem with that code is you can do it nonstop...
So can someone either make me a code with 1st rb and 2nd or fix that so it will be a 1st rb and 2nd rb option..
Dude you know what stop thinking your the best coder in the world and you own these forums.. Cause dude honestly just cause you can code a PServer doesn't make you all great cause first of all these are illegal
If you would of read I put there "all I did was combine to rb codes" I did not make these I was wondering if someone could make it so you can block off doing it more than once...
I don't plan on releasing on for myself because none of that is my own... And i never will plan on releasing it I just want to add a good RB system?
Dude you know what stop thinking your the best coder in the world and you own these forums.. Cause dude honestly just cause you can code a PServer doesn't make you all great cause first of all these are illegal
If you would of read I put there "all I did was combine to rb codes" I did not make these I was wondering if someone could make it so you can block off doing it more than once...
I don't plan on releasing on for myself because none of that is my own... And i never will plan on releasing it I just want to add a good RB system?
No,I wont stop until you ******* get the basics,which you dont even want,so stop ******* ask here on epvp for help with pservers when the problems is in your brain.
Lmao you a fking idiot.. Why do you think this fking forum is called CO2 Pserver Discussions and Questions. Dude and you can't make me stop asking questions because everyone learns when you ask them..
You're right I'm not gonna learn the basics of C# because its a waste of my time... I'm not going to spend 3 hours learning the basics cause I actually have a life and it seems your life is on this forum. I'm not gonna use C# anyway.
So once you create a useful post that someone actually hasn't released then maybe I will learn the basics of C# ok?
Like I said don't flame my posts... Or don't post at all Just stop ok?
>Lmao you a fking idiot.. Why do you think this fking< forum is called CO2 Pserver Discussions and Questions. Dude and you can't make me stop asking questions because everyone learns when you ask them.. > Is flame <
You're right I'm not gonna learn the basics of C# because its a waste of my time... I'm not going to spend 3 hours learning the basics cause I actually have a life and it seems your life is on this forum. I'm not gonna use C# anyway.
So once you create a useful post that someone actually hasn't released then maybe I will learn the basics of C# ok? This one is why you should, whether it's useful or not.
Like I said don't flame my posts... Or don't post at all Just stop ok?
Dude, are you on crack?
The source is in C#, everything you add to it IS IN C#. It'll also take you longer than 3 hours to learn C#, but it's worth it, you can add whatever you want(if you're good enough), without help(unlike me, ask some people I annoy ). This forum is called CO2Pserver Disccussions / Questions, not ask for code for your pserver.
And you can't flame someone telling them not to flame; it's hypocritical, and ******* stupid.
Alright it seems you don't know what your talking about.. Just all stop flaming ok?
First of all this is an asking question forum.. I'm asking for help.. Ok?
I know everything is fking C# and it just isn't worth the time to learn all of it just for a gay CO Pserver... It's easy as hell adding stuff... Just some of this **** doesn't work right.. That's why you ask questions.. I'm not going to spend my life learning how to code this stuff and add myself when I can just add things and ask questions... You don't even have to do **** in C# you can add the stuff in notepad all the C# in my eyes is for compiling..
Emme you think your better than everyone else because you been with this **** for 2 years I have only been here for like 2 days I'm not gonna know how to make my own scripts.. I bet a lot of people here don't even know how.
It's funny you guys are gonna pick a fight.. I ask a question and there goes people flaming my post... (emme) You guys just practically ruin this forum telling people they can't ask question...
Alright it seems you don't know what your talking about.. Just all stop flaming ok?
Seems like you don't either...
First of all this is an asking question forum.. I'm asking for help.. Ok?
I know everything is fking C# and it just isn't worth the time to learn all of it just for a gay CO Pserver... It's easy as hell adding stuff... Just some of this crap doesn't work right.. That's why you ask questions.. I'm not going to spend my life learning how to code this stuff and add myself when I can just add things and ask questions... You don't even have to do crap in C# you can add the stuff in notepad all the C# in my eyes is for compiling.. First, if it's not worth your time to make a server, DON'T MAKE A SERVER. Second, it seems your understanding of what C# does is wrong. C# is not a program, it's a coding "language", Visual Studio is the compiler/IDE/program you use to make the programs. C# is all the { and } and ; and all the words in between, what you call a "script"...(not a script). I could be wrong, but this is what I get from this sentence.
Emme you think your better than everyone else because you been with this crap for 2 years I have only been here for like 2 days I'm not gonna know how to make my own scripts.. I bet a lot of people here don't even know how.
It's funny you guys are gonna pick a fight.. I ask a question and there goes people flaming my post... (emme) You guys just practically ruin this forum telling people they can't ask question...
I'm not flaming you, just pointing out the hypocrisies in your post, and guiding you in the way to answer most of your questions. Again, I don't mind questions, neither does emme, but we want you to try first...
I have been trying dude... I spent a whole day trying to figure out this one code... That's why I have been asking questions but all my posts emme is the first one and everytime it's flame
I have been trying dude... I spent a whole day trying to figure out this one code... That's why I have been asking questions but all my posts emme is the first one and everytime it's flame
First, read the bold I added to the quote..[previous post, not this one]
Now that you're done...
Second, if you're trying to figure out code, that's what the basics of C# is.
If you want, I'll give you a link to some good tutorials, or I can help you with stuff personally through MSN.
First, read the bold I added to the quote..[previous post, not this one]
Now that you're done...
Second, if you're trying to figure out code, that's what the basics of C# is.
If you want, I'll give you a link to some good tutorials, or I can help you with stuff personally through MSN.
Could you give me the links? I probably not going to have enough time a lot of days to actually understand this.. But so far in my server I got a lot...
Could you give me the links? I probably not going to have enough time a lot of days to actually understand this.. But so far in my server I got a lot...
^ Learned from this one myself
^ Heard it's good, never gone through the whole thing
^ Microsofts tutorial, good, because microsoft made C#/.NET(C# is one of the .NET programming languages), so they know how its done I guess.
These'll be good for the basics.. but to understand everything, you'll have to learn some more advanced concepts too. Also, tutorials get you in bad habbits/using inefficient code, but meh, you'll learn better later I guess..
130 Non Reborn Tro 07/17/2007 - Conquer Online 2 - 7 Replies does anyone know the stats for a 130 non-reborn tro? cause im a second reborn tro and and dont remember what stats a 130 tro has, ill give karma to whoever helps me...lol.. :cool:
QUESTION about reborn and 2nd reborn at lv130 12/14/2006 - Conquer Online 2 - 9 Replies my question is if i got reborn at lv130 and got extra 55point after i got lv130 again and got reborn again what will happen to the extra 55point when i first reborn? because i don't want to waste time lv to 130 if i got 2nd reborn these point will gone. any one have a lv130-lv130-and reborn please help me thank you^^