BUG IN 2.6.17?? client wont get patches just all.to.x..xSolved

Hello,

I am giving a test drive wybuild for updating my game but seems that I can not get it to work properly or maybe has a bug in the current release,

one of the main reasons is to avoid having my clients to redownload the whole game files 1.3 gigs over and over every update revision, so i just want them to download the delta patches instead.to save bandwidth cost plus time for my end users.

But wybuild seems to fail on this, well so far this is what i have been experiencingevery time i create a new revision wybuild creates the patches ie: appname.1.0.to.1.1 wyu, plus the big fat full revision files appname.all.to.1.1.wyu etc...

but everytime i try to update the client it always downloads the big fat full game files appname.all.to.1.1.wyuinstead of the delta patch appname.1.0.to.1.1 wyu

for days I have watched the getting started video over and over and followed the instruction to create patches but with no success. i even in wybuild "Build wyupdte and updates", i choose "create update from version 1.0 to version 1.1or all previous version to latest over and over or some many different setups, spent like dozens of hours tryng to get this to work and no luck.

wyupdate.exe seems to go for the big fat file appname.all.to.x.x.wyu file.instead of the small delta patch.no matter what i do it just does the saem thing over and over, i even removed the appname.all.to.x.x.wyu from server to se if it goes for the patch only and update fails sinc eit looks for the all.to.x.x file instead.

so this is not doing any good to me since instead ofr patching the client, it just redownoad the full game over and over, wasting bandwidth and time.

I have tried so many setups options, read over and over the instructions and still no luck, that am starting to beguin to think is a wybuild bug.

can someone please confirm this or show me the light to be able to just patch my client instead of redownloding the full release..

thanks in advancedTonyC

Hey Tony,

The way to check what file is failing to patch is to go into your wyBuild project, click File -> Properties -> update & server files, then uncheck "Create a catch-all update for corrupt installations.

Rebuild your updates, re-upload them to your server, then run wyUpdate to see which file fails to patch.

When you find out which file fails to patch then compare that file to the one referenced in your wyBuild project. My guess is that they don't match (and thus the error).

Does that make sense?

Thanks Wyatt

I did as instructed and now i can see the error , this may not work for me, unless there is a work around.

my app is an online, it game has .xml files, logs files, some client database files that do not require to be on server side etc.. that change during client gameplay specially client settings files, logs etc..since game client writes back to them during and after gameplay./settings.xml files/log.log files/client.db files

etc.....

error legend:"Because that file failed to patch, and there's no "catch-all" update to download, the update failed to apply. The failure to patch usually happens because the file was modified from the original version. Reinstall the original version of this app."

Now. it looks like any of the client files that are not being patched suffered some changes then the patch wont succeed.and no wonder that wyupdate retrieves the appname.all.to.x.x.wyu file to reinstall the whole game.

so in other words the client files need to be exactly the same so the next patch can be applied, otherwise it requests the appname.all.to.x.x.wyu file.. is this correct???

any work around, suggestions? to not include the dynamic files that client changes during gameplay?? but what if i need to update them from a patch, specially the client db storage files tables and config, etc.. hmmmm.

Ill continue testing. may need to do some mods from my end specially the db client side storage files.

thanks for the prompt reply.

so in other words the client files need to be exactly the same so the next patch can be applied, otherwise it requests the appname.all.to.x.x.wyu file.. is this correct???

Yes, this is correct. However, you can workaround this problem by *not* including "dynamic" files (settings files, etc.) in wyBuild. wyBuild will then ignore the files entirely and only patch the "static" files (your exe, your dlls, etc., etc.).

So delete the "settings.xml" files (and all other "dynamic" files) from *all* your versions in wyBuild, rebuild your updates, re-upload them to your server, and then do the updating again. Everything should then work fine.

Does that make sense?