[Release] Non-Div Updater

09/04/2009 16:10 janvier123#1
Hi,

we use this updater over a month now and ... its works perfect for dkveterans.
Its time to release this updater
this updaters was made for "KAL ONLINE" but works for other games also

Positive:

Fast download
Instant update
HTTP update
password secure


Negative:

Does not like spaces between names like "bla bla.dds"
made for kalonline
if file or folder does not exist, it dont update :((((((((


Name: NON-Div Updater
Download: [Only registered and activated users can see links. Click Here To Register...]
Scan: Found nothing
Scan URL: [Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]

SETUP:

BEFORE YOU START MAKE A COPY OF "DEKARON.EXE" AND RENAME THAT COPY AND CALL IT "engine.exe" THE PROGRAM WILL LOOK FOR ENGINE.EXE !
here is mine: [Only registered and activated users can see links. Click Here To Register...]
PLACE THIS FILE IN THE ROOT FOLDER WHERE BIN AND DATA FOLDER ARE

************************************************** **********************
*********************** PSUpdater 2.0 README ***********************
************************************************** **********************

I do not provide the source code becuase of people changing version/copyright information and title then calling
it there own updater without giving any Credit

PSUpdater v2.0 has the following new fetures

- File By File downloading (like real updater)
- filelist.php works on windows or *nix (linux or unix based) webserver systems

DOES NOT WORK WITH IIS


************************************************** **********************
*********************** Webserver Side Setup ***********************
************************************************** **********************

1) make a new folder for your update files eg yourhost.com/updater/

2) open filelist.php scroll to the very bottom and replace YOURPASSWORDHERE (with a password of your choice) in this line

PHP Code:
if(isset($_POST['submit']) && $_POST['pa'] == "YOURPASSWORDHERE"
3) place filelist.php in the new folder you just created

4) upload the files you wish to update (make sure to upload folders and all)

If you are running on a *nix (linux or unix based) system make sure the updater directory is made writeable

5) goto [Only registered and activated users can see links. Click Here To Register...] type in the password you set in step 2 and hit "Do It" this creates file.list and contains a list of files for the users updater to download

6) whenever you add new files to the updater dir run filelist.php to create a new file.list if you forget to do this your users wont have up todate files


STEP 4 IS VERY IMPORTANT IF THIS IS NOT DONE UPDATER WILL HAVE ERRORS WHEN DOWNLOADING THE UPDATES TO THE USERS

NEVER DELETE ANY FILES ONCE UPLOADED JUST OVERRIGHT THEM WHEN YOU HAVE A NEW VERSION

NEVER DELETE FILE.LIST

REMEMBER STEP 6

************************************************** **********************
*********************** Client Side User files ***********************
************************************************** **********************

1) PSUpdater2.exe
- Main Updater exe file

2) updater.ini

Zip the files and give to your users

************************************************** **********************
*********************** Updater.ini ***********************
************************************************** **********************

The updater.ini file looks like the following which i will explain below

[Settings]
UpdateHost=http://yourhost.com/updater
UpdateFile=file.list
NoticeFile=notice.txt
WebsiteButtonURL=http://yourhost.com
UpdaterTitle=My Updater Title :)



UpdateHost - web address that is holding the updates make sure there is no end slash /
UpdateFile - file.list This can not be changed its hardcoded in the updater exe if changed update will not work
NoticeFile - Name of your notice file to hold information and notices about your server
WebsiteButtonURL - Website Address of your Server webpage for registerion etc
UpdaterTitle - Title of the Updater to be displayed in the title bar of the updater

MAKE SURE YOU EDIT updater.ini WITH YOUR SERVER SETTINGS BEFORE GIVING IT TO ANYONE


Me, janvier123 is giving out HTTP space for members who want this
you will get:
5Gb space (more then enough)
FTP with passw and login
Fast HTTP connection

PM me for this
09/04/2009 16:13 Zombe#2
The only thing I can say is...

... :handsdown:

And I didn't even get my reg page to work, so I can't test if my IPban script works, so I can't release... You win, I fail =/
09/04/2009 17:03 caper#3
One question:

