DILDo
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Updater
Sorry, but why? This is just the 'lib'. Anyway, for lube-demo I just use github, works.. (was going to say great, but it could be easier, assembla is better).
Re: Updater
bartbes wrote:Well, I don't have the webspace to do that, but I hope the first game using it will be released soon (as it isn't hard to implement).
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Updater
Oh, right, well lube-demo is now on githost. Thanks anyway.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Updater
I've ported Updater to work with LÖVE 0.6, and made various other changes that I think are an improvement.
However, I have not tested this with a real game, so I'm not sure if this version will work.
These are some of the changes I've made:
However, I have not tested this with a real game, so I'm not sure if this version will work.
These are some of the changes I've made:
- Now produces and uses significantly less clutter files: only a .version that stores the current version as a string.
- Automanaged is now the default, the example main.lua included show how to avoid it: call Updater.selfcheck() in love.load().
- Fixed the 2.0 bug that automanaged games don't download the initial copy.
- This version doesn't download files that have been removed later on.
- Many improvements "under the hood".
Help us help you: attach a .love.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Updater
I will release a new, improved, rewritten version soon.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Updater
In the mean time, I have updated my port:
Highlights:
- Converted main table name to lowercase (Updater->updater), to conform to the convention used by Lua in general, and LÖVE in particular.
- Fixed updater.selfcheck() and everything it calls.
- Improved updater.dialog.
- Made the example act like an update was found.
- Files removed in an intermediate version and recreated in a later version are no longer removed after downloading them.
Help us help you: attach a .love.
Re: Updater
Error
updater.lua:46: attempt to index field 'result' (a nil value)
Traceback
updater.lua:46: in function 'download'
updater.lua:58: in function 'checkforupdates'
updater.lua:166: in function <updater.lua:162>
main.lua:1: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Updater
Whoops.kalle2990 wrote:Error
This is what I get for not testing this with a server.
Fixed version:
Help us help you: attach a .love.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Updater
I get the same error as above with the current version.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Updater
That's why my version is going to be better
Who is online
Users browsing this forum: No registered users and 3 guests