It is currently Fri Dec 15, 2017 5:49 pm

All times are UTC + 9:30 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: I'm in your codes, figurin' out your day 20 bugs.
PostPosted: Wed Dec 05, 2007 10:30 am 
Offline
User avatar

Joined: Sat Jun 24, 2006 3:11 pm
Posts: 1266
Location: Should be programming AI and Sound
Hey guys, even though the main programmers already know this, I thought I'd post that the cause of the day 20 was figured out.

Basically, we have a homemade linked list for storing units and properties.

And we use Serializable.

Serialize is fucking retarded, and can't handle home-made linked lists past the size of the stack, after which it explodes, and causes day 20 bugs.

ergo, the solution is to replace UnitList and PropertyList and whatever other homemade data structures we're using, with the pre-made java ones with smart saving.

There's a funny story behind me figuring it out too, as I figured out the day 20 bug because of something I fixed on a school project, which I figured out how to fix from the day 20 bug :O

_________________
Image
Thanks to Taboo for the sig and avy. CLIFF NEEDS RATES AND COMMENTS: http://forums.customwars.com/viewtopic.php?t=5351


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 10:36 am 
Offline
User avatar

Joined: Fri Jun 23, 2006 2:44 am
Posts: 1226
Location: X, Y, Z
Yay.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 10:44 am 
Offline
User avatar

Joined: Fri Sep 07, 2007 1:01 pm
Posts: 1290
Location: Back at college. ^_^
*throws confetti*

_________________
Image
I'm not going to confront anybody. I was raised right--I talk about people behind their backs. It's called "manners." ~ Kathy Griffin
According to Kosheh, life is just another MMO.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 10:56 am 
Offline
User avatar

Joined: Thu Sep 21, 2006 6:48 am
Posts: 3681
Location: Location, Location
sup i'm converting stuff as we are speaking.

Everything's done except for Path, and I'll run a test as soon as I figure out if that's trivial or not.

_________________
"I got this [dragon tattoo] while a teenager. I met the greatest girl in the world and now I'm married. Problem is, she's afraid of dragons. I've started getting it removed. Will take years."


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 11:48 am 
Offline
User avatar

Joined: Wed Jun 28, 2006 3:56 am
Posts: 1094
Location: Flying through plotholes
HOORAY!

_________________
The Mythbusters wrote:
Adam: I reject your reality and substitute my own.

Adam: [on Jamie's cardboard milkshake]That tastes uncannily like cardboard.

Adam: *prances inside large tank*
Jamie: Hey Adam, do you want to know what this tank was used for holding?
Adam: *continues prancing* Yeah, what?
Jamie: Fecal matter.
Adam: *runs out screaming*


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 12:02 pm 
Offline
User avatar

Joined: Sun Apr 01, 2007 3:14 am
Posts: 2228
Location: DE
This is excellent news. Are we still gonna make a new save format, though?

_________________
urusan wrote:
Do what Fugue said


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 12:22 pm 
Offline
User avatar

Joined: Fri Jun 23, 2006 2:34 pm
Posts: 3761
Location: Tennessee
Eventually


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 12:53 pm 
Offline
User avatar

Joined: Sun Apr 01, 2007 3:14 am
Posts: 2228
Location: DE
Okay, I got up to something like day 5 on that 1,600 Infantry map I was using for testing earlier without any sign of the D20 bug, so I think it's either fixed or the limit has been extended pretty high.
Either way my arm hurts too much for further testing right now.

_________________
urusan wrote:
Do what Fugue said


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 06, 2007 8:21 am 
Offline
User avatar

Joined: Thu Mar 22, 2007 9:36 am
Posts: 1665
Location: Waiting for blue mutants to feed me.
Image

_________________
Individual wrote:
I think what he meant was that bad stuff can also be entertaining. Like uh, watching any movie with Halle Berry in it. The movie sucks ass, but god damn!


Ubergeneral wrote:
my genious too awesome for you?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 06, 2007 9:21 am 
Offline
User avatar

Joined: Sun Apr 01, 2007 7:02 am
Posts: 3376
Location: EspaƱa
Deoxy please, make some funny gif about the beast of day 20 bug, finally vanquished by our proggers.

_________________
Image
Stealth CO Norvell // Freelancer Army Sprites // Tech Section - CO Project


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 9:30 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Blue Moon by Trent © 2007
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group