Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 24.11.2005, 01:05   #26
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by midnight
I have error: the compilator say: [Fatal Error] l2_updater.dpr(1): Unit not found: 'System.pas' or binary equivalents (DCU,DPU)

Sorry for my english
well, the system.pas is the built-in unit for delphi. Try reinstalling it, because it must be problem with your IDE
kazhkaz is offline  
Old 24.11.2005, 06:01   #27
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

I have never used delphi befor, but when i try to compile i get errors

[Error] l2u_client_acthread.pas(80): E2250 There is no overloaded version of 'Connect' that can be called with these arguments
[Error] l2u_client_acthread.pas(81): E2003 Undeclared identifier: 'ReadLn'
[Error] l2u_client_acthread.pas(88): E2003 Undeclared identifier: 'WriteLn'
[Error] l2u_client_acthread.pas(89): E2003 Undeclared identifier: 'ReadLn'
[Error] l2u_client_acthread.pas(96): E2003 Undeclared identifier: 'WriteLn'
[Error] l2u_client_acthread.pas(98): E2003 Undeclared identifier: 'ReadInteger'
[Error] l2u_client_acthread.pas(100): E2003 Undeclared identifier: 'WriteLn'
[Error] l2u_client_acthread.pas(114): E2003 Undeclared identifier: 'ReadInteger'
[Error] l2u_client_acthread.pas(115): E2003 Undeclared identifier: 'WriteLn'
[Error] l2u_client_acthread.pas(121): E2003 Undeclared identifier: 'ReadBuffer'
[Error] l2u_client_acthread.pas(123): E2003 Undeclared identifier: 'WriteLn'
[Warning] l2u_client_acthread.pas(198): W1020 Constructing instance of 'TIdIOHandlerSocket' containing abstract method 'TIdIOHandler.ReadFromSource'
[Fatal Error] l2u_client_uthread.pas(45): F2063 Could not compile used unit 'l2u_client_acthread.pas'

please help. only have 30 days left on trial
GMan is offline  
Old 24.11.2005, 15:37   #28
lich
Архивный участник
 
Join Date: Jul 2005
Posts: 96
Default

Which version of Delphi do you have? Seems something like Delphi 2005.
Try Delphi 6 or 7.

kazhkaz thanks a lot for the updater!

Small request Can you make server side exe to automatically start server on running. May be by using a command line. or putting server into services.
lich is offline  
Old 24.11.2005, 21:02   #29
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default yep i got 2005, anyone know where i can get delphi 7 its not

yep i got 2005, anyone know where i can get delphi 7 its not on their webpage, they ony have it so u can get a key if you have the CD

wiish i knew delphi better cause i would just port it to a lang. i know
GMan is offline  
Old 25.11.2005, 14:14   #30
pirateice
Архивный участник
 
Join Date: May 2005
Posts: 43
Default

is there a visual basic version? please..
pirateice is offline  
Old 26.11.2005, 05:43   #31
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

sorry to be an idiot with delphi, but i finally got delphi 7 personal and when i compile i get

[Fatal Error] l2u_client_uthread.pas(6): File not found: 'IdIOHandler.dcu'

any ideas on this error
GMan is offline  
Old 26.11.2005, 06:30   #32
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

Ok i figured something out. if you are going to use 2005 all you have to do is tell delphi to use $(BDS)\Lib\Indy9 not $(BDS)\Lib\Indy10
GMan is offline  
Old 26.11.2005, 08:03   #33
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

Im on a role (hope i dont get yelled at for posting so much) but i fould a fix

i noticed that it doesnt overwirigt files if they are on the clienside alread it just keeps redownloading them becaue the CRC is wrong

simple fix

on line 275 in file l2u_client_uthread.pas
add
DelFile(work_dir+s); above
RenameFile(ExtractFilePath(work_dir+s)+temp_f_name , work_dir+s);

havent checked the autocheck code because i cant figure out how to add things to the autocheck.lst file with the updeted maker.
and this is for non rar setup not sure if after it unrars he file if it rus this code or somewhere else

anyway hope this helps

good share and thanks for making me learn delphi it was on my list for a while
GMan is offline  
Old 01.12.2005, 09:07   #34
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

How do i add files to the autocheck ditor. i downloaded the new version but have no idea how to add files to it. tried dragging files typing files but the add button never enabels

thanks
GMan is offline  
Old 01.12.2005, 09:08   #35
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

i think [kazhkaz] is worth an user lace user
KTPSMF is offline  
Old 01.12.2005, 15:28   #36
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by GMan
How do i add files to the autocheck ditor. i downloaded the new version but have no idea how to add files to it. tried dragging files typing files but the add button never enabels

thanks

try doubleclicking the edit field
kazhkaz is offline  
Old 01.12.2005, 15:39   #37
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by lich
Which version of Delphi do you have? Seems something like Delphi 2005.
Try Delphi 6 or 7.

kazhkaz thanks a lot for the updater!

Small request Can you make server side exe to automatically start server on running. May be by using a command line. or putting server into services.
here you go. just start it with -s command line parameter (note: case sensitive). It`ll autostart within 15 seconds.
kazhkaz is offline  
Old 01.12.2005, 15:41   #38
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by GMan
Im on a role (hope i dont get yelled at for posting so much) but i fould a fix

i noticed that it doesnt overwirigt files if they are on the clienside alread it just keeps redownloading them becaue the CRC is wrong

simple fix

on line 275 in file l2u_client_uthread.pas
add
DelFile(work_dir+s); above
RenameFile(ExtractFilePath(work_dir+s)+temp_f_name , work_dir+s);

havent checked the autocheck code because i cant figure out how to add things to the autocheck.lst file with the updeted maker.
and this is for non rar setup not sure if after it unrars he file if it rus this code or somewhere else

anyway hope this helps

good share and thanks for making me learn delphi it was on my list for a while
in fact ot does overwrite. the bug seems to be hidden somewhere deep inside server. currently investigating this one.
kazhkaz is offline  
Old 01.12.2005, 15:44   #39
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by pirateice
is there a visual basic version? please..
sorry, no VB version Unless someone would port the sources into VB.
kazhkaz is offline  
Old 01.12.2005, 15:56   #40
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Btw, it would be very nice if someone would recommend me to digital to let me into the modders section. I`m currently working on a couple of projects and don`t know whether they`d be useful or not :roll:

P.s. thanks in advance
kazhkaz is offline  
Old 07.12.2005, 19:46   #41
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

Quote:
Originally Posted by kazhkaz
in fact ot does overwrite. the bug seems to be hidden somewhere deep inside server. currently investigating this one.
it doent over wright i tested with a bmp and a text file i added one red pixel to the bitmap and it kept downloading and i would check the bitmap and it was sill there and same with plain text file had a hello world in there then added a "." to the end and server kept downloading with no change on clients file (still had a "."
GMan is offline  
Old 08.12.2005, 08:37   #42
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by GMan
Quote:
Originally Posted by kazhkaz
in fact ot does overwrite. the bug seems to be hidden somewhere deep inside server. currently investigating this one.
it doent over wright i tested with a bmp and a text file i added one red pixel to the bitmap and it kept downloading and i would check the bitmap and it was sill there and same with plain text file had a hello world in there then added a "." to the end and server kept downloading with no change on clients file (still had a "."
I`ll look into this.
kazhkaz is offline  
Old 10.12.2005, 19:45   #43
lich
Архивный участник
 
Join Date: Jul 2005
Posts: 96
Default

Quote:
Originally Posted by kazhkaz
Quote:
Originally Posted by lich
Which version of Delphi do you have? Seems something like Delphi 2005.
Try Delphi 6 or 7.

kazhkaz thanks a lot for the updater!

Small request Can you make server side exe to automatically start server on running. May be by using a command line. or putting server into services.
here you go. just start it with -s command line parameter (note: case sensitive). It`ll autostart within 15 seconds.
Oh. Thanks.
lich is offline  
Old 18.12.2005, 00:38   #44
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

pliese help. I don't know delphi, but ME need this autoapdater. I open project and I have error.
[Fatal Error] l2u_client_uthread.pas(7): File not found: 'DFUnRar.dcu'

What it this?

Sory for my bad english
superkent is offline  
Old 18.12.2005, 02:23   #45
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

Quote:
Originally Posted by superkent
pliese help. I don't know delphi, but ME need this autoapdater. I open project and I have error.
[Fatal Error] l2u_client_uthread.pas(7): File not found: 'DFUnRar.dcu'

What it this?

Sory for my bad english
I am sory, but I understood its error.



But in me another problem arose. With the starting CLIENT, the server issues error, although there he is l2.ini present.

[4:18:01 AM] Request for file: autocheck.lst
[4:18:01 AM] Request for file: Updates\system\l2.ini
[4:18:01 AM] Error opening file or bad file requested:
[4:18:01 AM] Updates\system\l2.ini
superkent is offline  
Old 18.12.2005, 12:43   #46
Susanin
Архивный участник
 
Join Date: Dec 2005
Posts: 21
Default

Give sorc to people

типа дай сырцы народу =)
Susanin is offline  
Old 21.12.2005, 21:34   #47
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by superkent
Quote:
Originally Posted by superkent
pliese help. I don't know delphi, but ME need this autoapdater. I open project and I have error.
[Fatal Error] l2u_client_uthread.pas(7): File not found: 'DFUnRar.dcu'

What it this?

Sory for my bad english
I am sory, but I understood its error.



But in me another problem arose. With the starting CLIENT, the server issues error, although there he is l2.ini present.

[4:18:01 AM] Request for file: autocheck.lst
[4:18:01 AM] Request for file: Updates\system\l2.ini
[4:18:01 AM] Error opening file or bad file requested:
[4:18:01 AM] Updates\system\l2.ini
the file might be in use by another application (the server uses share-exclusive mode to access files)
kazhkaz is offline  
Old 21.12.2005, 21:38   #48
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by Susanin
Give sorc to people

типа дай сырцы народу =)
well...

ah, what the hell, merry x-mas everyone!

http://kami.25u.com/l2/l2_autoupdater_server_source.rar
kazhkaz is offline  
Old 21.12.2005, 21:40   #49
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Tnx for the source it will come in handy in the future !!!
TheOrder is offline  
Old 22.12.2005, 11:28   #50
kazhkaz
Архивный участник
 
Join Date: Oct 2005
Posts: 55
Default

Quote:
Originally Posted by TheOrder
Tnx for the source it will come in handy in the future !!!
i sure hope so
kazhkaz is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:44.