Thread: [PI] Moving to monster when casting

Results 1 to 8 of 8
  1. #1 [PI] Moving to monster when casting 
    Donator
    Radiation's Avatar
    Join Date
    Aug 2010
    Age
    32
    Posts
    488
    Thanks given
    27
    Thanks received
    28
    Rep Power
    29
    When I use magic on a NPC (idk a about pvp), my character tends to run up on the monster. Can this be fixed!?!

    Also, monsters can attack with melee from a couple spaces away. Can this be fixed!?!

    Please help men
    Reply With Quote  
     

  2. #2  
    Donator
    Radiation's Avatar
    Join Date
    Aug 2010
    Age
    32
    Posts
    488
    Thanks given
    27
    Thanks received
    28
    Rep Power
    29
    bump
    Reply With Quote  
     

  3. #3  
    Donator
    Radiation's Avatar
    Join Date
    Aug 2010
    Age
    32
    Posts
    488
    Thanks given
    27
    Thanks received
    28
    Rep Power
    29
    bumpzor
    Reply With Quote  
     

  4. #4  
    Registered Member
    Whired's Avatar
    Join Date
    Aug 2007
    Posts
    2,126
    Thanks given
    238
    Thanks received
    500
    Rep Power
    822
    Clear your current steps and block your walking packet.

    If you block your walking packet correctly, it's impossible to move.

    This is what my 317 blocking looks like
    Code:
    case 164: //Player walking.
    case 248: //Minimap walking.
    case 98: //Other movement, such as ground item pickup.
    	if(!p.isFrozen)
    	{
    		Walk w = new Walk(p, p.packetSize);
    		w = null;
    	}
    break;
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2009
    Posts
    51
    Thanks given
    1
    Thanks received
    2
    Rep Power
    1
    Wouldn't that result in more problems though? I would say to go look at the method for casting and see exactly what it does, maybe look at the methods that it calls. That will help you find the problem and fix it the correct way.
    Reply With Quote  
     

  6. #6  
    Donator
    Radiation's Avatar
    Join Date
    Aug 2010
    Age
    32
    Posts
    488
    Thanks given
    27
    Thanks received
    28
    Rep Power
    29
    K, i can look around for it
    Reply With Quote  
     

  7. #7  
    Registered Member
    Whired's Avatar
    Join Date
    Aug 2007
    Posts
    2,126
    Thanks given
    238
    Thanks received
    500
    Rep Power
    822
    Quote Originally Posted by razbari View Post
    Wouldn't that result in more problems though?
    No, there aren't any negative effects of ignoring packets, it's the same as if they were unhandled.
    I ignore them before I create a new instance of a handler that will be immediately disposed of, wasting resources for no reason.
    Reply With Quote  
     

  8. #8  
    Donator
    Radiation's Avatar
    Join Date
    Aug 2010
    Age
    32
    Posts
    488
    Thanks given
    27
    Thanks received
    28
    Rep Power
    29
    bump
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Doors moving then moving back.
    By ike izzle in forum Help
    Replies: 3
    Last Post: 01-15-2010, 03:31 AM
  2. auto casting
    By owner josh in forum Help
    Replies: 7
    Last Post: 11-11-2009, 08:09 AM
  3. Help With Auto casting
    By mm_naruto in forum Help
    Replies: 6
    Last Post: 06-29-2009, 10:05 PM
  4. [508]Auto-casting
    By Proffesor Oak in forum Show-off
    Replies: 19
    Last Post: 05-08-2009, 08:54 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •