Code center > Bugs and fixes

Fixed Console Crash in 2.4A

(1/2) > >>

EricL:
This was bugging me so I fixed it.  2.4A crashes with an error '91' if you attempt to execute a command in a console window that was opened on a bot that has since died.  The routine evnt_textentered() in console.frm did not check whether the robot's console was still valid.  I added a check (line 173 in console.frm).

Additionally, I added a line in KillRobot() in robots.bas to indicate in the console window when the robot for that console has died.   (line 1461 in robots.bas).

Source modules attached.  To find changes, search for the string 'EricL'.

-E

Numsgil:
Good work.  When you finish to your own satisfaction I'll help you put together an official release.

Griz:
great.
now, this robots.bas then includes the Gene activation fix as well, yes?
so I can overwrite it with this robots.bas?

was that
Public MaxMem As Integer
                           ' EricL March 15, 2006

just checking so I don't do the 'fixes' in the wrong order
once I find time to add them all.

I will also try to revive one of the old pages at the wiki ...
to keep track of the 'unoffical' bug fixes we add ...
so if someone runs into a problem they will be documented
in one place, with a timeline.

EricL:
Thanks Nums.  I was planning on sending you some mail to see how I could best be of help.

If the C++ version isn't imminient, then I think maybe for the next few weeks, I'll keep patching 2.4 as I come up to speed on DB, drop a 2.4B, fixing the things that were broken since 2.37.6 and working towards that being the stable VB platform so people can get off of 2.37.6.  With one exception, I've no inclination to do any new feature work in VB, just maybe fix leagues and internet sharing.  Maybe.  I'm thinking a few weeks max as I explore and come up to speed.  (The one exception is maybe some experimentation on codon-level encoidng for in-genome mutation probability.  Still owe a proposal on that.)

After that, I'll switch over to helping out on the C++ fork and ping you for some work items at that time.  I have it building now, but have some link errors I need to dig into.  I'll send separate mail on that.

-E

EricL:
Griz:  Yes, this robots.bas includes the gene activation fix.  You can cut and paste fixes individually if you want, they are pretty independent of one another -  or it might just be easier to drop the entire file over the other and build, unless you have made private fixes yourself in which case you will need to merge by hand.

Cheers,

-E

Navigation

[0] Message Index

[#] Next page

Go to full version