Code:
if(j == 604){//Red skull
cache[j].anInt405 = 12411;
cache[j].anInt406 = 4417;
cache[j].aAnimation_407 = Animation.anims[cache[j].anInt406];
}i just changed the model id but its a bit easyer now since that is the original model

Code:
if(l == 1005) {
//World map action
pushMessage("The world map feature is currently disabled.", 0, "");
}Now I don't know what you want it to do, but you can make it do anything you want by putting it in there.
__________________________

Now thats it, you're done. Save, compile, try it out. If you have any errors, feel free to ask about them.

Section 2 - Tutorial:
This video is to help you see what you gotta do.
Webclient tutorial video: [ame=http://www.youtube.com/watch?v=l7o4uNTrdEQ&fmt=22]YouTube - &#x202a;Webclient Tutorial Video&#x202c;&lrm;[/ame]
Subscribe for future videos. I might make a new webclient video or something.
--------------------------------------------------------------------------------------------------------------

2.1 - Step 1 - Signlink.java
Open up Signlink.java and search for findcachedir() and replace that method with this one:

replace yourclientname with the name of your client. For example: C:/.ricscape_file_store_32/
Save signlink.java and close it.

public void deleteFile()
{
try
{
File file = new File(signlink.findcachedir()+dir+name);
file.delete();
}
catch(Exception e)
{
e.printStackTrace();
}
}Once you have added those method's in your client.java, scroll all the way up still you see import's then add the following under the rest of them.

2.6 - End of tutorial details
This is what your webclient should do if you did this tutorial right:
[ame=http://www.youtube.com/watch?v=4wzI6JJP-Ds&fmt=22]YouTube - &#x202a;Finished Webclient&#x202c;&lrm;[/ame]

Section 3 - Extra
3.1 - Frequently Asked Questions
Question: What's a good file host for my cache?
Answer: You can use any host that allows direct linking. Here are some that allow direct linking:[Only registered and activated users can see links. ][Only registered and activated users can see links. ]

Question: Ric, it's too hard. Can you make it for me?
Answer: No, I don't do this for people anymore. You gotta learn how to make a webclient for when you update your client.

Question: I have found a error or a misspelled word on your tutorial, what do I do?
Answer: Send me a private message with the error or misspelled word.

Question: The java console says it cannot find client.class, What should I do?
Answer: I recommend deleting all the class files and recompile your client.

Question: I get the 1,2,3,4,5 error. What do I do?
Answer: Make sure you have the cache and sprites in cache.zip and that the client reads the cache and sprites from *where your cache.zip downloads/extracts to*

Question: I get a java heap space error, What do I do?
Answer: Make sure you have <param name="java_arguments" value="-Xmx1024m"> in your applet code.
--------------------------------------------------------------------------------------------------------------

3.2 - Credit:
Ric914 - Writing/Releasing this tutorial.
Moparisthebest - I used some stuff from his downloader

No Credits to me bc its Ric's Tut
I only posted this bc i thought We need a Webclient Tut !