|
You last visited: Today at 19:24
Advertisement
Gem Effect
Discussion on Gem Effect within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
09/27/2011, 18:06
|
#16
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by F i n c h i
Super Dragon Gem = goldendragon
Super Phoenix Gem = phoenix
Super Rainbow Gem = rainbow
Super Violet Gem = purpleray
Super Moon Gem = moon
Super Kylin Gem = goldenkylin
Super Fury Gem = fastflash
Super Tortoise Gem = recovery
|
Thx alot for that Finchi but did u try the code urself ?
|
|
|
09/27/2011, 20:14
|
#17
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by F i n c h i
Super Dragon Gem = goldendragon
Super Phoenix Gem = phoenix
Super Rainbow Gem = rainbow
Super Violet Gem = purpleray
Super Moon Gem = moon
Super Kylin Gem = goldenkylin
Super Fury Gem = fastflash
Super Tortoise Gem = recovery
|
thanks (:. but I would actually like to find out where they came from?
|
|
|
09/28/2011, 01:55
|
#18
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by killersub
thanks (:. but I would actually like to find out where they came from?
|
well it doesnt matter how they came from if they r working well ,till now i dont know how to call em ..i've already added em in handle.cs coudlnt do more than that
|
|
|
09/28/2011, 02:21
|
#19
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by shadowman123
well it doesnt matter how they came from if they r working well ,till now i dont know how to call em ..i've already added em in handle.cs coudlnt do more than that
|
I know how to call them. like marlyandedsel said
Quote:
You have to call it every time you take attack, not just copying and pasting it.
|
I was simply asking where are they in the client so I can fully understand their nature.
|
|
|
09/28/2011, 02:59
|
#20
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by killersub
I know how to call them. like marlyandedsel said
I was simply asking where are they in the client so I can fully understand their nature.
|
could u tell me how to call this ?
|
|
|
09/28/2011, 04:10
|
#21
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by shadowman123
could u tell me how to call this ?
|
I can't simply tell you because I have a different source than you do.
but what I CAN tell you is that you need to call it every time a player attacks, by that I mean look for Attack.cs or in the Attack folder for Handle.cs and find the switch for each attack type and fiddle around with it until you find the place where the player sends the attack to the client and then call it right when that happens.
It's not "THAT" hard as it looks it just takes some time and practice until you master it.
|
|
|
09/28/2011, 05:11
|
#22
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
aha So Calling means putting the code inside it ??? but just in the right place where the player send attacks ??
|
|
|
09/28/2011, 06:55
|
#23
|
elite*gold: 0
Join Date: Sep 2006
Posts: 248
Received Thanks: 117
|
Or...you know...delete the folders that have the .dds files causing the effects to show the begin with.
I can't code to save my life, but I really don't see a point in this post at all.
|
|
|
09/28/2011, 15:57
|
#24
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 421
|
Check for three types of attack; Melee, Ranged & Magic.
|
|
|
09/28/2011, 18:10
|
#25
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
well heres what i did i added the Code in Handle.cs and i called it back when player attack like that
Code:
#region Single magic damage spells
case 1000:
case 1001:
case 1002:
case 1150:
case 1160:
case 1180:
case 1320:
{
if (CanUseSpell(spell, attacker.Owner))
{
if (attacked != null)
{
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Distance)
{
CheckForSuperGems <<== i dont know what to write beside it
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
{
PrepareSpell(spell, attacker.Owner);
uint damage = Game.Attacking.Calculate.Magic(attacker, attacked, spell);
damage = ReceiveAttack(suse, attacker, attacked, attack, damage, spell);
suse.Targets.Add(attacked.UID, damage);
if (attacked.EntityFlag == EntityFlag.Player)
attacked.Owner.Screen.SendScreen(suse, true);
else
attacked.MonsterInfo.SendScreen(suse);
}
}
else
{
attacker.AttackPacket = null;
}
}
else
{
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Distance)
{
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
if (CanAttack(attacker, attackedsob, spell))
{
PrepareSpell(spell, attacker.Owner);
uint damage = Game.Attacking.Calculate.Magic(attacker, attackedsob, spell);
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
suse.Targets.Add(attackedsob.UID, damage);
attacker.Owner.Screen.SendScreen(suse, true);
}
}
}
}
else
{
attacker.AttackPacket = null;
}
break;
}
#endregion
So what should i write bet.Checkforgems .and is this what u say call ?
|
|
|
09/28/2011, 21:44
|
#26
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by shadowman123
well heres what i did i added the Code in Handle.cs and i called it back when player attack like that
Code:
#region Single magic damage spells
case 1000:
case 1001:
case 1002:
case 1150:
case 1160:
case 1180:
case 1320:
{
if (CanUseSpell(spell, attacker.Owner))
{
if (attacked != null)
{
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Distance)
{
CheckForSuperGems <<== i dont know what to write beside it
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
{
PrepareSpell(spell, attacker.Owner);
uint damage = Game.Attacking.Calculate.Magic(attacker, attacked, spell);
damage = ReceiveAttack(suse, attacker, attacked, attack, damage, spell);
suse.Targets.Add(attacked.UID, damage);
if (attacked.EntityFlag == EntityFlag.Player)
attacked.Owner.Screen.SendScreen(suse, true);
else
attacked.MonsterInfo.SendScreen(suse);
}
}
else
{
attacker.AttackPacket = null;
}
}
else
{
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Distance)
{
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
if (CanAttack(attacker, attackedsob, spell))
{
PrepareSpell(spell, attacker.Owner);
uint damage = Game.Attacking.Calculate.Magic(attacker, attackedsob, spell);
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
suse.Targets.Add(attackedsob.UID, damage);
attacker.Owner.Screen.SendScreen(suse, true);
}
}
}
}
else
{
attacker.AttackPacket = null;
}
break;
}
#endregion
So what should i write bet.Checkforgems .and is this what u say call ?
|
you're doing it all wrong lol.
shouldn't be alone without it's rightful parameters because it's a static VOID.
in the post you "Should" have "C+P" the code into your source and notice that it has the parameters beside saying:
Code:
CheckForSuperGems[COLOR="DarkRed"](Client.GameState Client)[/COLOR]
so you would put
Code:
CheckForSuperGems(Client.GameState Client);
instead.
and you have to check where you put it, because by the looks of it you have it in the Wong Wrong place, my friend.
|
|
|
09/28/2011, 21:57
|
#27
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Aha Okay..thx Alot M8 i like Working and Trying
|
|
|
09/28/2011, 22:13
|
#28
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 421
|
Like I said, you should check for that void in each attack type (melee, raged, magic).
|
|
|
09/28/2011, 22:29
|
#29
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Wooot it Works Like A charm ...Thx Both u gave me nice hint and infos Killer Sob
|
|
|
09/28/2011, 22:33
|
#30
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 421
|
Quote:
Originally Posted by shadowman123
Wooot it Works Like A charm ...Thx Both u gave me nice hint and infos Killer Sob
|
Good job.
|
|
|
|
|
Similar Threads
|
+10 effect
06/29/2011 - Dekaron Private Server - 0 Replies
I'm trying to add a +10 effect strictly for GM weapons to be given out via CP, so I don't actually need the argates for them or have them in the fortification system.
I already have the effect. What I need to know is if I clone the a previous eff_upgrade.dds file and layer into my +10 effect, what do I then need to do to make my GM weapons point to that effect file.
I appreciate any help you can give.
|
Dodge effect , Warp effect
01/04/2010 - S4 League - 7 Replies
this is a threat to glados , but other can answer.
how can u have that effect?
this is the video
YouTube - S4 League GLaDO is Hacking
|
[Help] 2nd RB Effect Fix
04/21/2009 - CO2 Private Server - 2 Replies
Okay here's the problem. The 2nd RB Effect keeps looping over and over even if I add a timer for it. It overlaps each other until it turns bright purple. It's really disturbing and I spent almost two hours trying to fix it and I can't get it to work. And I am really annoyed because it's as if I wasted those two hours and learned nothing at all. So please, if you know how to fix it please help me...
|
sup gem effect
10/13/2007 - CO2 Weapon, Armor, Effects & Interface edits - 3 Replies
stupid quest of me but how to make the dam super gems off?
they keek raising my ping to 279k in tg and than i d/c
didnt find any topic where it stand
|
SDG Effect and 115 Bow
07/26/2007 - CO2 Weapon, Armor, Effects & Interface edits - 23 Replies
I have edited the sdg effect and the 115 bow so they are blue... i thought it would be kidna cool, if u watn any other colors just tell me and i'll work on it! :cool:
http://i51.photobucket.com/albums/f356/warheadsou r/SDGand115Bow.jpg
this file is for the bow, it goes into C:/Program Files/Conquer 2.0/c3/effect/bow
Blue Bow Download Link
the file for teh blue sdg goes into C:/Program Files/Conquer 2.0/c3/effect/dragonhate there are 3 files taht u have to put into the folder...
|
All times are GMT +2. The time now is 19:24.
|
|