here are the npcs to dis city... you will have to make the other 2 NPCs because in CoEmu databse come only with the first SolarSaint...
if have some bug post please i'm developing it yet!
Edit:
forgot code to start solarsaint
if have some bug post please i'm developing it yet!
Code:
case 3215:
{
if (LinkBack == 0)
{
Text("Our ancestor exerted their utmost efforts and defeated the demons. Since", CSocket);
Text("then the world has been kept in peace forhundreds of years. Now the", CSocket);
Text("demons have come back and the world is getting into turbulence again.", CSocket);
Link("Could you tell me more?", 3, CSocket);
Link("I am here to drive away the evils", 1, CSocket);
Link("I'd better leave", 255, CSocket);
Face(30, CSocket);
End(CSocket); ;
}
else if (LinkBack == 1)
{
if (CSocket.Client.DisCityOn == 0)
{
Text("I'm glad to see that you are such a knightly person. Please come next time.", CSocket);
Link("Ok.", 2, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (CSocket.Client.DisCityOn == 1)
{
if (CSocket.Client.Level >= 110)
{
Teleport(2021, 291, 475, 0, CSocket);
}
else
{
Text("Sorry, you are to week to fight thoose monsters, go get level 110 and talk to me latter", CSocket);
Link("Okay, I will!", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
}
}
else if (LinkBack == 2)
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Find SolarSaint to take the quest from 20:00 to 20:05 every Mon and Wed, from 12:00 to 12:05 every Tues and Thur", Struct.ChatType.Top));
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You may get Exp. of half of ExpBall as reward as log as you enter the Dis City", Struct.ChatType.Top));
}
else if (LinkBack == 3)
{
{
Text("The decisive battle between human and demon broke out here. The", CSocket);
Text("ferocious battle lasted for seven days andnights. Countless heroes lost their", CSocket);
Text("lives. And the justise won. Afterwards we can live in peace for hundreds of", CSocket);
Text("years.", CSocket);
Link("And then?", 4, CSocket);
Face(30, CSocket);
End(CSocket); ;
}
}
else if (LinkBack == 4)
{
{
Text("UltimatePluto, leader of the demons sworn to take revenge in one thousand", CSocket);
Text("years before he managed to run away. Toprevent the demons coming back, I", CSocket);
Text("have been scouting their land cautiously. Yesterday I found something", CSocket);
Text("unwanted.It seems that Ultimate Pluto has come round to endanger humas", CSocket);
Text("again.", CSocket);
Link("What should we do?", 5, CSocket);
Face(30, CSocket);
End(CSocket); ;
}
}
else if (LinkBack == 5)
{
{
Text("Fortunately UltimatePluto is still unfledged. He must resort to a Battle", CSocket);
Text("Formation for the moment. So I am about to organize an army too infiltrate his", CSocket);
Text("land and destroy his formation before he becomes stronger.", CSocket);
Link("I'll join in you.", 1, CSocket);
Link("I'd like to know more.", 6, CSocket);
Link("Sigh, I'm helpless.", 255, CSocket);
Face(30, CSocket);
End(CSocket); ;
}
}
else if (LinkBack == 6)
{
{
Text("You must kill UltimatePluto rapidly to get DarkHorn so that I can use it to", CSocket);
Text("disable the formation. Before you can do that, you must break into HellGate,", CSocket);
Text("enter the HellHall, and fight through the HellCloster. Countless ferocious", CSocket);
Text("demonsare watching those strongholds. I'll give you some strategies on", CSocket);
Text("breaking through those fortresses if you like.", CSocket);
Link("I want to know HellGate.", 7, CSocket);
Link("I want to know HellHall", 8, CSocket);
Link("I want to know HellCloister", 9, CSocket);
Link("I want to know BattleFormation", 10, CSocket);
Link("Thanks. I know how to do", 255, CSocket);
Face(30, CSocket);
End(CSocket); ;
}
}
else if (LinkBack == 7)
{
Text("HellGate is shielded from poisonous fog, so you can't approach it. But", CSocket);
Text("demons do not fear the gas. They may turninto SoulStones after they die. If", CSocket);
Text("you get five stones for me, I'll help you break through the gate. To protect", CSocket);
Text("the unrelated persons, I'll send the others back as soon as the first 60", CSocket);
Text("persons pass through the gate", CSocket);
Link("Thank you.", 255, CSocket);
Link("I'd like to know more.", 6, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 8)
{
Text("HellHall is the very spot where the demons swear their oaths of allegiance to", CSocket);
Text("UltimatePluto. Everybody must do his best to make a way out. Due to limited", CSocket);
Text("time, I can lead only 30 persons to HellCloister", CSocket);
Link("Thank you.", 255, CSocket);
Link("I'd like to know more.", 6, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 9)
{
Text("You will be divided into two groups to attack from the left and the right flank of", CSocket);
Text("HellCloister. Kill the Wraithas many as you can, because you can't reach", CSocket);
Text("BattleFormation until the amount of Wraith is decreased to a certain level.", CSocket);
Link("Thank you.", 255, CSocket);
Link("I'd like to know more.", 6, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 10)
{
Text("BattleFormation is protected by Syrens. After they are killed out,", CSocket);
Text("UltimatePluto will appear. Make the besteffort to kill him, get his DarkHorn", CSocket);
Text("and give it to me. I can disable the BattleFormation with it. Then I'll sendyou", CSocket);
Text("back. But if you fails to do it, we have to retreat and wait for another opportunity", CSocket);
Link("Thank you.", 255, CSocket);
Link("I'd like to know more.", 6, CSocket);
Face(30, CSocket);
End(CSocket);
}
break;
}
case 3298:
{
int NPlayer = 0;
if (LinkBack == 0)
{
Text("With these SoulStones I can help you enter the HellGate shielded from poisonous fogs. Are you ready?", CSocket);
Link("I'm Ready.", 1, CSocket);
Link("Wait a moment.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
if (HasItem(723085, 5, CSocket))
{
if (NPlayer == 0)
{
Teleport(2022, 220, 340, 0, CSocket);
DeleteItem(723085, 5, CSocket);
NPlayer += 1;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "The Knighter " + CSocket.Client.Name + " has through the HellGate and have entered in the HellHall!", Struct.ChatType.Center), 0);
}
else if (NPlayer >= 1)
{
Teleport(2022, 220, 340, 0, CSocket);
DeleteItem(723085, 5, CSocket);
NPlayer += 1;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "Nš " + NPlayer + " Knight " + CSocket.Client.Name + " has through the HellGate and have entered in the HellHall!", Struct.ChatType.Top), 0);
}
}
else
{
Text("Sorry you don't have 5 SoulStones", CSocket);
Link("Oh sorrry, will got them!", 255, CSocket);
Face(100, CSocket);
End(CSocket);
}
}
break;
}
case 3299:
{
int NPlayer2 = 0;
if (LinkBack == 0)
{
if (CSocket.Client.DisCityMobs < 1301)
{
Text("You'll pass if you kill 1300 monsters in HellHall. Hurry up! Only 30 persons can geet to HellCloister with me.", CSocket);
Link("I see.", 255, CSocket);
Face(100, CSocket);
End(CSocket);
}
if (CSocket.Client.DisCityMobs == 1300)
{
Text("You've killed the 1300 monsters, and you can pass to the HellCloister. Hurry up!", CSocket);
Link("Yay!", 1, CSocket);
Face(100, CSocket);
End(CSocket);
}
}
else if (LinkBack == 1)
{
if (NPlayer2 == 0)
{
Teleport(2023, 297, 649, 0, CSocket);
NPlayer2 += 1;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "The Knighter " + CSocket.Client.Name + " has through the HellHall and have entered in the HellCloister!", Struct.ChatType.Center), 0);
}
else if (NPlayer2 > 1)
{
Teleport(2023, 297, 649, 0, CSocket);
NPlayer2 += 1;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "Nš " + NPlayer2 + " Knight " + CSocket.Client.Name + " has through the HellHall and have entered in the HellCloister!", Struct.ChatType.Center), 0);
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Wait unitill get 10 players here and back again to get to UltimatePluto's Hall!", Struct.ChatType.Top));
}
}
break;
}
case 3300:
{
int NPlayer2 = 0;
if (LinkBack == 0)
{
Text("Hello! if have more than 10 players in the HellCloister i can send all of them to the UltimatePluto's place!", CSocket);
Link("We are here!", 1, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
if (NPlayer2 >= 10)
{
Teleport(2024, 151, 284, 0, CSocket);
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "The Knighter " + CSocket.Client.Name + " has through the HellCloister and passed to the last stage, and are going kill UltimatePluto! Hurry up all!", Struct.ChatType.Center), 0);
}
else
{
Text("Sorry do not have 10 players yet!", CSocket);
Link("Oh, i will wait!", 255, CSocket);
Face(100, CSocket);
End(CSocket);
}
}
break;
}
forgot code to start solarsaint
Code:
case "dison":
{
if (CSocket.Client.isGM || CSocket.Client.isPM)
{
foreach (KeyValuePair<int, ClientSocket> Clients in Nano.ClientPool)
{
CSocket.Client.DisCityOn = 1;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "The Dis City quest has been started! Run to ApeMountain and find SolarSaint(530,482)!", Struct.ChatType.Top), 0);
}
}
break;
}
case "disoff":
{
if (CSocket.Client.isGM || CSocket.Client.isPM)
{
foreach (KeyValuePair<int, ClientSocket> Clients in Nano.ClientPool)
{
CSocket.Client.DisCityOn = 0;
ConquerPacket.ToServer(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "The entrance of Dis City quest now is blocked! Who don't get in try your luck next time!", Struct.ChatType.Top), 0);
}
}
break;
}