Looks like inverse of what i did to try fix Animations on RuneJava, so i made a tutorial to undo them.. Hahaha.
Forgot to Declare:
public int emoteTimer = 0;
Note: This has no effect what so ever on my server.
|
|

Description: This was mainly made because I started on a blank source and I didnt know the code to make animations not continuously loop, so I made my own, Note Leave your flaming outside this topic!!!!
Difficulty: 1/10
Assumed Knowledge: Where to find boolean/void process, you have emotes looping emotes on your server
Tested Server: RuneFusion (will work on any server with looping emotes)
Files/Classes Modified: client.java
Procedure
Step 1: Add/Replace this void
Step 2: Add/Replace this codeCode:public void animation(int i) { if(emoteTimer <= 0) { pEmote = i; emoteTimer = 8; } }
Step 3: FInallly add this is boolean/void processCode:public void resetAnimation() { pEmote = playerSE; updateRequired = true; appearanceUpdateRequired = true; }
Code:emoteTimer -= 0.5; if(emoteTimer <= 0) { resetAnimation(); }
Step 4 Declare this int
Wasn't that simple??Code:public int emoteTimer = 0;
Credits: 100% Me

Looks like inverse of what i did to try fix Animations on RuneJava, so i made a tutorial to undo them.. Hahaha.
Forgot to Declare:
public int emoteTimer = 0;
Note: This has no effect what so ever on my server.



Well... am a noobish coder so i wouldnt know about the update masks, i still dont know what they are =S could someone explain please? Anyway you dont have to use my way, but i like my way its easy and i got the emote time perfect now =P and also i have never worked off a blank source and the reason i started blank source is: as well as it being totally mine from scratch (muahhahahah) i cant also learn stuff as i go along

good 'n' easy tut but when you got more stuff ur server will lagg of unwanted code but learn how to do update masks 'n' stuff to too it the propper wayopen player.java it handles all the update masks for players. 'n' npc.java for the npc update masks
| « Key Maze Mini | make the button logout work [warning!!!noob friendly]!!!!!!!!!! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |