[Help]Co v2 Source

02/14/2009 11:53 ptifou08#1
I need add guild war in co v2 source... because /gwstart doesnt work... Thank !
02/14/2009 12:06 furax780#2
pm xmasterrr for help
02/14/2009 13:11 yuko#3
i tought that guildwar is inplanted into that "source" or in that COPY PAST -> copy wast

befor asking help you might be better of to clean it because there is to much crap in it and there are double stuff aswel like 2 diffrent move voids but only one is used. about 3 reborn voids and only 2 are used. + the time check that kinsh maded won't work for every one depending on how there windows.

anyway have funn cleaning :-)
02/14/2009 13:28 ptifou08#4
Give me code plz
02/14/2009 16:50 LetterX#5
Quote:
Originally Posted by ptifou08 View Post
Give me code plz
No. What do you think we are? Your slaves? Gtfo.
02/14/2009 16:52 ptifou08#6
pleaseee help me
02/14/2009 22:56 Kital82#7
Add the commands
Quote:
if (Splitter[0] == "/startgw")
{
General.GWOn = true;
World.SendMsgToAll(" GuildWar has started!!", "GW", 2011);
}
if (Splitter[0] == "/stopgw")
{
General.GWOn = false;
World.SendMsgToAll(" GuildWar has ended! Winner is : " + World.PoleHolder, "GUILDWAR", 2011);
}
Now shearch for "static void Main()"
above it add
Quote:
public static bool GWOn = false;

and shearch for:

Quote:
else
{

CurHP -= Damage;
if (Sob == 2)
{
if (Attacker.MyGuild != null)
{
if (Attacker.MyGuild != World.PoleHolder)
Attacker.MyGuild.PoleDamaged += (int)Damage;
if (World.GWScores.Contains(Attacker.MyGuild.GuildID) )
World.GWScores.Remove(Attacker.MyGuild.GuildID);

World.GWScores.Add(Attacker.MyGuild.GuildID, Attacker.MyGuild.PoleDamaged);
}

}

and do it:

Quote:
else
{
if (General.GWOn)
{
CurHP -= Damage;
if (Sob == 2)
{
if (Attacker.MyGuild != null)
{
if (Attacker.MyGuild != World.PoleHolder)
Attacker.MyGuild.PoleDamaged += (int)Damage;
if (World.GWScores.Contains(Attacker.MyGuild.GuildID) )
World.GWScores.Remove(Attacker.MyGuild.GuildID);

World.GWScores.Add(Attacker.MyGuild.GuildID, Attacker.MyGuild.PoleDamaged);
}
}
}
02/15/2009 10:45 ptifou08#8
Thank you man !
02/15/2009 11:00 ptifou08#9
But no work...
02/15/2009 11:58 Kital82#10
lol don't double post.

Hmmm did you rebuild with F5 after you did that ?