Thread: Agilty broken for some reason

Results 1 to 7 of 7
  1. #1 Agilty broken for some reason 
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    So when i click the log of gnome agility course it calls everything but it doesnt walk across the log after the task is done it gives the xp but it wont walk
    If someone can help me then that would be nice

    Server cmd when clicking the object

    Code:
    [6-4-12 14:21]: [Client-1-Nighel]: serverobjs size 0
    [6-4-12 14:21]: [Client-1-Nighel]: atObject: 2474,3435 objectID: 2295
    [6-4-12 14:21]: Agility
    Objectclick

    Code:
    		if (Agility.agilityObstacle(client, objectID, objectX, objectY)) {
    			System.out.println("Agility");
    			return;
    		}
    Code:
    			case 2295 :
    				walkAcross(c, 762, 2474, 3435, 2474, 3429, 8 * 1, 6, 2);
    				if (c.course1 == 0) {
    					c.course1 = 1;
    				}
    			return true;
    Code:
    	public static void walkAcross(final Client c, final int anim, int startX, int startY, int endX, int endY, final int xp, final int time, final int face) {
    		if(c.isRunning2) {
    			c.isRunning2 = false;
    			c.getPA().sendFrame36(504, 1);
    			c.getPA().sendFrame36(173, 1);
    		} else {
    			c.isRunning2 = true;
    			c.getPA().sendFrame36(504, 0);
    			c.getPA().sendFrame36(173, 0);
    		}
    		setAnimation(c, anim);
    		int x = endX - startX;
    		int y = endY - startY;
    		c.walkTo(x, y);
    		Server.getTaskScheduler().schedule(new Task(1, false) {
    			@Override
    			protected void execute() {
    				setAnimation(c, anim);
    				stop();
    			}
    		});
    		Server.getTaskScheduler().schedule(new Task(time, false) {
    			@Override
    			protected void execute() {
    				c.stopPlayerPacket = false;
    				if (c.course2 == 4) {
    					completeWildernessCourse(c);
    				}
    				c.addSkillXP(xp, Config.AGILITY);
    				setAnimationBack(c);
    				stop();
    			}
    		});
    	}
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    bump
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2008
    Posts
    253
    Thanks given
    2
    Thanks received
    7
    Rep Power
    19
    You could try this.


    edit hold on it posted before i wanted it to
    Code:
    			case 2295 :
    				if(c.absX == #### && c.absY == ####) {
    					walkAcross(c, 762, 2474, 3435, 2474, 3429, 8 * 1, 6, 2);
    					if (c.course1 == 0) {
    					c.course1 = 1;
    					}
    				} else {
    					return;
    				}
    			break;
    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Quote Originally Posted by Final Soul View Post
    You could try this.


    edit hold on it posted before i wanted it to
    Code:
    			case 2295 :
                                 
    				walkAcross(c, 762, 2474, 3435, 2474, 3429, 8 * 1, 6, 2);
    				if (c.course1 == 0) {
    					c.course1 = 1;
    				}
    			return true;
    Saw you updated the post ill try that
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Still doesnt work
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Nov 2008
    Posts
    253
    Thanks given
    2
    Thanks received
    7
    Rep Power
    19
    This a PI? My agility works great, 3 courses all with animations (minus rope swing) and run settings and such.
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Quote Originally Posted by Final Soul View Post
    This a PI? My agility works great, 3 courses all with animations (minus rope swing) and run settings and such.
    No, but mines worked perfect before too
    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. [Bug/Glitch] Broken Imagezz
    By Huey in forum Defects
    Replies: 10
    Last Post: 04-06-2012, 02:28 AM
  2. Broken Fightpits
    By Venum112 in forum Help
    Replies: 1
    Last Post: 02-01-2010, 03:41 PM
  3. Broken hand
    By i burn piff in forum Chat
    Replies: 7
    Last Post: 08-26-2009, 06:36 AM
  4. Broken Wii? I can help.
    By messiaH in forum Console
    Replies: 6
    Last Post: 05-25-2008, 04:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •