Thread: PI Wildy Ditch Help

Results 1 to 8 of 8
  1. #1 PI Wildy Ditch Help 
    Banned
    Join Date
    Mar 2011
    Posts
    521
    Thanks given
    2
    Thanks received
    30
    Rep Power
    0
    Hey guys im using a project insanity base, and no its not a leech, but back on topic, when i added the wildy ditch, i can jump over it, but when im in the wild it wont let me jump back over, anyone know why? D:
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2010
    Age
    29
    Posts
    686
    Thanks given
    35
    Thanks received
    92
    Rep Power
    157
    Check the action of the object? It may be appending only to a certain Y axis.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2011
    Posts
    521
    Thanks given
    2
    Thanks received
    30
    Rep Power
    0
    Well i've been looking over it and i cant recognise anything, would u mind actually helping me over like teamveiwer? ide be glad to pay you a easy buck.
    Reply With Quote  
     

  4. #4  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    actionhandler.java
    find:
    Code:
    public void firstClickObject(int objectType, int obX, int obY) {
    OVER it, add:
    Code:
    	public void wildyditch() {
    		{
    	if (c.absY <= c.objectY){
    		
    		c.startAnimation(6132);
    		c.getPA().walkTo(0, +3);
    		} else if (c.objectY < c.absY) {
    		c.startAnimation(6132);
    				c.getPA().walkTo(0, -3);
    				} 
    		}
    		}
    Then find this again:
    Code:
    public void firstClickObject(int objectType, int obX, int obY) {
    and add this under it:
    Code:
     		case 23271:
    		wildyditch();
    		break;
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2011
    Posts
    135
    Thanks given
    13
    Thanks received
    10
    Rep Power
    1
    @ ActionHandler under first click object
    Code:
    		case 23271:
    			c.turnPlayerTo(obX, obY);
    			if (c.absY <= 3520) {
    				c.getPA().walkTo(0, 3);
    				c.startAnimation(6132);
    			} else if (c.absY >= 3523) {
    				c.getPA().walkTo(0, -3);
    				c.startAnimation(6132);
    			}
    			break;
    @ ClickObject
    under
    Code:
    switch (c.objectId) {
    Code:
    			case 23271:
    				if (c.absY >= 3523) {
    					c.objectDistance = 1;
    					c.objectXOffset = 0;
    					c.objectYOffset = 3;
    				}
    				break;
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Mar 2011
    Posts
    521
    Thanks given
    2
    Thanks received
    30
    Rep Power
    0
    Both codes gave me errors.
    Reply With Quote  
     

  7. #7  
    Registered Member Meerster's Avatar
    Join Date
    Sep 2009
    Posts
    403
    Thanks given
    81
    Thanks received
    39
    Rep Power
    59
    Quote Originally Posted by Kh a Li F a View Post
    Both codes gave me errors.
    Error's are?
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Mar 2011
    Posts
    521
    Thanks given
    2
    Thanks received
    30
    Rep Power
    0
    Fixed.
    Close
    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. [PI]Wildy Ditch
    By Snake in forum Help
    Replies: 6
    Last Post: 08-01-2011, 11:56 PM
  2. Wildy ditch
    By Mr.Client in forum Help
    Replies: 0
    Last Post: 11-12-2010, 05:04 AM
  3. [508] Wildy ditch?
    By feefs in forum Help
    Replies: 1
    Last Post: 06-24-2009, 06:47 PM
  4. wildy ditch
    By Harley in forum Requests
    Replies: 2
    Last Post: 05-10-2009, 12:16 AM
  5. Wildy Ditch =/
    By Vastiko in forum RS 503+ Client & Server
    Replies: 13
    Last Post: 09-17-2008, 12:43 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
  •