Register for your free account! | Forgot your password?

You last visited: Today at 18:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] GuildWar {5165}

Discussion on [Release] GuildWar {5165} within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
[Release] GuildWar {5165}

Hello everybody! I Decided to Give you some informations about the GW.. GW Pole and a little release about the gw ending , I was searching for posts around and the "/endgw" command isnt very right since the void is not for the cmd.
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
Quote:
Init();
World.SendMsgToAll("SYSTEM", "Guild War has been auto-started.", 2011, 0);
War = true;
3rd How to End The GuildWar like real-co (Without putting the guildname with the highest score at the pole)
First , Search for public static void EndWar() in Features>GuildWars.cs
Above it add this void
Quote:
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();
}
Then Go to PacketHandling>Chat.cs and search for
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
†he Knight is offline  
Thanks
5 Users
Old 10/14/2010, 18:27   #2
 
FrontBoy's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 275
Received Thanks: 142
thanks!
FrontBoy is offline  
Old 10/20/2010, 15:47   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
Quote:
Originally Posted by FrontBoy View Post
thanks!
NP..
†he Knight is offline  
Thanks
1 User
Old 10/25/2010, 17:18   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 128
Received Thanks: 8
ty...
StefanHAKER is offline  
Reply


Similar Threads Similar Threads
[Release]GuildWar Fix
09/19/2010 - CO2 PServer Guides & Releases - 23 Replies
For lotf Hello, i will show you how to fix guildwar in lotf. First open World.cs Then under: public static Hashtable GWScores = new Hashtable(); add this:
[Release]GuildWar LOTF
07/13/2010 - CO2 PServer Guides & Releases - 7 Replies
I will give you the release of a fixed GW (Some how) for LOTF 5017. First open World.cs then search for: public static Hashtable GWScores = new Hashtable(); under that paste: public static bool GW = false;
[Help] GuildWar
06/30/2009 - CO2 Private Server - 7 Replies
how do I Make a Guild War in my servver? I Use tq Binaries, I added NPCs like CPAdmin, Translated almost everything but i can't make a GW..:S help me please ;D
[REDQUEST] GuildWar
09/27/2008 - CO2 Private Server - 19 Replies
I have a problem with my private server. 1. The guild gate doesn't open when the gate's health reaches "0". 2. I'm not exactly sure how to start guild war. I don't have a command for it, but there is some coding for guild war, but i'm not sure it works. 3. The pole doesn't change names when a guild destroys it. I'm using the PowerSource. (credits to the creator of this source). Plz help. Thank You



All times are GMT +1. The time now is 18:24.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.