Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : file corrupted when viewing demos for a beta hold
New Topic New Poll Post Reply
Poster Message
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged

File: droderror.png (41.6 KB)
Downloaded 5 times.
License: Public Domain
icon file corrupted when viewing demos for a beta hold (0)  
Using 5.0.1.6060 for Mac OS X.

When making a beta hold available to testers, I cannot view their demos. Attempting to open one shows an "ERROR: File corrupted" dialogue.

If the tester posts the demo on the forum (beta board), I can download it and view it fine.

____________________________
34th Skywatcher

[Last edited by disoriented at 07-24-2014 06:15 AM]
07-24-2014 at 06:11 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5096
Registered: 02-04-2003
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (+1)  
Can you invite me to your beta board?

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
07-24-2014 at 06:13 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Done.

____________________________
34th Skywatcher
07-25-2014 at 05:04 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5096
Registered: 02-04-2003
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Hrm. You get that when you try to download the demo? I can download and view all the demos just fine (though some of them are broken as they were recorded in an earlier version of the hold I assume, but still watchable). I'm on a Windows machine though.

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
07-25-2014 at 06:30 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Yes; for me, all demos recorded by blorx1 cannot be downloaded in-game (F6 screen) due to the "corrupted" error message. But the same demos can be imported fine.

____________________________
34th Skywatcher
07-25-2014 at 07:29 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Could it be a cross-platform issue? I have OS X and blorx1 has ____?
Just randomly speculating.

____________________________
34th Skywatcher

[Last edited by disoriented at 07-30-2014 07:19 AM]
07-30-2014 at 07:19 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
blorx1
Level: Smitemaster
Rank Points: 896
Registered: 07-18-2009
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
I've got windows. I'll invite dis to a beta board and see if he can download demos from that hold.

____________________________
If you need to think outside of the box, then you didn't build a good enough box.
07-30-2014 at 07:41 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged

File: error.png (988.4 KB)
Downloaded 397 times.
License: Public Domain
icon Re: file corrupted when viewing demos for a beta hold (0)  
I get the message when downloading bomber50's demo from within the beta hold:

Click here to view the secret text


____________________________
34th Skywatcher

[Last edited by disoriented at 07-30-2014 08:23 AM]
07-30-2014 at 08:22 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
So maybe it's only affecting Mac...

____________________________
34th Skywatcher
07-30-2014 at 09:18 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
blorx1
Level: Smitemaster
Rank Points: 896
Registered: 07-18-2009
IP: Logged

File: drod.err (34.8 KB)
Downloaded 2 times.
License: Public Domain
icon Re: file corrupted when viewing demos for a beta hold (0)  
So now I'm trying to download a hold (for the first time) from a beta board (by disoriented) and I'm getting a file corrupted error which is rather worrying. I'll post my drod.err here. I've also had a lot of other beeps in the past so there are probably things that are less relevant, but the most recent bugs were from trying to import.

edit: I'm using 5.0.1.6060 and am on windows if it's relevant.

____________________________
If you need to think outside of the box, then you didn't build a good enough box.

[Last edited by blorx1 at 08-28-2014 04:48 AM]
08-28-2014 at 04:47 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Is it still corrupted when you download from here?
http://forum.caravelgames.com/viewtopic.php?TopicID=38753&page=0#387782

____________________________
34th Skywatcher
08-28-2014 at 04:49 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
blorx1
Level: Smitemaster
Rank Points: 896
Registered: 07-18-2009
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Yes it is corrupted from there.

Other note: it's corrupted from the link at the top of the beta board and from in game but when I download in game the game crashes instead of displaying an error message.

____________________________
If you need to think outside of the box, then you didn't build a good enough box.
08-28-2014 at 04:50 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
We fixed the *hold* corruption issue - I needed to make a copy of the hold and upload it. Perhaps there was an ID conflict of some kind.

Schik, would you please delete the Beta Board "New Empty Hold" under my profile?

Thanks

____________________________
34th Skywatcher
08-28-2014 at 05:48 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5096
Registered: 02-04-2003
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (+2)  
Mike, just FYI I traced this to a <WorldMaps> entry having DataID='13890' that could not be found. In the copy that disoriented made, the same WorldMaps has a DataID='0'.

I don't know the map stuff well enough to know what that means, but hopefully you do.

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
08-28-2014 at 06:23 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
The original problem with downloading demos remains. The error is "File Corrupted".

In drod.err I see:
Assertion error in line 144 of ../../BackEndLib/StretchyBuffer.cpp: "dwSetBufSize > 0"
Assertion error in line 1329 of ../../DRODLib/DbXML.cpp: "size"

____________________________
34th Skywatcher
10-15-2014 at 08:34 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
Hi,

I installed build 6060 into a Windows 7 VM, connected to CNet, and demos downloaded without any problems in the beta hold I tested. But on the 6060 build on Mac, the demo downloads silently fail.

____________________________
34th Skywatcher
03-15-2015 at 11:54 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 2395
Registered: 12-28-2004
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (+1)  
I've confirmed these things:
- This occurs only for beta holds
- This occurs only when downloading holds via the game interface - a hold downloaded from the web and imported from the file imports correctly
- The first assertion, the one in "CStretchyBuffer::Set". This function is called exactly once during the demo import. At the beginning, it is set to the demo data received from the server and the assertion fails because the data's length is... 0 bytes. Curious.

Disoriented, do you have access to a software similar to fiddler (Some suggestions)? Basically a soft which allows you to inspect all internet requests going through your PC? I'd need you to install something like this and check what is sent to the server and what response is returned. I don't see why it would be, buy maybe, for some reason, the response data is empty.

Does anyone else with a mac here who could confirm this happens on all macs?

____________________________
My website | Facebook | Twitter

[Last edited by skell at 05-25-2015 11:52 PM]
05-25-2015 at 11:47 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Rank Points: 1344
Registered: 08-07-2007
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (0)  
I'm happy to try whatever. I grabbed the 14-day trial of HTTPScoop so maybe we can start with that? :)

____________________________
34th Skywatcher

[Last edited by disoriented at 05-26-2015 07:15 AM]
05-26-2015 at 07:13 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 2395
Registered: 12-28-2004
IP: Logged
icon Re: file corrupted when viewing demos for a beta hold (+1)  
The problem is caused by the fact that, for some reason, the ID value for beta holds overflows and is sent as a giant integer.

I've handled it from the server side but at some point we'll want to investigate why this even happens on a mac.

____________________________
My website | Facebook | Twitter
05-28-2015 at 07:16 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : file corrupted when viewing demos for a beta hold
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.