small problem in whirlwind kick

05/20/2013 15:05 anawbas#1
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.Xattacker.YXY) <= 3)
                                            {
                                                if (
CanUseSpell(spellattacker.Owner))
                                                {
                                                    
PrepareSpell(spellattacker.Owner);

                                                    
SpellUse suse = new SpellUse(true);
                                                    
suse.Attacker attacker.UID;
                                                    
suse.SpellID spell.ID;
                                                    
suse.SpellLevel 0;
                                                    
suse.= (ushort)ServerBase.Kernel.Random.Next(310);
                                                    
suse.0;

                                                    if (
ServerBase.Kernel.GetDistance(attacker.Xattacker.YXY) <= 3)
                                                    {
                                                        for (
int c 0attacker.Owner.Screen.Objects.Lengthc++)
                                                        {
                                                            
//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 (>= 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.Xattacker.Yattacked.Xattacked.Y) <= spell.Range)
                                                                {
                                                                    if (
CanAttack(attackerattackedspellattack.AttackType == Attack.Ranged))
                                                                    {
                                                                        
uint damage Game.Attacking.Calculate.Melee(attackerattackedspellref attack);
                                                                        
damage = (damage 112) / 100;
                                                                        
suse.Effect1 attack.Effect1;
                                                                        
ReceiveAttack(attackerattackedattackdamagespell);
                                                                        
attacked.Stunned true;
                                                                        
attacked.StunStamp Time32.Now;
                                                                        
suse.Targets.Add(attacked.UIDdamage);

                                                                    }
                                                                }
                                                            }
                                                        }
                                                        
attacker.AttackPacket null;
                                                    }
                                                    else
                                                    {
                                                        
attacker.AttackPacket null; return;
                                                    }
                                                    
attacker.Owner.SendScreen(susetrue);
                                                    
suse.Targets = new SafeDictionary<uintSpellUse.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 InfamousNoone#2
people still hard-code skills? lol.
05/20/2013 15:30 _DreadNought_#3
Quote:
Originally Posted by InfamousNoone View Post
people still hard-code skills? lol.
Almost every server you will see do.

You'd be surprised.
05/20/2013 15:36 anawbas#4
Quote:
Originally Posted by InfamousNoone View Post
people still hard-code skills? lol.
we all learn no one will reach the complete knowledge so i want to learn :rolleyes:
05/20/2013 15:50 Super Aids#5
You won't learn from using the Trinity base, apart from bad habits.
05/20/2013 15:52 go for it#6
Quote:
Originally Posted by anawbas View Post
we all learn no one will reach the complete knowledge so i want to learn :rolleyes:
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 ass 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 InfamousNoone#7
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 go for it#8
Quote:
Originally Posted by InfamousNoone View Post
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 assholes ?
but others released enough resources for you or everyone to do better stuff than what they currently did , what does that makes everyone , assholes ?
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 InfamousNoone#9
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 :rolleyes:
05/20/2013 16:45 go for it#10
Quote:
Originally Posted by InfamousNoone View Post
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 :rolleyes:
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 InfamousNoone#11
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 ass 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 go for it#12
Quote:
Originally Posted by InfamousNoone View Post
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 Super Aids#13
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:
[Only registered and activated users can see links. Click Here To Register...]

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:
[Only registered and activated users can see links. Click Here To Register...]

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 anawbas#14
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 View Post
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:
[Only registered and activated users can see links. Click Here To Register...]

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:
[Only registered and activated users can see links. Click Here To Register...]

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 go for it#15
Quote:
Originally Posted by Super Aids View Post
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:
[Only registered and activated users can see links. Click Here To Register...]

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:
[Only registered and activated users can see links. Click Here To Register...]

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)