1st Changing Pole HP
*Search for public static void Init() in Features>GuildWars.cs
- There you gonna find
ThePole.CurHP = 20000000; and ThePole.MaxHP = 20000000; Change both to whatever you think is right....
2nd How to make GW Re-Start after the pole has been taken (Credits to Paralyzer)
*Search for World.SendMsgToAll("SYSTEM", Highest.TheGuild.GuildName + in Features>GuildWars.cs
- Under that line add this code
3rd How to End The GuildWar like real-co (Without putting the guildname with the highest score at the pole)Quote:
Init();
World.SendMsgToAll("SYSTEM", "Guild War has been auto-started.", 2011, 0);
War = true;
First , Search for public static void EndWar() in Features>GuildWars.cs
Above it add this void
Then Go to PacketHandling>Chat.cs and search forQuote:
public static void RealEndWar()
{
War = false;
TheLeftGate.Opened = false;
TheRightGate.Opened = false;
TheLeftGate.CurHP = TheLeftGate.MaxHP;
TheRightGate.CurHP = TheRightGate.MaxHP;
TheLeftGate.ReSpawn();
TheRightGate.ReSpawn();
GWScore Highest = new GWScore();
Highest.Score = 0;
foreach (GWScore Score in Scores.Values)
{
if (Score.Score > Highest.Score)
Highest = Score;
}
if (Highest.TheGuild != null)
{
foreach (Character Charr in World.H_Chars.Values)
{
if (Charr.Loc.Map == 1038)
{
War = false;
LastWinner = LastWinner;
LastWinner.Wins++;
ThePole.ReSpawn();
World.SendMsgToAll("SYSTEM", Highest.TheGuild.GuildName + " have won the GuildWar. Congratulations!", 2011, 0);
}
else
{
War = false;
LastWinner = LastWinner;
LastWinner.Wins++;
ThePole.ReSpawn();
World.SendMsgToAll("SYSTEM", Highest.TheGuild.GuildName + " have won the GuildWar. Congratulations!", 2011, 0);
}
}
}
SendScores();
Scores = new Hashtable();
}
if (Cmd[0] == "/cps")
GC.MyChar.CPs = uint.Parse(Cmd[1]);
Under it add
if (Cmd[0] == "/realendgw")
{
Features.GuildWars.RealEndWar();
}
Some Credits About this go to Summer. / Fish / Vodka
*Please Don't Flame on me, I'm still learning
*If Any Shits found , post em here i will try to fix that
*Press Thanks if it helped






