|
You last visited: Today at 11:48
Advertisement
small problem in whirlwind kick
Discussion on small problem in whirlwind kick within the CO2 Private Server forum part of the Conquer Online 2 category.
05/20/2013, 15:05
|
#1
|
elite*gold: 0
Join Date: Aug 2011
Posts: 38
Received Thanks: 1
|
small problem in whirlwind kick
hey all small problem in whirlwind kick
the response of this skill required lots of time and some times it requires me to stop then click to and not work while jumping like tq all the skills works good but this not
this is my code
PHP Code:
//WhirlwindKick
case 10415:
{
if (Time32.Now < attacker.WhilrwindKick.AddMilliseconds(100))
{ attacker.AttackPacket = null; return; }
attacker.WhilrwindKick = Time32.Now;
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= 3)
{
if (CanUseSpell(spell, attacker.Owner))
{
PrepareSpell(spell, attacker.Owner);
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = 0;
suse.X = (ushort)ServerBase.Kernel.Random.Next(3, 10);
suse.Y = 0;
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= 3)
{
for (int c = 0; c < attacker.Owner.Screen.Objects.Length; c++)
{
//For a multi threaded application, while we go through the collection
//the collection might change. We will make sure that we wont go off
//the limits with a check.
if (c >= attacker.Owner.Screen.Objects.Length)
break;
Interfaces.IMapObject _obj = attacker.Owner.Screen.Objects[c];
if (_obj == null)
continue;
if (_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Player)
{
attacked = _obj as Entity;
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Range)
{
if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Ranged))
{
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack);
damage = (damage * 112) / 100;
suse.Effect1 = attack.Effect1;
ReceiveAttack(attacker, attacked, attack, damage, spell);
attacked.Stunned = true;
attacked.StunStamp = Time32.Now;
suse.Targets.Add(attacked.UID, damage);
}
}
}
}
attacker.AttackPacket = null;
}
else
{
attacker.AttackPacket = null; return;
}
attacker.Owner.SendScreen(suse, true);
suse.Targets = new SafeDictionary<uint, SpellUse.DamageClass>();
attacker.AttackPacket = null; return;
}
attacker.AttackPacket = null;
}
attacker.AttackPacket = null; return;
}
and if there any thread about how to code askill
|
|
|
05/20/2013, 15:17
|
#2
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
people still hard-code skills? lol.
|
|
|
05/20/2013, 15:30
|
#3
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
|
Quote:
Originally Posted by InfamousNoone
people still hard-code skills? lol.
|
Almost every server you will see do.
You'd be surprised.
|
|
|
05/20/2013, 15:36
|
#4
|
elite*gold: 0
Join Date: Aug 2011
Posts: 38
Received Thanks: 1
|
Quote:
Originally Posted by InfamousNoone
people still hard-code skills? lol.
|
we all learn no one will reach the complete knowledge so i want to learn
|
|
|
05/20/2013, 15:50
|
#5
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
You won't learn from using the Trinity base, apart from bad habits.
|
|
|
05/20/2013, 15:52
|
#6
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
Quote:
Originally Posted by anawbas
we all learn no one will reach the complete knowledge so i want to learn 
|
well i've always disagreed with infamousnone however i've always respected him
but on the other hand it's human nature to try pointing out what's wrong with others to feel closer to perfection/having complete knowledge
and not to mention the fact you just said which no one will reach the complete knowledge which also means that you can be better than him working your *** out and that's exactly why i respect him because while others are asking on forums he is working and making fun of them (which to why i kinda hate him)
|
|
|
05/20/2013, 15:56
|
#7
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
the reason I ask is because I released V2 3 years ago which shows a system that doesn't hard code them, yet nobody seems to learn, so...
|
|
|
05/20/2013, 16:18
|
#8
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
Quote:
Originally Posted by InfamousNoone
the reason I ask is because I released V2 3 years ago which shows a system that doesn't hard code them, yet nobody seems to learn, so...
|
and what that makes them ? an ******** ?
but others released enough resources for you or everyone to do better stuff than what they currently did , what does that makes everyone , ******** ?
do you even expect them to really understand your codes ?
all im saying that being neutral was better than being negative as you are pretty smart to notice that who ask such question isn't good enough to understand how you coded "skills"
edit: i always assume that your criticism was to make them work better but it doesn't always work
|
|
|
05/20/2013, 16:27
|
#9
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
I never said anyhting about anyone being an *******, and if you really want to bark up that tree, take a look through my post history and see if you can find any post where I asked for help with something that I couldn't have easily done myself.
I guess my underlying message is if you don't have the ability to look at someone else's code and understand how it works, maybe you shouldn't be trying to code such a large project like a Conquer Server and work on improving your general programming skills first
|
|
|
05/20/2013, 16:45
|
#10
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
Quote:
Originally Posted by InfamousNoone
I never said anyhting about anyone being an asshole, and if you really want to bark up that tree, take a look through my post history and see if you can find any post where I asked for help with something that I couldn't have easily done myself.
I guess my underlying message is if you don't have the ability to look at someone else's code and understand how it works, maybe you shouldn't be trying to code such a large project like a Conquer Server and work on improving your general programming skills first 
|
about the first part there is nothing new , i already know that you rarely asked for help and you never have had help (at least on epvp wasn't really curious about hf or others) and that's exactly why i respect you
about the second part , this is your problem you don't want them to call themselves coders or running private servers because it takes more than what they got to work on such a project which i agree with you about it
but maybe you are the one who is missing my point , they are pathetic and not good enough to do something on there own and once they find a trouble that they can't solve they run to the forum asking for help and pretty much most of people does the same whenever they have a problem to ask there parents to get them out of it
so isn't it enough that they are pathetic or we should make more fun of them ?
i don't really know much about humans nature but i know alot about machines and when there is a stress over some part of machine the more stress the more probably they will break down
i don't know what's in your mind or why you and many people are acting like this toward others on this forum , but for gods know why reason there is something called mercy , think about it for once that you are breaking them and not helping them
so please next time when you find someone asking "how to make a bot" think about it as your going to hurt them by your words and not motivate them as they are not all the same and not everyone gets "you can't do it" does work his ass out until he do it
|
|
|
05/20/2013, 17:29
|
#11
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
I'm not making fun of anyone, I'm simply saying if you need to be spoon fed, don't bother
Quote:
|
not everyone gets "you can't do it" does work his *** out until he do it
|
Sucks for them, cause that's life. It's not a pocket full of sunshine and rainbows.
|
|
|
05/20/2013, 17:37
|
#12
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
Quote:
Originally Posted by InfamousNoone
I'm not making fun of anyone, I'm simply saying if you need to be spoon fed, don't bother
Sucks for them, cause that's life. It's not a pocket full of sunshine and rainbows.
|
indeed , but does that mean we should do them what we suffered ?
a tough doctor teach 2 students with so many insults which they became lecturers at the same college , one insulting all stupid kids and one explains it to them nicely or simply ignore them , it's all your choice
be the change you wanna see , at this forum we are the society , we are who decided to either help or insult or even ignore
what im asking you to do isn't spoon fed them or even being nice to them
im asking you to ignore someone instead of insulting him , is it too much to ask for  ?
|
|
|
05/20/2013, 18:12
|
#13
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
But even if someone wrote a detail explanation on what OP should do then he would probably still ask what code to copy. In the end of the day he won't learn anything or even understand what he do. A good example is this:
On the other hand if he focused on learning problem solving (math would be good, as it teaches you logical thinking and to some degree advanced problem solving), programming and how think logical then maybe it would be worth explaining to him what he is doing wrong and what he can do better, but in this case it will just be a waste. It'll have the same results as this dude:
Because even when people explains the issue and how to solve it then he can't solve it, because nobody is giving him the exactly codes for it.
That is the problem with 99% of people jumping into Conquer Online pserver development. They think it's all free cookies and milk.
|
|
|
05/20/2013, 19:38
|
#14
|
elite*gold: 0
Join Date: Aug 2011
Posts: 38
Received Thanks: 1
|
in the last all want to learn to be better iam new in coding so i ask the wrong to ask about the solve without examining it ;so i ask about any thread about the bases to make skill instead of asking for the ready code
and if any one ask about any thing we should give him the key instead of hurt him with our talk you all were Beginners and learn
in the end no one answer me i need the key to start learning code skills
Quote:
Originally Posted by Super Aids
But even if someone wrote a detail explanation on what OP should do then he would probably still ask what code to copy. In the end of the day he won't learn anything or even understand what he do. A good example is this:
On the other hand if he focused on learning problem solving (math would be good, as it teaches you logical thinking and to some degree advanced problem solving), programming and how think logical then maybe it would be worth explaining to him what he is doing wrong and what he can do better, but in this case it will just be a waste. It'll have the same results as this dude:
Because even when people explains the issue and how to solve it then he can't solve it, because nobody is giving him the exactly codes for it.
That is the problem with 99% of people jumping into Conquer Online pserver development. They think it's all free cookies and milk.
|
u say 99% not 100 %
|
|
|
05/20/2013, 20:44
|
#15
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
Quote:
Originally Posted by Super Aids
But even if someone wrote a detail explanation on what OP should do then he would probably still ask what code to copy. In the end of the day he won't learn anything or even understand what he do. A good example is this:
On the other hand if he focused on learning problem solving (math would be good, as it teaches you logical thinking and to some degree advanced problem solving), programming and how think logical then maybe it would be worth explaining to him what he is doing wrong and what he can do better, but in this case it will just be a waste. It'll have the same results as this dude:
Because even when people explains the issue and how to solve it then he can't solve it, because nobody is giving him the exactly codes for it.
That is the problem with 99% of people jumping into Conquer Online pserver development. They think it's all free cookies and milk.
|
i feel so down that im so speechless , there stupidity offends you and motivate you to insult/troll , they will never change and world could never be a better place
lets burn them alll down
for "anawbas"
if you want to learn programming don't expect someone to help you at epvp or anywhere else and don't try to only depend on trinity (huge source / not perfect)
|
|
|
 |
|
Similar Threads
|
Help! With D2NT whirlwind barb script
06/14/2010 - Diablo 2 Programming - 1 Replies
Sorry I do not speak german. I was wondering if anyone could help me with creating a d2nt script for whirlwind barb. I would be willing to pay d2jsp forum gold for a working version. I have played with the programing but can not get it to work correctly
|
how to do whirlwind bug
10/22/2008 - Metin2 - 2 Replies
plz tell me hot to do the whirlwind and frenzy bug :handsdown:
or give me a link
thanks a lot
|
Warrior whirlwind
01/09/2006 - WoW Exploits, Hacks, Tools & Macros - 8 Replies
Warriors they messed up on for example
1) Have sweeping strikes up.
2) Switch to beserk.
3) Use whirldwind
4) Hit for example 4 mobs twice.
5) You will do over 6000 damage.
|
Warrior whirlwind
09/25/2005 - WoW Exploits, Hacks, Tools & Macros - 5 Replies
Since the 1.7 patch, they enabled warrior's to be able to have recklessness, retallation, and shield wall stay through stance chanes, and because of this, they screwed up and all abilities will do the same.
With that being said, the whirlwind exploit is to have sweeping strikes up and switch to beserk, hit whirlwind and hit 4 mob's twice, easily doing 6000+ dps if you have recklessness up which is just sickening.
|
All times are GMT +1. The time now is 11:51.
|
|