A question about offline.appache

Discussion and feedback on Construct 2

Post » Sun Feb 21, 2016 12:02 pm

I have an exterior Project File that I generate using Excel. This gets uploaded when I export my project and everything works great.

I'd like to be able to update my website directly from Excel (if the only thing changing is that single data file). So I wrote some Excel code to do the following:

1. Generate a .json file (the Project File)
2. Upload the .json file to my server
3. Load latest offline.appcache from project folder
4. Replace the timestamp (#98769808) with a random number
5. Upload offline.appcache to my server

Everything seems to be working fine, but C2 isn't recognizing that it needs to update. Do I need to use an actual timestamp instead of just a random number? If so, what is the format?

Any other suggestions?

Thanks!
B
11
S
3
Posts: 79
Reputation: 854

Post » Sun Feb 21, 2016 12:26 pm

@John Cutter I can't help you on this but I think this would be better if you put it on "How Do I" Category of the Forum for there are more help there than here.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862

Post » Sun Feb 21, 2016 2:45 pm

I think this was user error. I did another export and it seems to be working now.

@chadorireborn In the past I have used the "How Do I..." section when I have very specific questions. This one was a bit more general so I picked the "General" section. Should that section be used for something else?
B
11
S
3
Posts: 79
Reputation: 854

Post » Sun Feb 21, 2016 3:21 pm

John Cutter wrote:I think this was user error. I did another export and it seems to be working now.

@chadorireborn In the past I have used the "How Do I..." section when I have very specific questions. This one was a bit more general so I picked the "General" section. Should that section be used for something else?


Good to know you fixed it by yourself.

No, it was just a suggestion since high number of volunteers check that page(How Do I) first than this because that page was more on asking questions and the visits was currently very low at that time.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests