Introduction :
As Usual This Project Is an OpenSource Project , ThereFor You are able to edit the Code Or Import It whereever you want haha
Features :
Oh well... I guess that this Project isn't that Useful Project To Edit the databases or anything else Related To The Game... Only To Show you how To Change your Login Wallpaper using a tool u've made .
Screen-shot :
The Tutorial :
Well , The Application already Contains :
2 Textboxes
1 PictureBox
2 Buttons
Language : C# .
○○○
As First you have to use 2 System (System.IO , System.Threading)
Code:
using System.IO; using System.Threading;
All We need to Do Is To Import A Picture Using an OpenFileDialog Form
Like This :
Code:
OpenFileDialog Import = new OpenFileDialog(); Import.FileName = "Image..."; Import.ShowDialog();
Using This Code ^^ :
Code:
Image img = Image.FromFile(Import.FileName.ToString()); pictureBox1.BackgroundImage = img;
Code:
path.Text = Import.FileName;
••••
Let's Pass To The Next Function [ Exporting The Picture To a Resource File ]
Well , Honestly This Part is the Easiest part in this Project...
First , We Have To Create an FolderBrowser To select Client's Path [ Not Resource's Path ] and Let's call It "Export"
So , For That I'm gonna use this Code :
Code:
FolderBrowserDialog Export = new FolderBrowserDialog(); Export.Description = "Select Rappelz's Client folder, Not The Resource's Folder"; Export.ShowDialog();
Code:
string Hashpath = (Export.SelectedPath + @"\Resource\" + Hash);
but now ... To avoid a bug* (If there is already a Wallpaper File in Game's Resource , It'll be a problem
For That We'll use If 'statement' In our Code
Code:
if (File.Exists(Hashpath.ToString()))
{
File.Delete(Hashpath);
}
else
{
//Do Nothing
}
Now we came to last Part , The easiest , Hashing Part
For Real It's not hashing hahahah
Before showing you The Code i have To explain 'HASH' Word First
Hash word is a string wich contains ";UZaKh.=yd3n%4U5g)ob&d8"(Wallpaper's Name after Getting Hashed)
So You have Add This code under The First Class In The Form
Code:
public static string Hash = ";UZaKh.=yd3n%4U5g)ob&d8";
Now , The Final Code ...
This is the code into Hash's Button wich will automatically Change The Extension and The Name of The Picture to This ";UZaKh.=yd3n%4U5g)ob&d8"
The Code Is :
Code:
File.Copy(path.Text, Hashpath);
( Notice : About Actions TextBox Called "Logs" And State's Label in The bar they are not so Important , If you are interrested just Check Them by your self . I'm just to supposed how This Tool Works
Download Link (You can it also from the attachments ) :
Have Fun Guys ^_____^""
Dev.IceSword
Skype : Dev.IceSword
Bye Bye
Created By Alaa Ben Fatma