When you say if file or folder doesn't exist it won't update, what exactly do you mean?


I ask because updates usually deal with new files and if you are saying that if a file is in the update but not currently in the client it won't update, that's not going to help much. Still may help some but won't be any good for new content.

Rsync would be a desirable protocol to use and would overcome that obstacle but I don't have time to write the executables.
09/04/2009 17:41 ~Kakkarot~#4
well this is just what i think

example: if you want to update data/share/arrange/portallocation but then you invent something new and just want to add example portalllocation2 it wont do it...
09/04/2009 17:47 janvier123#5
Quote:
Originally Posted by ~Kakkarot~ View Post
well this is just what i think

example: if you want to update data/share/arrange/portallocation but then you invent something new and just want to add example portalllocation2 it wont do it...
exactly, but i dont think we need to add new stuff, its mostly replacing stuff
09/05/2009 09:40 caper#6
What's the point then? Most people are adding new content and this seems to be a tool for those who never move forward.

I guess this would be useful for those who only update what they have, but what happens when they have new content?
09/05/2009 12:13 ~Kakkarot~#7
Quote:
Originally Posted by caper View Post
What's the point then? Most people are adding new content and this seems to be a tool for those who never move forward.

I guess this would be useful for those who only update what they have, but what happens when they have new content?
khm how many times do you add BRAND NEW content, like janvier said, you update your content....if you have a new map it will go to maplist.csv (file already exsists), if you add new weps also the file already exsists, i dont see what could you possibely update with that dosent already exsist
09/05/2009 13:48 ItsNobody#8
Quote:
Originally Posted by ~Kakkarot~ View Post
khm how many times do you add BRAND NEW content, like janvier said, you update your content....if you have a new map it will go to maplist.csv (file already exsists), if you add new weps also the file already exsists, i dont see what could you possibely update with that dosent already exsist
Thats where u r wrong. You add new skill files for a7 skills ,new armor for dksquare. More new then just editing. I promise u. Unless u just stay a3 forever.


Quote:
Originally Posted by caper View Post
What's the point then? Most people are adding new content and this seems to be a tool for those who never move forward.

I guess this would be useful for those who only update what they have, but what happens when they have new content?
Thats what i wanna know....Otherwise nice release
09/05/2009 14:15 ~Kakkarot~#9
right...i think that just editing would be fine for quitesome time, since a 6 skills are still not fully working so i think a 7 should just be a nice little dream, and once you get it all to work you can just launch a new game client as a big new update
09/05/2009 15:38 janvier123#10
Quote:
Originally Posted by ~Kakkarot~ View Post
right...i think that just editing would be fine for quitesome time, since a 6 skills are still not fully working so i think a 7 should just be a nice little dream, and once you get it all to work you can just launch a new game client as a big new update
ye that whate i think also
then we need to make a new client anyway so ..
09/05/2009 22:22 ItsNobody#11
Well if u ever need help with packing client let me know. Then u could write a tut bout it. I dont have time to write a nice tut
09/05/2009 22:58 caper#12
Quote:
Originally Posted by ~Kakkarot~ View Post
khm how many times do you add BRAND NEW content, like janvier said, you update your content....if you have a new map it will go to maplist.csv (file already exsists), if you add new weps also the file already exsists, i dont see what could you possibely update with that dosent already exsist
Adding just one single map involves more than just editing the maplist. You have to load all the files for the map, which would be new content. Adding a new line to the item files for a new item usually involves adding new repainted texture files, unless you use a texture that is not already used in game.
09/07/2009 05:37 janvier123#13
If anyone needs webspace, ask in here, DONT PM ME !
pm's are off, cuz everyone like spamming it so ...

Why free webspace ?
cuz i have too many space and traffic, and thats a waste of my money :(
09/07/2009 21:50 bellydaniel#14
Quote:
Originally Posted by Zombe View Post
do not learn anything just beg it, it will out soon ^^ wait to download it,
Zombie Looser
09/07/2009 22:17 ~Kakkarot~#15
finaly i got you,

#reported for falsification
#reported for insulting
#reported fo spamming nonrelated content