Thread: Stop Freezing w/ too high anim/gfx ID[cheap hack]

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Stop Freezing w/ too high anim/gfx ID[cheap hack] 
    Retired. Stop PMing me.

    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    14
    Posts
    7,528
    Thanks given
    1,783
    Thanks received
    2,822
    Discord
    View profile
    Rep Power
    5000
    SpotAnim.java, Animation.java, add:
    Code:
    System.out.println(length);
    in the unpack method.

    Run the client, bigger number is MAXANIMID and smaller is MAXGFXID.

    client.java;

    Under entity.anInt1521 = 0;, add:
    Code:
    			if(entity.anInt1520 > MAXGFXID)//gfx anti-freeze
    				entity.anInt1520 = 0;
    and under entity.anim != -1 && entity.anInt1529 <= 1, add:
    Code:
    			if(entity.anim > MAXANIMID)//anim anti-freeze
    				entity.anim = 0x328;
    It's just a cheap trick so when an animation ID or graphics ID exceeds the max ID, it sets them to gfxID 0, or the stand animation.

    I just did it to avoid annoying dcs when I type the wrong ID testing anims or gfx.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Registered Member
    Dave's Avatar
    Join Date
    Dec 2006
    Age
    26
    Posts
    3,866
    Thanks given
    178
    Thanks received
    165
    Rep Power
    2802
    Goodjob josh

    Reply With Quote  
     

  4. #3  
    Client God

    Join Date
    Aug 2009
    Posts
    3,130
    Thanks given
    3
    Thanks received
    614
    Rep Power
    896
    Cool, will use
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Mar 2010
    Posts
    152
    Thanks given
    1
    Thanks received
    3
    Rep Power
    1
    I take it I would do the same thing for objects or NPCs?
    Reply With Quote  
     

  6. #5  
    Super Donator


    Join Date
    Sep 2008
    Age
    27
    Posts
    1,897
    Thanks given
    677
    Thanks received
    776
    Rep Power
    456
    and items
    Reply With Quote  
     

  7. #6  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    why not fix it server side lol

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  8. #7  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Lol I'm not gonna say good job to this, because in all honesty there's nothing to say goodjob about, but thanks for releasing

    Reply With Quote  
     

  9. #8  
    Retired. Stop PMing me.

    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    14
    Posts
    7,528
    Thanks given
    1,783
    Thanks received
    2,822
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Scu11 View Post
    why not fix it server side lol
    Cause I don't have the server source.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #9  
    Registered Member
    Core's Avatar
    Join Date
    Sep 2007
    Posts
    4,194
    Thanks given
    11
    Thanks received
    393
    Rep Power
    1985
    Whats the last emote and gfx id in 474.
    Reply With Quote  
     

  11. #10  
    Retired. Stop PMing me.

    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    14
    Posts
    7,528
    Thanks given
    1,783
    Thanks received
    2,822
    Discord
    View profile
    Rep Power
    5000
    7297, 1247.
    [Only registered and activated users can see links. ]
    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

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