Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Tutorials & Guides (https://postpacific.mmorpg-game.online/forumdisplay.php?f=44)
-   -   [SHARE] AutoUpdater v4.0.4.2 for private servers (17 Jule 2007) (https://postpacific.mmorpg-game.online/showthread.php?t=2746)

RumanticK 05.12.2006 07:08

Oh, thnx
/*looking for wincalc*/

HF 06.12.2006 14:02

Quote:

Originally Posted by KOC2000 (Post 71574)
Also. If i want to update "Lineage2Update.ini" i get runtime error message.

are you have this?

Lineage2Update.ini [hash]

maybe you need make it this

.\Lineage2Update.ini [hash]

RumanticK 10.12.2006 07:25

another solution.
Create in game-root folder play.bat with the following content:
Code:

@cd system
@l2.exe (in my case play.exe)

and assign it to run instead of standart exe file you had.

In my case it solved play.exe running problem.

[]Oceane[] 13.12.2006 19:36

nice works.
can you post the source of v.3.0 at last plz , i dont like icons lol.

Alakazam 13.12.2006 20:36

[SHARE] AutoUpdater v3 for private servers (20 May 2006)
 
nice works.

can you post the source of v.3.0 at last plz , i dont like icons lol.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 13 December 2006, 20:36. Открыть источник.

Sentryx 24.12.2006 15:35

Sorry for my bad english.
---

To: HF

I have some problems, using Updater. Maybe it's not a bugs, but some one will help me to correct them.

1. First of all, i has big issues with hosts-file. After updating and/or each pressing the START button, to hosts-file will be added (or changed IP for the line, if it already exsist) only one line: 10.0.0.1 l2authd.lineage2.com (with my IP, which added to Lineage2Update.ini - ServerIP=10.0.0.1). All other IPs (if exsist and distinct from mine IP) are commentig. If hosts-file are empty - only line with "l2authd.lineage2.com" will be created.

For example:

Before:
127.0.0.1 localhost
1xx.xx8.0.1 l2authd.lineage2.com
1xx.xx8.0.1 l2testauthd.lineage2.com
1xx.xx8.0.1 nprotect.ncsoft.co.kr
1xx.xx8.0.1 nprotect.lineage2.com

After:
127.0.0.1 localhost
10.0.0.1 l2authd.lineage2.com
1xx.xx8.0.1 l2testauthd.lineage2.com
1xx.xx8.0.1 nprotect.ncsoft.co.kr
1xx.xx8.0.1 nprotect.lineage2.com

So, if Player after clicking a START button, trying to start the game client, it will be warned about GameGuard running problems, because hosts-file has no contain a correct GG server record..

Whether it is possible to turn off changing of hosts-file by clicking START button? Or how to correct this? I doesn't know how.. But maybe by simlpe adding in Lineage2Update.ini file something like "GameGuardIP=" (like ServerIP=)? :)

2. I found, that if Lineage game folder contain some files which has "ReadOnly" attribute - AutoUpdater Tool will be crashed and shown an Error Message: "Access to the path <read-only-file> is denied". All attempts to continue Updating process will be failed. Maybe, it is possible to add to the Tool an abbility of processing of such files w/o crash?

3. It is possible to reconcile to necessity of installation of .NET Framework, but I have found one more "necessity" - IE. If it is not present in system (not installed, removed, damaged, etc.) all links in upper right Tool corner (and other links) are become a dead links. By pressing them - nothing happen. I, as well as many of my friends, for example, use the Opera, and IE I simply rename with a view of safety.
It is possible to improve compatibility with other browsers?

-----
Very BIG thanks for this great Tool! :o

HF 24.12.2006 15:49

thanks for using my tool and for reports.
Quote:

Originally Posted by Sentryx (Post 74869)
Sorry for my bad english.

If you Russian, tell on cyrillic (one part - end, second - rus) ;)

Quote:

Originally Posted by Sentryx (Post 74869)
1. First of all, i has big issues with hosts-file. After updating and/or each pressing the START button, to hosts-file will be added (or changed IP for the line, if it already exsist) only one line: 10.0.0.1 l2authd.lineage2.com (with my IP, which added to Lineage2Update.ini - ServerIP=10.0.0.1). All other IPs (if exsist and distinct from mine IP) are commentig. If hosts-file are empty - only line with "l2authd.lineage2.com" will be created.

For example:

Before:
127.0.0.1 localhost
1xx.xx8.0.1 l2authd.lineage2.com
1xx.xx8.0.1 l2testauthd.lineage2.com
1xx.xx8.0.1 nprotect.ncsoft.co.kr
1xx.xx8.0.1 nprotect.lineage2.com

After:
127.0.0.1 localhost
10.0.0.1 l2authd.lineage2.com
1xx.xx8.0.1 l2testauthd.lineage2.com
1xx.xx8.0.1 nprotect.ncsoft.co.kr
1xx.xx8.0.1 nprotect.lineage2.com

So, if Player after clicking a START button, trying to start the game client, it will be warned about GameGuard running problems, because hosts-file has no contain a correct GG server record..

Whether it is possible to turn off changing of hosts-file by clicking START button? Or how to correct this? I doesn't know how.. But maybe by simlpe adding in Lineage2Update.ini file something like "GameGuardIP=" (like ServerIP=)? :)

Yes. You understund absolutly right. Nobody use nProtect. Me too. You are first who use it. Maybe you can learn me how do this "GG server"? ;)
About question.

this key "GameGuardIP=" must be same for this 3 ip's?
Code:

1xx.xx8.0.1 l2testauthd.lineage2.com
1xx.xx8.0.1 nprotect.ncsoft.co.kr
1xx.xx8.0.1 nprotect.lineage2.com

Quote:

Originally Posted by Sentryx (Post 74869)
2. I found, that if Lineage game folder contain some files which has "ReadOnly" attribute - AutoUpdater Tool will be crashed and shown an Error Message: "Access to the path <read-only-file> is denied". All attempts to continue Updating process will be failed. Maybe, it is possible to add to the Tool an abbility of processing of such files w/o crash?

Yes. No check :) Ok, i can do it later.

Quote:

Originally Posted by Sentryx (Post 74869)
3. It is possible to reconcile to necessity of installation of .NET Framework, but I have found one more "necessity" - IE. If it is not present in system (not installed, removed, damaged, etc.) all links in upper right Tool corner (and other links) are become a dead links. By pressing them - nothing happen. I, as well as many of my friends, for example, use the Opera, and IE I simply rename with a view of safety.
It is possible to improve compatibility with other browsers?

You mean proxy setting from IE? So, use custom proxy setting from windows registry. It work always.
I can do support much browsers, but it no good. More program code - big program size.

[]Oceane[] 24.12.2006 17:29

http://www.maxbastards.gr/forum/index.php?topic=1708.0

look how people leeches lol....

Alakazam 24.12.2006 18:29

[SHARE] AutoUpdater v3 for private servers (20 May 2006)
 
http://www.maxbastards.gr/forum/index.php?topic=1708.0


look how people leeches lol....

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 24 December 2006, 18:29. Открыть источник.

Sentryx 24.12.2006 22:27

To: HF

Quote:

Nobody use nProtect. Me too. You are first who use it. Maybe you can learn me how do this "GG server"?
When I spoke about "GG server", I meant GG emulation on Game Server (a folder on a server, containing copies of nProtect files from a off-server L2).

For play on my server is used L2-C5 Client. And, as i know, nProtect server check in NWindow.dll still not removed from C5 Client (or I'm wrong?). So, when game is starting, it always search for nProtect server, and if it can't find - error message will be shown.. "Game over".. :)

Заранее извиняюсь, возможно я недостаточно ясно выразился (а "инглиш рили вери бэд")) насчет нПротекта.
Говоря о GG server'е, я имел в виду эмулятор сервера защиты, путем использования папки на игровом сервере, содержащей копии файлов nProtect с офф-сервера. И находятся эти файлы, соответственно, не на сервере авторизации (l2authd.lineage2.com), а именно на сервере защиты (nprotect.lineage2.com).

Также, уточню, что речь идет о LAN-сервере, т.е. вариант, когда клиент пользователя находящегося в онлайне, проходит проверку на офф-сервере lineage2.com - в моем случае не проходит.

Может я что-то пропустил :), но не слышал пока чтобы кто-либо смог обойти защиту в клиенте, по тому же типу, как это было сделано в С4. В С5, насколько я знаю, большинство (точнее все) пользуются именно эмуляцией (во всяком случае, пользовались до этого времени). Собственно, ИМХО, именно для этого и необходимо редактировать файл hosts.. Для простой "наводки" на сервер, обычно ведь пользуются простым внесением в l2.ini IP-адреса игрового сервера. Т.е. в наличии строки в "хостс'е", содержащей адрес "l2authd.lineage2.com" - необходимости, думаю, нет (хотя удобно). А вот изменить в клиенте запрашиваемый адрес GG, пока не удавалось, для чего и нужен такой редирект. Хотя, буду оч. рад, если все это наконец то останется в прошлом (правда не уверен.. "интерлюд" "на носу")))...

Quote:

this key "GameGuardIP=" must be same for this 3 ip's?
No, there is enough one IP: nprotect.lineage2.com. If it not exist in "hosts" - I can't start a game client.

Quote:

You mean proxy setting from IE?
No, I not using a proxy. I meant only what i say: if IE aren't present (or removed) on user system - all links are dead..

Просто, при теперешнем положении вещей, апдейтер имеет слишком много "зависимостей". Не "смертельных", но для многих довольно неприятных).

Лично мне этот апдейтер очень понравился, Работает, обновляет (даже привык немного, за пару дней тестов) прекрасно. Просто есть несколько мелких (по мнению обывателя, т.е. меня, за что извиняюсь) "неприятностей", которые портят общую картину и заставляют в поиске "смотреть по сторонам"... А оч. неохота, т.к., повторяю, оч. понравился))..

HF 25.12.2006 05:31

Quote:

Originally Posted by Sentryx (Post 74895)
To: HF
...

всё снова повторю. Я знаю про систему. Просто интересовался - не новая ли версия или изменения какие либо были в таком методе эмуляции ГГ? Файлы качаете с оффа или используете старый набор файлов?
И спросил - достаточно ли поменять 1 адрес из трёх или менять всегда 3 адреса в хосте?

Про прокси. Похоже вы просто не в курсе, что у утилиты есть настройки в реестре чтобы можно было использовать любой прокси сервер в обход настройкам IE. Тогда и речи о проблемах с IE и быть не может. Здесь в теме есть ключи по настройке КастомПрокси. IE есть у всех. Главное его тогда не настраиваать в панели управления в закладке подключение. Тогда утилита идёт напрямую без ИЕ и проксей.
Вообщем в этом смысле проблем точно нет вообще. Проверено. Сам на Опере работаю. На работе линукс прокси, дома нет ничего.

Я очень люблю слушать об неприятностях с утилитами. Это значит ими пользуются и хотят пользоваться. А значит есть повод работать над ней.
Из больших неприятностей мне щас не нравится только дизайн хтмлек от НЦСофта. Придётся написать модуль для автозаполнения ссылок новостей, т.к. самого бесит постоянно руками править JS файлы.

HF 25.12.2006 13:14

Lineage II web update tool
without server service's

Make by HellFire, Russia, Ekaterinburg, 2005-2006

4.0.2.0 + Client-side: Error dialog if file Hosts not found in search directory or permission denied for
any writing operations with this.
+ Server-side: "ServerIP" parameter remove to server-side. Remove this parameter in client file.
Server side value will be replace file value after loading.
New value, format: ServerIP[TAB]IP
+ Server-side: Add new address's for GameGuard Server Emulator host to Hosts file.
l2testauthd.lineage2.com
nprotect.ncsoft.co.kr
nprotect.lineage2.com
New value, format: GameGuardIP[TAB]IP
UseGameGuardIP[TAB][0..1]

Use 'UseGameGuardIP 1' for add nProtect IP's to Hosts, or '0' for leave as is.

Thanks for report and recomendation to 'Sentryx'

4.0.1.1 * Fix checking OS version. Symptoms: error "Old windows sux" for good system in good folder.
+ Impower update engine
4.0.1.0 + New section [Settings]:
+ custom file for "Start" action (custom settings/server side)
+ check files always on tool start (custom settings/server side)
+ close/leave updater after Start action (custom settings/server side)

--------------
Lineage II web update tool, add-on HttpUpdateGenerator
Make by HellFire, Russia, Ekaterinburg, 2005-2006

2.0.9 + support new values in [Setting] section for 4.0.2.0 version release
ServerAuthIP
GameGuardIP
UseGameGuardIP
+ add generator for Date/Time binary code

HF 25.12.2006 17:26

sorry, build 4.0.2.0 bugged. Autoupdate system disable. New release you need download manualy.

4.0.2.1 + Client-side: Error dialog and crash if update file on client side have "read-only" attribute.
* Autoupdate system disable in 4.0.2.0. Now enable.

+ bonus! :)

--------------
Lineage II web update tool, add-on HttpUpdateGenerator
2.0.10 + add MD5 generator for single file

HF 26.12.2006 07:09

Good changes. Last stable good final build relese :D

Code:

Lineage II web update tool
without server service's

4.0.2.2        * remake update file. New JS script 'update.js'

Fixed problem with cycle autoupdate.
(but client must have permission for start JS scripts)

KOC2000 28.12.2006 02:40

Can you add AUTOUPDATE at start up.. so the tool checks if files are changed/delted on the client so it updates them from the server.. not have to "Check All" everytime.

Thanx

HF 28.12.2006 07:16

x.x.2.3 * remake update file. Script 'update.js' fixed.
4.0.2.2 * remake update file. New JS script 'update.js'

Fixed problem with unlimited cycle in autoupdate process.

HF 28.12.2006 07:18

Quote:

Originally Posted by KOC2000 (Post 75070)
Can you add AUTOUPDATE at start up.. so the tool checks if files are changed/delted on the client so it updates them from the server.. not have to "Check All" everytime.

Thanx

I dont understund. Explain again.

KOC2000 28.12.2006 20:51

Example.. I updated the file "l2.ini".
Now Clients start Autoupdater but l2.ini doesn't update automatically.. Clients MUST click "Check Files" for l2.ini to get updated.

HF 29.12.2006 04:39

Quote:

Originally Posted by KOC2000 (Post 75130)
Example.. I updated the file "l2.ini".
Now Clients start Autoupdater but l2.ini doesn't update automatically.. Clients MUST click "Check Files" for l2.ini to get updated.

Please, read my commentaries and FAQ in archive.
You need change time header, if you have something new. Critical Updates - it's what you need for it.

KOC2000 30.12.2006 15:02

Ok. thank you. I didn't quite understand the guide.

DrGanja 19.01.2007 11:02

HF хочу сразу поблагодарить тебя за создание такой замечательной программы. Молодец! ;)

У меня при установке возникли такие проблемы:
1)В апдейтере сайт не отображается(пишет ошибку 404). Сайт я положил в директорию www своего веб сервера.
2)Полное обновление у меня не работает(как я понял из-за того, что путь до обновляемого файла указан неправильно). Хотя я и попробовал написать его по разному(ставил перед именем файла:
.\
\
.
ничего не помогло, хотя если ставить ссылку с указателем директории \ тогда так же выскакивает ошибка IE 404(невозможно найти указанный файл). Сюда же приложил скрин, посмотри.
P.S. файлы расположены на http сервере
3)Проблема почти такая же как и 2-я, только файлы находятся на FTP сервере.

HF 19.01.2007 17:39

Quote:

Originally Posted by DrGanja (Post 76333)
...
1)В апдейтере сайт не отображается(пишет ошибку 404). Сайт я положил в директорию www своего веб сервера.
2)Полное обновление у меня не работает(как я понял из-за того, что путь до обновляемого файла указан неправильно). Хотя я и попробовал написать его по разному(ставил перед именем файла:
...

всё зависит от того, что у тебя прописано в конфиге в параметре
Updates=
там может заканчиваться и / и ничем.
чтобы проверить правильно ли, то проверяешь просто в браузере открыть этот адрес (например, это "http://yoursite.com.l2/updates/")
и потом собственно файлы обновлений
http://yoursite.com.l2/updates/l2update.lst
http://yoursite.com.l2/updates/live.html

DrGanja 20.01.2007 14:04

Через браузер все видит, а вот через апдейтер отказыватся видеть.
И какая разница, прописывал я в конфиге / или нет, ведь в файле l2update.lst я пробовал и с / и юез него, все равно не хочет грузится.
Думаю стоит написать более подробную инструкцию, с учетом обновлений в последних версиях. А может updater работает только с корневой директорией www апача ?

HF 20.01.2007 18:26

Quote:

Originally Posted by DrGanja (Post 76409)
Через браузер все видит, а вот через апдейтер отказыватся видеть.
И какая разница, прописывал я в конфиге / или нет, ведь в файле l2update.lst я пробовал и с / и юез него, все равно не хочет грузится.
Думаю стоит написать более подробную инструкцию, с учетом обновлений в последних версиях. А может updater работает только с корневой директорией www апача ?

нет. если по полному пути до файла браузер показывает файл, то дело где-то .... может быть у вас бразуер типа файрфокс а в IE настройки неверные?

DrGanja 20.01.2007 19:56

Браузером Ie пользуюсь. Ftp апдейтер потдерживает ?

olmer2002 21.01.2007 12:48

есть мысль как улучшить чуток автоапдейтер,а именно убрать подвисания,если апдейтер качает по мелкому каналу.
оч уважаю работу Hf да и его самого,поэтому разбирать втихаря программу не хочу,да и тратить время на обход обфускатора.
в какую аську стучать? =)

Freeman 21.01.2007 18:55

Quote:

Originally Posted by olmer2002 (Post 76458)
есть мысль как улучшить чуток автоапдейтер,а именно убрать подвисания,если апдейтер качает по мелкому каналу.
оч уважаю работу Hf да и его самого,поэтому разбирать втихаря программу не хочу,да и тратить время на обход обфускатора.
в какую аську стучать? =)

Зачем в аську? Пиши тут, всем интересно.

olmer2002 21.01.2007 20:12

Quote:

Originally Posted by Freeman (Post 76475)
Зачем в аську? Пиши тут, всем интересно.

чего писать,нужно попробовать исправить и выложить правленный,там в коде изменения делать нужно. вот и хотел спросить пробовал ли HF то,о чем у мну мысли.

HF 22.01.2007 14:49

Quote:

Originally Posted by olmer2002 (Post 76476)
чего писать,нужно попробовать исправить и выложить правленный,там в коде изменения делать нужно. вот и хотел спросить пробовал ли HF то,о чем у мну мысли.

пиши в приват, хотя бы начни что-то писать туда умного ;). Не изза ееуважения, спасения аськи ради :)

Это... всегда рад. Большой минус программы - я не умею работать с потоками и соответственно не могу разделить процесс качания и общий. Поэтому не могу сделать кнопку Отмены во время закачивания.

Насчёт остального. Прога проверена в работе. Насчёт совместимости. Работает с любыми типами браузеров. Через Фтп точно должна работать, т.к. используется виндовые браузеровые библиотеки. Причны неработоспособности можно понять только на конкретном примере.
Например, скажите путь, который прописан у вас, я проверю от себя. И т.п.

Truffe 22.01.2007 18:23

Ahum......

olmer2002 23.01.2007 07:21

Quote:

Originally Posted by hf (Post 76505)

Это... всегда рад. Большой минус программы - я не умею работать с потоками и соответственно не могу разделить процесс качания и общий. Поэтому не могу сделать кнопку Отмены во время закачивания.

Эх Hf как раз об орагнизации потоков я и хотел поговорить...
чего теперь делать? могу принять сурсы под нераспрастранение и дальнейшую передачу их тебе,но с внесенными изменениями.
других путей пока не вижу - дизасмить принципиально не хочу,причины указал выше.

paul 03.02.2007 02:26

First off ENGLISH or dont post.
(If you want to put english AND russian thats fine)

Second of all - I'm having issues hehe. Everytime my users run the updater, it sticks at Download [Auth or when i delete that it sticks at Download [Self
and spits out a whitespace error.

I can attach more info if needed but if someone has an answer it'd be great.

HF 03.02.2007 09:19

Quote:

Originally Posted by paul (Post 77202)
First off ENGLISH or dont post.
(If you want to put english AND russian thats fine)

Second of all - I'm having issues hehe. Everytime my users run the updater, it sticks at Download [Auth or when i delete that it sticks at Download [Self
and spits out a whitespace error.

I can attach more info if needed but if someone has an answer it'd be great.

we tell on russian sometimes, because better report this what i understund :)
I dont understund your problem. What you use? what tool? what you delete? :)

paul 03.02.2007 18:07

Okay I'm using this tool the auto updater. I put all my system folder files into the httpupdater and started the wizard. I uploaded all the files including l2server.lst onto my website.

Edited l2server.lst to not use GameGuard ip and changed the auth ip.

Ran updater program itself, runs fine stops at Download [Auth
Issues .Net error Path cannot be the empty string or all whitespace.

Removed [Auth Key] section because we just dont use it right now.

Ran again, error came up with Download [Self (see attached screen) So i mean overall it works to download the client files just gets broken at this point

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
error.JPG — 64757 байт

HF 04.02.2007 09:07

Quote:

Originally Posted by paul (Post 77253)
Okay I'm using this tool the auto updater. I put all my system folder files into the httpupdater and started the wizard. I uploaded all the files including l2server.lst onto my website.

Edited l2server.lst to not use GameGuard ip and changed the auth ip.

Ran updater program itself, runs fine stops at Download [Auth
Issues .Net error Path cannot be the empty string or all whitespace.

Removed [Auth Key] section because we just dont use it right now.

Ran again, error came up with Download [Self (see attached screen) So i mean overall it works to download the client files just gets broken at this point

You have easy error. You need check number update files in previous "[Full Updates]" section.
[Critical Updates]
...
[Full Updates]
283782 <- this value

Your value have more then you have there.
Tool use simple engine: Download it is so much files, how many it is specified in this value.

I'll make update for this feature in next release.

HF 04.02.2007 09:41

Paul
Check this release without edit l2update.lst.
Have this error now or not? If not, then i has been right - error in value.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
Lineage2Update4.0.2.4.rar — 453553 байт

paul 04.02.2007 10:40

Tried your latest update forced the program to update itself and did the crash again.

However you were right the error is in the value it was off by 1 number.

HF 04.02.2007 10:46

Quote:

Originally Posted by paul (Post 77297)
Tried your latest update forced the program to update itself and did the crash again.

strange...

Quote:

Originally Posted by paul (Post 77297)
However you were right the error is in the value it was off by 1 number.

now are you have not problem with my tool?

paul 04.02.2007 11:45

Nope works like a charm thanks HF =D

nickie 23.02.2007 08:39

Perfect tool, but i've a question. When i click "Home" it shows up lineage2.com website, even i've set another link like:
Home=http://www.google.com

what's wrong? can someone help me with that? thanx in advance

---------------
edit:
i found it, live.htm file is containing adresses, so editing live.htm file will fix it...

nickie


All times are GMT. The time now is 16:51.