Ikoscape
Welcome to I Ko Scape Forums! Please Log In or Register!
Ikoscape
Welcome to I Ko Scape Forums! Please Log In or Register!
Ikoscape
Would you like to react to this message? Create an account in a few clicks or log in to continue.


-Owner- I Ko Ryan / -Lead PeaceKeeper- Ceredirond (Elvemage)
 
HomePortalSearchLatest imagesRegisterLog inStaff List

 

 Ryan This Is About WebClient And How To Make One

Go down 
3 posters
AuthorMessage
Ceredirond
Peace Keeper
Peace Keeper
Ceredirond


Posts : 208
Points : 15671
Rep : 9
Join date : 2010-06-07
Age : 28
Location : Texas, USA

Ryan This Is About WebClient And How To Make One Empty
PostSubject: Ryan This Is About WebClient And How To Make One   Ryan This Is About WebClient And How To Make One EmptyWed Jul 28, 2010 12:08 am

Attention



The Poster Of This:Name: NaikBoi says NOTE: I DO NOT TAKE ANY CRED FOR THIS AT ALL! I'M ONLY POSTING IT HERE BECAUSE I HAVEN'T FOUND IT ANYWHERE HERE, AND I'VE SEEN A FEW PEOPLE ASKING ABOUT IT.


This is For 317,377 but should be easy for 508!

All You Need Is A Computer, And A Brain, Witch I know you Got Ryan Razz

NOTE: I DO NOT TAKE ANY CRED FOR THIS AT ALL! I'M ONLY POSTING IT HERE BECAUSE I HAVEN'T FOUND IT ANYWHERE HERE, AND I'VE SEEN A FEW PEOPLE ASKING ABOUT IT.

In this tutorial I will be teaching you how to turn a regular client, into a web client. I will be telling you what you need, and how to get it. I will not be teaching you how to edit clients.
All you need is a computer!


The first thing you need to do is get winRar. (most people have it by now, but just to be sure).
You can download it at
http://www.rarlab.com/download.htm
Get the first one (WinRar 3.71)

For those of you who do not know what WinRar is, here is a definition i got at
http://kb.iu.edu/data/anny.html
Code:

WinRAR is a competing product to WinZip; both products compress/decompress and archive files. Files compressed with WinRAR typically have the .rar extension, as opposed to .zip for WinZip archives. WinRAR can also create and decompress a WinZip archived file.

Like later versions of WinZip, WinRAR has the ability to create archives in multiple parts; that is, it not only can compress a file but can split it up into smaller parts. In WinZip, this is called a "split Zip file"; in WinRAR, this is called a "multipart" or "multivolume" archive. When this is done, the extensions for the smaller RAR files end up being .r00, .r01, and so forth, with the first file just having the .rar extension. To decompress a multipart archive, you simply have to ensure that all the component files (.rar, .r00, .r01, etc.) are in the same directory. When you double-click the .rar file, all other files are automatically found by WinRAR without you having to select them, and the final decompressed file is automatically assembled from all those files.

In many Usenet newsgroups, .rar files are favored over .zip files; many FAQs for newsgroups, especially the binary ones, mention and openly push .rar over .zip. Many posters to various groups have said that they prefer the way WinRAR creates multipart archives. Multipart archives are important on Usenet, as a majority of newsgroup servers have strict size limitations for binary groups, and many foreign newsgroup users tend to be on Internet service providers (ISPs) that have strict megabyte limitations on downloads. Because of these limitations, it is actually considered impolite to post very large files, as many people won't be able to download them all at once due to the restrictions. Posting multipart archives solves this problem, as users can download as much as they're able to at one time and still eventually end up with the complete file.


The next thing you need is a client.

EyreScape
http://www.megaupload.com/?d=01SH1FJJ
http://rapidshare.com/files/14966631...OpenSource.rar

ScapeRune
http://www.megaupload.com/?d=3G8V80W1

ScapePlayer
http://www.megaupload.com/?d=3G8V80W1

JehanScape Client
http://www.megaupload.com/?d=W1XZYHYQ

JehanScape Client V2
http://www.megaupload.com/?d=CW59X5KW


Just unzip the rar/zip file with WinRar (downloaded earlier).

But enough of all the preparing, now lets talk about how to turn a client, into a web client.


Getting A Web Site
This can be one of the hardest parts of this whole tutorial (to your wallet), but also one of the most important. I will be telling you how to get a web site. Free web-sites are not what you want to use (unless it is nationvoice)! If you want to buy a web site (domain & hosting) I suggest buying it all through GoDaddy But there are many other places to buy your web site. If you don't want to buy a web site then use Nationvoice

Getting your client to look for images on the web
After you sign up for a website you must edit the file Class30_sub2_sub1_sub1 so it looks on the web for all the images. Sadly costom sprites will not work with web-clients.
Download the new Class30_Sub2_Sub1_Sub1.java Here
Save that file to the clients folder (if it asks to replace, which it will, hit yes).

Now you must upload the clients background image, to a image host. Here are some good ones.

http://imageshack.us/
http://photobucket.com/

Next open up the NEW Class_30_Sub2_Sub1_Sub1.java and search for

Code:

“Image image = ”

Replace That Whole Line With
Code:

Image image = Toolkit.getDefaultToolkit().getImage(new URL("imageurlhere"));

