Thread: DSPK Infinite animation loop.

Results 1 to 6 of 6
  1. #1 DSPK Infinite animation loop. 
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    For exmaple when I mine i click the rock and the animation doesn't end when I walk. I had a problem like this with fishing but I've been browsing rune-server and someone was pretty sure it's client sided which makes sense because I've never had this issue on PI before and copied over a minning class from another PI source and still has the same issue. also whenever i use ::anim for the emote the emote is infinite untill i do another emote or something which i never remember happening before it just did the animation once then I had to use events to recall the emote =[ I've browsed through cleint and source but not sure what to be looking for especially in client.

    Offtopic to title but I was woundering if there's any tutorials for adding all the 600+ objects, animations etc that DSPK has because I don't love the client.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Mar 2010
    Posts
    121
    Thanks given
    12
    Thanks received
    9
    Rep Power
    24
    Quote Originally Posted by Fresh View Post
    For exmaple when I mine i click the rock and the animation doesn't end when I walk. I had a problem like this with fishing but I've been browsing rune-server and someone was pretty sure it's client sided which makes sense because I've never had this issue on PI before and copied over a minning class from another PI source and still has the same issue. also whenever i use ::anim for the emote the emote is infinite untill i do another emote or something which i never remember happening before it just did the animation once then I had to use events to recall the emote =[ I've browsed through cleint and source but not sure what to be looking for especially in client.

    Offtopic to title but I was woundering if there's any tutorials for adding all the 600+ objects, animations etc that DSPK has because I don't love the client.
    Add me on MSN, this is an easy fix. [email protected]

    If you don't want to add me just try this,
    Find your walking packet, add in your mining boolean, (eg IsMining) and it would be something along the lines of if(IsMining) { /* Animation and Action Reset/stop goes here */ }

    If you have an event container (which you should) for mining, its a matter of saying IsMining is false when the player moves (walking packet again) and having if(!Mining){ container.stop();}
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    I'll add you on msn =) but II've tried doing this quite a few times but no success I must be doing something wrong hope ya can help =p
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    Wow took some additional work but got it working in the end thanks alot I already knew I had to do something like that but couldn't get it working =P for anyone searching:


    Code:
    	public void resetMining() {
    		this.oreType = -1;
    		this.exp = -1;
    		this.levelReq = -1;
    		this.pickType = -1;
    		isMining = false;
    		c.startAnimation(65535);
    
    	}

    Code:
    		if (c.getMining().isMining) {
    		c.getMining().resetMining();
    		}
    In walking packet [walking.java]
    Reply With Quote  
     

  5. #5  
    Member
    Join Date
    Mar 2009
    Posts
    624
    Thanks given
    49
    Thanks received
    30
    Rep Power
    0
    Quote Originally Posted by Fresh View Post
    For exmaple when I mine i click the rock and the animation doesn't end when I walk. I had a problem like this with fishing but I've been browsing rune-server and someone was pretty sure it's client sided which makes sense because I've never had this issue on PI before and copied over a minning class from another PI source and still has the same issue. also whenever i use ::anim for the emote the emote is infinite untill i do another emote or something which i never remember happening before it just did the animation once then I had to use events to recall the emote =[ I've browsed through cleint and source but not sure what to be looking for especially in client.

    Offtopic to title but I was woundering if there's any tutorials for adding all the 600+ objects, animations etc that DSPK has because I don't love the client.
    Am I that "someone" ? Because I've said that before
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    Might of Been =P you where wrong anyway :troll:
    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. infinite hp ring?
    By nightmare2013 in forum Help
    Replies: 1
    Last Post: 01-17-2010, 09:05 PM
  2. Infinite symbol
    By RyuShin in forum Help
    Replies: 5
    Last Post: 05-09-2009, 06:13 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
  •