Register for your free account! | Forgot your password?

You last visited: Today at 04:12

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

Advertisement



[Help]Alot How To

Discussion on [Help]Alot How To within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 09/20/2008, 22:48   #16
 
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
Quote:
Originally Posted by Rechocto View Post
Code:
public bool GetHitDie(uint Damage)
needs to be
Code:
public bool GetHitDie(uint Damage, string AttackerName)
yes i try that but not work
i find at Entities.Cs :
Quote:
public bool GetDamageDie(uint Damage, Character Attacker)
{
if (Damage >= CurHP)
{
World.RemoveEntity(this);
CurHP = MaxHP;
if (Sob == 2)
{
// World.GWOn = false;
int Highest = 0;
Guild Winner = null;

foreach (DictionaryEntry DE in World.AllChars)
{
Character Char = (Character)DE.Value;
if (Char != null)
{
if (Char.TGTarget != null && Char.TGTarget == this)
Char.TGTarget = null;
}
}

SingleNPC Npc = (SingleNPC)NPCs.AllNPCs[(uint)6701];
if (Npc != null)
{
if (Npc.Type == 250)
Npc.Type -= 10;
Npc.CurHP = MaxHP;
World.NPCSpawns(Npc);
}

Npc = (SingleNPC)NPCs.AllNPCs[(uint)6702];
if (Npc != null)
{
if (Npc.Type == 250)
Npc.Type -= 10;
Npc.CurHP = MaxHP;
World.NPCSpawns(Npc);
}

foreach (DictionaryEntry DE in Guilds.AllGuilds)
{
Guild AGuild = (Guild)DE.Value;
AGuild.HoldingPole = false;
AGuild.ClaimedPrize = false;
if (AGuild.PoleDamaged > Highest)
{
Highest = AGuild.PoleDamaged;
Winner = AGuild;
}
AGuild.PoleDamaged = 0;
}
if (Winner != null)
{
Winner.HoldingPole = true;
World.PoleHolder = Winner;
World.SendMsgToAll(Winner.GuildName + " Has Won The GuildWar!", "ShadowCo", 2011);
}
World.GWScores.Clear();
Attacker.TGTarget = null;
Attacker.Attacking = false;
}
if (Sob == 3 && Type == 240)
{
Type += 10;
Attacker.TGTarget = null;
Attacker.Attacking = false;
}

World.NPCSpawns(this);
return true;
}
else
{

if (Sob == 2 || Sob == 3)
if (World.GWOn == false)
return false;
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);
}
}

return false;
}
}
}
so
Quote:
Character Attacker
and here i can get
Quote:
Attacker.AttackerName
but i can't use out Entities.Cs ,how i can make it avaliable at client.Cs or Character.Cs ???

is Attacker.AttackerName have value of Killer Name or what ??
thanks
elragal_30 is offline  
Old 09/20/2008, 22:48   #17
 
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
Sorry for double post
elragal_30 is offline  
Old 09/22/2008, 00:59   #18
 
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
ohh what ??
no one know how i can get killer value
it must have some value

and what this follow variable value ???
Quote:
PTarget
TGtarget
Attacker.AttackerName(I'm sure that it get value of killer name, but i can't use it )
also want to know how i can make quest start at define time ???
like Saturday at 8:00 om ??? or 1 st day of month
i know it like
Quote:
if (Convert.ToString(DateTime.Now.DayOfWeek) == "Thursday" && Convert.ToString(DateTime.Now.Hour) == "19" && Convert.ToString(DateTime.Now.Minute) == "55");
but where i have to put it to work at this time ??
thanks all
elragal_30 is offline  
Reply


Similar Threads Similar Threads
Who think this will help us alot?
04/23/2009 - CO2 Programming - 13 Replies
Well i just wantw to post 2 of my ideas... -What about if someone make a hack like asian2 did but without keylogger?=/ it was cool cept ppl found the file had keylogger...it let u use (free) items on ur talis :o -What about someone make something like CID for lvling =/ i still wanted to try that bot but since TQ patched the client doesnt let me try and after that CID is not longer available...only for sell...Wonder why everyone share their bot...and he decide to sell it >_< P.S: Thnx for...
dc if lure alot alot
03/01/2008 - Dekaron - 5 Replies
i lure alot alot and got dc always (if lure alot) thas kinda bad som 1 know how fix
How to get alot of gem !!!!!
12/25/2007 - CO2 Guides & Templates - 12 Replies
i found out if u are training u get alot of gem and +1s i trained me 1 lvl 93-94 i found 7 gem and 4 mets and 1 +1 and it took only 1 hour :D goodluck
How to get alot of $$.
08/29/2007 - CO2 Guides & Templates - 27 Replies
The way to get more cash iis to follow my steps. It only works on servers depending on how much mets cost. ok i'll start. first get mets or buy them for cheap prices. after go to market and sell them for higher prices(do not sell them for cheap prices) for thunder server 450k would be good. keep trying tht and u will hav 999kk in no time. if u hav any questions just repost on this.thanks



All times are GMT +1. The time now is 04:14.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.