Thread: Where Do I Add Walking Anim?

Results 1 to 7 of 7
  1. #1 Where Do I Add Walking Anim? 
    Banned

    Join Date
    Jan 2011
    Posts
    3,273
    Thanks given
    345
    Thanks received
    545
    Rep Power
    0
    I know it's client sided and possbily in entitydef.java but where would you place it?
    Reply With Quote  
     

  2. #2  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    29
    Posts
    1,423
    Thanks given
    275
    Thanks received
    153
    Rep Power
    39
    entityDef.walkAnim = xxx
    Attached image
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jan 2011
    Posts
    3,273
    Thanks given
    345
    Thanks received
    545
    Rep Power
    0
    Doesn't show any similar code though thats why it's confusing me. http://pastebin.com/twzVTJi9
    Reply With Quote  
     

  4. #4  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    29
    Posts
    1,423
    Thanks given
    275
    Thanks received
    153
    Rep Power
    39
    anInt56 = (anInt56 + 1) % 20;
    EntityDef entitydef = cache[anInt56] = new EntityDef();
    stream.currentOffset = streamIndices[i];
    entitydef.interfaceType = i;
    entitydef.readValues(stream);

    //add custom npcs here.

    if(i == xxx) {//xxx = id
    entityDef.standAnim = xxx;//stand animation
    entityDef.walkAnim = xxx;//walk animation
    }

    return entitydef;
    }
    Attached image
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jan 2011
    Posts
    3,273
    Thanks given
    345
    Thanks received
    545
    Rep Power
    0
    Quote Originally Posted by l0lc0pt3r View Post
    anInt56 = (anInt56 + 1) % 20;
    EntityDef entitydef = cache[anInt56] = new EntityDef();
    stream.currentOffset = streamIndices[i];
    entitydef.interfaceType = i;
    entitydef.readValues(stream);

    //add custom npcs here.

    if(i == xxx) {//xxx = id
    entityDef.standAnim = xxx;//stand animation
    entityDef.walkAnim = xxx;//walk animation
    }

    return entitydef;
    }

    Code:
    Java\EntityDef.java:60: error: cannot find symbol
    entityDef.walkAnim = 2452;//walk animation
    ^
      symbol:   variable entityDef
      location: class EntityDef
    Java\EntityDef.java:61: error: cannot find symbol
    entityDef.standAnim = 2631;//stand animation
    ^
      symbol:   variable entityDef
      location: class EntityDef
    Note: Java\client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    29
    Posts
    1,423
    Thanks given
    275
    Thanks received
    153
    Rep Power
    39
    u can only bump every 24hrs. change entityDef to entitydef try that
    Attached image
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jan 2011
    Posts
    3,273
    Thanks given
    345
    Thanks received
    545
    Rep Power
    0
    Didn't work
    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. Replies: 1
    Last Post: 10-29-2011, 08:35 PM
  2. Add to walking queue
    By infestor1 in forum Help
    Replies: 0
    Last Post: 08-17-2011, 05:30 AM
  3. Replies: 3
    Last Post: 06-29-2009, 12:07 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
  •