Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 14:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[TUT]Auto-Updater w/ XAMPP

Discussion on [TUT]Auto-Updater w/ XAMPP within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
iCraziE's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 456
Received Thanks: 218
[TUT]Auto-Updater w/ XAMPP

Okay so i searched on the forums and I haven't seen a post for this except in the list of tutorials that trane posted (different style updater).

First off you will need web server (xampp). I use xampp so i will explain how this works for xampp, it may be different for other web servers.

Download the Updater.rar file below and extract it into the correct folders.

Code:
The contents of htdocs go in your htdocs folder located in your xampp folder.
C:/Program Files/xampp/htdocs

The contents of the dekaron folder go in your dekaron folder (outside the bin and data folders).

And the Update Creator folder can be place anywhere that you like (i.e Desktop)
Once everything is in the correct place, you can begin to configure your files.

Go to C:/Program Files/xampp/htdocs/update and locate your buttons.config file.

Here you can change what the buttons on the launcher will redirect the user to.

Code:
For instance set the url for your homepage and the name to Home, and when a user clicks home it will redirect them to your homepage.
Put your domain name or host ip in the url.config.
And type the name of your server in the server.config file

Code:
url.config -- http://[your ip/domain name here]:80/index.html
server.config -- Index,Name,Group,Select
                      0,[your server name here],0,0
Copy the buttons, history, lang, and url config files and paste them into your dekaron folder. Hit replace to all.

Open your update.ini file.

Set your host ip. (Your server IP) and save.

---PART 2: Creating an Update!---

Open the Update Creator folder and open the 7z folder and delete the files there. do the same for the updata folder.

Go to your updata folder. This is where you will put the updates you want to implement in your server. Lets start with a very simple update.

Inside the updata folder, right click and click new and create a new text document. name it testupdate. write something in the test document. (doesnt matter what)

save it. go out into the update creator folder and run the update creator.exe

Click new update. once it has finished close the program and open your 7z folder.

You will see a new file(s) there. drag that file into your C:/Program Files/xampp/htdocs/update/00.00.00 folder. Rename that folder to 00.00.01

Open the history.config file and change the number to

Code:
00.00.01 1
That last number is important it identifies how many files where in the last update. (how many files you drag from 7z folder to your update folder.)

Now, Go to your start your dekaron launcher and watch the magic.

You should see it says Update Successful 00.00.01.

---PART 3: Creating another update---

Once you apply an update you must leave the folders in the htdocs/update.
Lets try making another update this time editing that new file we just added.
Lets go to your dekaron folder and find the new file, copy it.


This time lets try putting it further into the dekaron folder.

go to your update creator/updata folder. create a new folder and name it

Code:
data
inside the data folder make a new folder and name it share
paste the text file into the share folder.


go back to the update creator and run the exe. (make sure your 7z folder is empty.)

Click on new update. Once it has completed go to your htdocs/update folder and create a new folder named 00.00.02
move the files in the 7z folder into that folder.
Then edit the history.config file again this time making a NEW line under your previous one.


should look like this now

Code:
00.00.01 1
00.00.02 1 [COLOR="Red"][B]<--- Remember this last number should represent                                                                 
                                              the number of files you moved from your
                                              7z folder.[/B] 
                                              The launcher will only update the specified 
                                              amount here.[/COLOR]
Save. Go back to your dekaron launcher and watch the update.

Now go check your work. Go to your data/share folder. and locate the new file there.

Congrats you have successfully learned how to auto update your client.

I don't know who to give credit for for the files so if you deserve credit let me know and ill be sure to give them to you =D

I didn't make any of the files here, all i did was make a tutorial on how to set it up. I hope I was able to help, press thanks if I did. Good luck.
Attached Files
File Type: rar Updater.rar (1.04 MB, 493 views)
iCraziE is offline  
Thanks
9 Users
Old 04/06/2012, 20:13   #2
 
PyrexiaStudios's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 150
Received Thanks: 74
You didnt search that hard since i just did a tut including a launcher with dumbed down directions.
PyrexiaStudios is offline  
Old 04/06/2012, 21:10   #3
 
BlackLixt's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 171
Received Thanks: 58
still it's a good tut nice work ^^
BlackLixt is offline  
Old 04/06/2012, 21:33   #4
 
freeskier4lif3's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 231
Received Thanks: 149
Nice tutorial. Good Work.
freeskier4lif3 is offline  
Old 04/25/2012, 06:29   #5
 
elite*gold: 0
Join Date: Oct 2007
Posts: 23
Received Thanks: 0
I'm having a issue of sort updater works but you click start it closes client never loads up.
exactly why it use to but it quit working for some strange reason any ideas on why it has?
maxumw2000 is offline  
Old 04/25/2012, 07:20   #6
 
elite*gold: 0
Join Date: Aug 2008
Posts: 330
Received Thanks: 121
maybe your anti virus removed the dekaron.exe... cuz thats what the launcher loads.
check ur bin folder
joshyb123 is offline  
Old 06/29/2023, 17:09   #7
 
elite*gold: 78
Join Date: Jan 2022
Posts: 40
Received Thanks: 13
I wonder if someone has a source code for the launcher
iidagger is online now  
Old 06/29/2023, 19:13   #8
 
Farius~'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 555
Received Thanks: 318
Quote:
Originally Posted by bulgasal View Post
I wonder if someone has a source code for the launcher

11 Years old topic, Having a post about newer launchers with sorce code included and you are going to revive a topic that is more than 1 decade old.
Farius~ is offline  
Old 06/29/2023, 20:44   #9
 
elite*gold: 78
Join Date: Jan 2022
Posts: 40
Received Thanks: 13
I am sorry if the question get into your nerve... its a plain question if the source code of the above launcher is available somewhere.. a simple answer of "its been long gone" would do. and I have my reasons why I am looking for it. and I think I don't need your permission or have to explain to you why..
iidagger is online now  
Reply


Similar Threads Similar Threads
Auto Updater
12/25/2010 - Browsergames - 7 Replies
Hallo Ich habe mal das Prog von zero für den UdoBot4.x versucht zu benutzen und scheinbar funkt es. Das Prog lässt den UdoBot auf einem virtuellen Server laufen und updated die Invisible Bonus Boxen Codes von selber. Also 1) Datei runterladen und entpacken (Anhang) 2) LocalLauncher.exe starten 3) Server auswählen 4) Add UdoBot to Host (nur beim ersten mal) 5) Update Honey Boxes
Need some help with the auto-updater please.
05/18/2010 - Dekaron Private Server - 17 Replies
well i followed this tut: http://www.elitepvpers.com/forum/2moons-pserver-ho sting/426631-tut-auto-updater-making-pak.html and I made a 1.0.1 and i fixed everything on the launcher and on the client side i put 1.0.0 in the history.config. so it updates but then it doesn't put the file in the right place.. i made sure history.config is right so dont wrry bout dat for example i took a file out of data/action and deleted it and thats what I put in the update, it downloaded it and it says...
Auto Updater
05/17/2010 - Dekaron Private Server - 1 Replies
hi guys i need help setting up an auto updater.. i have a computer i'd like to set it up and make the minilauncher connect to it and download files.. but i have no idea how can someone help please?
Auto Updater [Gw.exe]
09/19/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 83 Replies
if(epvp!=dankbar) { delete("http://www.elitepvpers.com/forum/gw-ex ploits-hacks-bots-tools-macros/312865-auto-updater -gw-exe.html") }
Auto Updater
03/11/2008 - EO PServer Hosting - 2 Replies
Has any one Created an auto updater for eo private servers or know of any place to get one?



All times are GMT +2. The time now is 14:10.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.