Change the imageurlhere to the url of your client background.

Then Compile the client.

Jaring & Signing The Client
The first thing you must do is download the jar maker/signer Here

Then clear EVERY thing out of the manifest folder.
If you don't have anything in your manifest folder then skip that step.

Next run the jar maker/signer, and open the JarMaker tab.
Set the output directory to your client folder. change the application.jar to anything you want. BUT KEEP THE .JAR PART!!!
Set the input directory to your clients folder.
Then hit the manifest template button, for the main class put client
Then hit the set manifest button, then hit the Create Jar! button

Congrats! You just made a jar!
Now to Sign it.
Signing the jar, basicly tells who made the jar, and what the jars name is.

Signing the Jar
Hit the Jar Signer tab.
For the out put file put the path to your clients folder, and change the application.jar to whateveryouwant.jar
For the signed Jar file put signed_JARNAME
For The Jarsigner path, put the path to your jarsigner.
It should be something like what is allready there.
Then hit the Generate Keystore button/
For keytool location put the path to keytool.exe (should be something like what they have).
For output keystore file put the path to your client folder, and put Keystore as the file name.
Fill in all of the other boxes (self explained). Except the City, Province, country (unless you want to).
And hit generate keystore.
Then for the Keystore file, put the path to the one you just made (should be in clients folder).
And fill out the Keystore alias, Public key, and private key (there what ever you set them as).
And hit Sign Jar!


If that appears when you run the jar (online), then the jar is signed correctly

Your almost done!
Now, upload the jar file to the website you got earlier.

Open up a blank notepad document and put this in.

Code:




archive="JAR URL" code="client">



Change the WEBCLIEBT NAME to the name of the webclient (or what ever you want the pages name to be)
and the JAR URL to the url to the jar.

That is just basic html. You can get more html help at http://w3schools.com/html/default.asp.

Save that as client.html and upload it to your site.

Congrats you have just turned your downloadable client into a webclient!

Fixes:(if needed)

This should stop the connection problems. The connection error "Error connecting, retrying in 10 seconds, 20 seconds, ect." is just an error while connecting to the cache. The easiest way to fix this is to get the client to look for the moparscape cache, because most people have this in their computer and it is always in the same place.

Step 1:
Open your signlink.java file.
If you scoll about half way through the file (it could be different on yours) you should see the following line.

Code:

String string_0_ = ".file_store_32";

Change the .file_store_32 part to C:\WINDOWS\.mpr_file_store_32\

There is an alternative way to fix this.
If you have a line below that line that says
Code:

String string_1_ = "./cache/";

Then you can do it this way.
Make a directory called "cache" (without quotation warks) on your website. Upload all the contents of any of the private server cache folders (like .mpr_file_store_32) to that folder.

PLEASE SCAN EVERYTHING BEFORE YOU UN-ZIP/RAR THEM!!


Last edited by Elvemage on Thu Jul 29, 2010 1:30 pm; edited 1 time in total
Back to top Go down
https://ikoscape.forumotion.co.uk
I Ko Ryan
Owner
Owner
I Ko Ryan


Posts : 199
Points : 15688
Rep : 19
Join date : 2010-06-05
Age : 29
Location : U.S.A.

Ryan This Is About WebClient And How To Make One Empty
PostSubject: Re: Ryan This Is About WebClient And How To Make One   Ryan This Is About WebClient And How To Make One EmptyThu Jul 29, 2010 12:30 am

Alright, once we get a domain I'll read this and get a web client set up for us.
thanks Elve for finding this
Back to top Go down
https://ikoscape.forumotion.co.uk
PerfeKt
Owner
Owner
PerfeKt


Posts : 8
Points : 15338
Rep : 0
Join date : 2010-06-06
Age : 29
Location : Delaware

Ryan This Is About WebClient And How To Make One Empty
PostSubject: Re: Ryan This Is About WebClient And How To Make One   Ryan This Is About WebClient And How To Make One EmptyThu Jul 29, 2010 12:29 pm

Elve,
Please post the sight and/or author which you got this from so it'll give the right
credits to them.

Thanks,
Luke
Back to top Go down
https://ikoscape.forumotion.co.uk
Ceredirond
Peace Keeper
Peace Keeper
Ceredirond


Posts : 208
Points : 15671
Rep : 9
Join date : 2010-06-07
Age : 28
Location : Texas, USA

Ryan This Is About WebClient And How To Make One Empty
PostSubject: Re: Ryan This Is About WebClient And How To Make One   Ryan This Is About WebClient And How To Make One EmptyThu Jul 29, 2010 1:31 pm

I did what I could but the Poster of it said he doesn't take any credit for the guide, and he didn't say who actually made it :l

So there you go luke Razz
Back to top Go down
https://ikoscape.forumotion.co.uk
Sponsored content





Ryan This Is About WebClient And How To Make One Empty
PostSubject: Re: Ryan This Is About WebClient And How To Make One   Ryan This Is About WebClient And How To Make One Empty

Back to top Go down
 
Ryan This Is About WebClient And How To Make One
Back to top 
Page 1 of 1
 Similar topics
-
» Ryan, If you want...
» To all staff
» yo Ryan
» ***Ryan Please Look***
» ***About Forums Ryan Please Read***

Permissions in this forum:You cannot reply to topics in this forum
Ikoscape :: General :: Discussion-
Jump to: