Thread: Firemaking

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Firemaking 
    CorruptionPVP CODER
    Kronos's Avatar
    Join Date
    Aug 2011
    Posts
    850
    Thanks given
    148
    Thanks received
    32
    Rep Power
    128
    Whenever i light a log it never moves off the spot and also i can just keep lighting the log in the same place???
    Firemaking.java

    Thanks in advance
    ~Kronos
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Nov 2012
    Posts
    525
    Thanks given
    69
    Thanks received
    309
    Rep Power
    3757
    "firemaking"

    "cooking class" wat?
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Donator


    Join Date
    Mar 2011
    Posts
    2,350
    Thanks given
    1,193
    Thanks received
    824
    Rep Power
    856
    Quote Originally Posted by Muntuna View Post
    "firemaking"

    "cooking class" wat?
    literally lol'd
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    CorruptionPVP CODER
    Kronos's Avatar
    Join Date
    Aug 2011
    Posts
    850
    Thanks given
    148
    Thanks received
    32
    Rep Power
    128
    Quote Originally Posted by Pegasus View Post
    literally lol'd
    Ffffffffffffffffff my mistake!!
    just updated
    Firemaking.java
    Reply With Quote  
     

  7. #5  
    Super Donator

    Xsj's Avatar
    Join Date
    Jul 2010
    Age
    26
    Posts
    301
    Thanks given
    184
    Thanks received
    64
    Rep Power
    278
    Code:
    if(VirtualWorld.I(c.heightLevel, c.absX, c.absY, c.absX-1, c.absY, 0)) {
    			c.getPA().walkTo(-1, 0);
    			} else {
    			c.getPA().walkTo(1, 0);
    		        }	
    	c.turnPlayerTo(c.getX() + 1, c.getY());
    }
    Code:
    public void turnPlayerTo(int pointX, int pointY){
          FocusPointX = 2*pointX+1;
          FocusPointY = 2*pointY+1;
          updateRequired = true;
    }
    Reply With Quote  
     

  8. #6  
    CorruptionPVP CODER
    Kronos's Avatar
    Join Date
    Aug 2011
    Posts
    850
    Thanks given
    148
    Thanks received
    32
    Rep Power
    128
    Quote Originally Posted by OperationX View Post
    Code:
    if(VirtualWorld.I(c.heightLevel, c.absX, c.absY, c.absX-1, c.absY, 0)) {
    			c.getPA().walkTo(-1, 0);
    			} else {
    			c.getPA().walkTo(1, 0);
    		        }	
    	c.turnPlayerTo(c.getX() + 1, c.getY());
    }
    Code:
    public void turnPlayerTo(int pointX, int pointY){
          FocusPointX = 2*pointX+1;
          FocusPointY = 2*pointY+1;
          updateRequired = true;
    }
    Trying this going to edit if it works
    EDIT*
    ok i replaced my current if(VirtualWorld.I(c.heightLevel, c.absX, c.absY, c.absX-1, c.absY, 0)) {l
    and just added public void turnPlayerTo(int pointX, int pointY){ but im either adding it wrong or its just wrong because im getting 42 errors.
    Reply With Quote  
     

  9. #7  
    Banned
    Join Date
    Jun 2012
    Posts
    438
    Thanks given
    13
    Thanks received
    27
    Rep Power
    0
    Quote Originally Posted by Kronos View Post
    Trying this going to edit if it works
    EDIT*
    ok i replaced my current if(VirtualWorld.I(c.heightLevel, c.absX, c.absY, c.absX-1, c.absY, 0)) {l
    and just added public void turnPlayerTo(int pointX, int pointY){ but im either adding it wrong or its just wrong because im getting 42 errors.
    pls dont tell me you just put that code in there... put the method outside of that method then replace the if(Virtualworld shit with
    Code:
    this.turnPlayerTo(c.absX, c.absY);
    Reply With Quote  
     

  10. Thankful user:

    Super DonatorXsj

  11. #8  
    CorruptionPVP CODER
    Kronos's Avatar
    Join Date
    Aug 2011
    Posts
    850
    Thanks given
    148
    Thanks received
    32
    Rep Power
    128
    Quote Originally Posted by -HAT- View Post
    pls dont tell me you just put that code in there... put the method outside of that method then replace the if(Virtualworld shit with
    Code:
    this.turnPlayerTo(c.absX, c.absY);
    still doesnt work.
    can you just edit the firemaking class?
    Reply With Quote  
     

  12. #9  
    Banned
    Join Date
    Jun 2012
    Posts
    438
    Thanks given
    13
    Thanks received
    27
    Rep Power
    0
    oh lol i didnt even read code i think that guy means to replace your turnPlayerTo method with his
    Reply With Quote  
     

  13. #10  
    CorruptionPVP CODER
    Kronos's Avatar
    Join Date
    Aug 2011
    Posts
    850
    Thanks given
    148
    Thanks received
    32
    Rep Power
    128
    Quote Originally Posted by -HAT- View Post
    oh lol i didnt even read code i think that guy means to replace your turnPlayerTo method with his
    .......
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. Firemaking with emotes and gfx!
    By x19 in forum Tutorials
    Replies: 11
    Last Post: 08-01-2007, 09:35 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
  •