Yo Guys :) !
Introduction :
As Usual This Project Is an OpenSource Project , ThereFor You are able to edit the Code Or Import It whereever you want haha :D [ don't forget about My CopyLeft :rtfm: ]
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 . :handsdown:
Screen-shot :
[Only registered and activated users can see links. Click Here To Register...]
The Tutorial :
Well , The Application already Contains :
2 Textboxes
1 PictureBox
2 Buttons
:mofo:
Language : C# .
○○○
As First you have to use 2 System (System.IO , System.Threading)
Well Let's Start With The Import Function Into The First Button :p
All We need to Do Is To Import A Picture Using an OpenFileDialog Form
Like This :
Then You have To Make This Button able To Add The Selected Picture To The PictureBox
Using This Code ^^ :
Then one Line Code To AppendText To Path's Textbox :
// Well This was for Importing.function :p
••••
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" :D :D :D
So , For That I'm gonna use this Code :
But we have To Make a String wich Contains The Correct Full Path , So Let's Name It it , Hashpath :D :
{ I'll Explain 'Hash' Variable in the Last Code Later :p }
but now ... To avoid a bug* (If there is already a Wallpaper File in Game's Resource , It'll be a problem :( ) That's why we Have To Delete it if It's Exist :mad:
For That We'll use If 'statement' In our Code :D :
[ If The Tool Will find a File Contains This Name ";UZaKh.=yd3n%4U5g)ob&d8" It will just Delete it :D ]
Now we came to last Part , The easiest , Hashing Part :bandit:
For Real It's not hashing hahahah
Before showing you The Code i have To explain 'HASH' Word First :p
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
;)
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 :
It's Over , Just Click on Debug And Try your Application ^___^ .
( 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 :D )
Download Link (You can it also from the attachments ) : [Only registered and activated users can see links. Click Here To Register...]
Have Fun Guys ^_____^""
Dev.IceSword
Skype : Dev.IceSword
Bye Bye :cool:
Created By Alaa Ben Fatma
Introduction :
As Usual This Project Is an OpenSource Project , ThereFor You are able to edit the Code Or Import It whereever you want haha :D [ don't forget about My CopyLeft :rtfm: ]
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 . :handsdown:
Screen-shot :
[Only registered and activated users can see links. Click Here To Register...]
The Tutorial :
Well , The Application already Contains :
2 Textboxes
1 PictureBox
2 Buttons
:mofo:
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" :D :D :D
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 :( ) That's why we Have To Delete it if It's Exist :mad:
For That We'll use If 'statement' In our Code :D :
Code:
if (File.Exists(Hashpath.ToString()))
{
File.Delete(Hashpath);
}
else
{
//Do Nothing
}
Now we came to last Part , The easiest , Hashing Part :bandit:
For Real It's not hashing hahahah
Before showing you The Code i have To explain 'HASH' Word First :p
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 :D )
Download Link (You can it also from the attachments ) : [Only registered and activated users can see links. Click Here To Register...]
Have Fun Guys ^_____^""
Dev.IceSword
Skype : Dev.IceSword
Bye Bye :cool:
Created By Alaa Ben Fatma