Thread: Spinning wheel error

Results 1 to 10 of 10
  1. #1 Spinning wheel error 
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    Hey guys , i was trying to fix the crafting on my server . i ran into a spinning bug , where you spin flax into bow string, well it turns out i do have a method for it in crafting.java



    can some one come up with a solution to my problem

    Code:
    	public void spin(client c) {
    		if (c.playerHasItem(1779)) {
    			c.deleteItem(1779, 1);
    			c.addItem(1777, 1);
    			c.lastAction = System.currentTimeMillis();
    			c.addSkillXP(30 * server.SERVER_EXPERIENCE, c.playerCrafting);
    		} else {
    			crafting = false;
    		}
    	}
    
    }

    Also in client.java it calls it every 1900 milliseconds

    Code:
    		if (getCraft().spinning && (System.currentTimeMillis() - lastAction >= 1900)) {
    			lastAction = System.currentTimeMillis();
    			getCraft().spin(this);
    		}
    But when ever i spin a spinning wheel nothing happens. I dont think theres a packet in the coding for spinning. If you can help me out with my problem

    ~thankss so much and repp
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jan 2007
    Age
    27
    Posts
    4,417
    Thanks given
    3
    Thanks received
    105
    Rep Power
    0
    Don't bump please. I told you on your other thread, you're missing the open interface and you don't have it configured.
    Reply With Quote  
     

  3. #3  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    there is not interface to be opened , if im wrong , could you please help me man major re please dude please
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
    Reply With Quote  
     

  4. #4  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    I told you how to make it work in your other thread....i told you how through object clicking and through item on object.

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    dude!! i tried that , any way imaginable , please could you just give me the code under the packet 8748:

    please thanks guys
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
    Reply With Quote  
     

  6. #6  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    please someone help please
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
    Reply With Quote  
     

  7. #7  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by akeid View Post
    dude!! i tried that , any way imaginable , please could you just give me the code under the packet 8748:

    please thanks guys
    wtf do you mean packet 8748?

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #8  
    Registered Member
    thing1's Avatar
    Join Date
    Aug 2008
    Posts
    2,014
    Thanks given
    128
    Thanks received
    1,008
    Rep Power
    2163
    Quote Originally Posted by Mental Piracy View Post
    wtf do you mean packet 8748?
    theres a packet 8748?! lol
    Reply With Quote  
     

  9. #9  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by thing1 View Post
    theres a packet 8748?! lol
    idk about him but my client only loads 256

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    wtf lol , i mean when i right click on an object , is says is id is that number , how do i know wich packet it is
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •