View Single Post
Old 10.05.2007, 16:34   #263
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

Quote:
Originally Posted by HF View Post
sorry. Only now i understund your problem. "Loop updating".
I expain process of updating ...
- if config have new version - tool download .cab archive
- generate .JS script to harddrive in game folder (near with tool)
- start .JS script. Windows Script do Kill updater process.
Have small issue in this step: if your PC have low-speed CPU or hard, then...
- process cant kill very fast, but
- script go to next step - archiv unpacking
but process lock file and new exec dont pack
- next start again update tool (must be newer, but start older) and cycle start again.
2 variance: your player dont have permissions to start .JS file. Perhaps antivirus blocked.

I recomended one - say to your user do this:
- open game folder where you start update tool
- find file update.js and
- start this script manualy
Script must be unpack new Exec and destroy itself.
ً
I've an Athlon 64 (939) 3000+ with 2GB rams and 9200rbm SATA HDD.
it's not slow..
also, can you do DELAY or something, so it doesn't happen?
KOC2000 is offline