Author Topic: Overflow in 2.4.9  (Read 2223 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Overflow in 2.4.9
« on: November 14, 2005, 07:50:46 PM »
I got an unknown overflow in version 2.4.9. The program saved the sim as 'error.sim', but I can't upload that file. Tried both rar and zip formats. It says I can't upload that kind of file. It also doesn't enter debug mode despite I'm running the source code. How the hell am I supposed to report the bug???

I tried to load my saved sim to run it again, then I got the same error again. The sim is broken. Have to start a new one. BLAH!  :banghead:

I can upload the settings file and maybe you can reproduce this error.

After you load the settings file you need to change the following:

GENERAL tab:

Corpse mode set to NRG.

NRG slider set to 25.

PHYSICS AND COSTS tab:

Fluid button pressed down.

Thin fluid selected.

Movement efficiancy set to Biological.

After 20000 cycles you can lower the waste treshold to 250. Maybe that's what caused the overflow.

Also I think you should allow 'RAR' files to be uploaded here!
« Last Edit: November 14, 2005, 07:53:39 PM by Testlund »
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Overflow in 2.4.9
« Reply #1 on: November 14, 2005, 08:32:34 PM »
rar format should be possble to attach - I do that all the time...
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Overflow in 2.4.9
« Reply #2 on: November 15, 2005, 01:20:58 AM »
Try renaming it something other than zip.  Try calling it like db2 or something.

To debug it from the source code, you have to search the source code for "error.sim".  In that function, near the top, is a section that will say "on error goto errorsim" or something like that.  You need to comment it out...

Anyway, dispair not!  Later on I'm going to set my computer up as an FTP like I did in the summer, and you'll be able to just upload sims directly onto my computer.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Overflow in 2.4.9
« Reply #3 on: November 15, 2005, 09:45:52 AM »
Quote
rar format should be possble to attach - I do that all the time...
Have you uploaded a 'rar' file to this forum? If I can't, how can you? That doesn't make sense, does it??
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Overflow in 2.4.9
« Reply #4 on: November 15, 2005, 09:51:33 AM »
This is crazy. I tried to change the name of the file, it doesn't help. Also the file size expanded from 64 KB to 314 KB just by changing the name from 'error.rar' to 'error.wri'!
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Overflow in 2.4.9
« Reply #5 on: November 15, 2005, 10:57:43 AM »
Email it to me
« Last Edit: December 04, 2009, 02:13:43 PM by Numsgil »

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Overflow in 2.4.9
« Reply #6 on: November 15, 2005, 11:14:36 AM »
Quote
Have you uploaded a 'rar' file to this forum? If I can't, how can you? That doesn't make sense, does it??

Yes I did.  In fact, I always upload files as rar archives.  Tried something else at first, but then found out that rar is allowed and used it since then.

Does not make sense...
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Overflow in 2.4.9
« Reply #7 on: November 15, 2005, 11:15:19 AM »
here is a test
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Overflow in 2.4.9
« Reply #8 on: November 15, 2005, 11:15:32 AM »
As you can see it worked :)
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Overflow in 2.4.9
« Reply #9 on: November 16, 2005, 12:32:30 PM »
Still waiting for the simulation so I can debug it.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Overflow in 2.4.9
« Reply #10 on: November 16, 2005, 03:59:21 PM »
I've just sentit. check your email. :-)
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Overflow in 2.4.9
« Reply #11 on: November 16, 2005, 04:02:14 PM »
Found the problem and fixed it.

I'm uploading 2.4.A (hexidecimal XD) as I type.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Overflow in 2.4.9
« Reply #12 on: November 16, 2005, 04:07:30 PM »
You should be able to load your simulation into 2.4.A and continue on your merry way.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Overflow in 2.4.9
« Reply #13 on: November 16, 2005, 04:27:51 PM »
Uh... Is that like a new version of 2.4 or is it the name of the save file?
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Overflow in 2.4.9
« Reply #14 on: November 16, 2005, 05:10:34 PM »
New version.  Hence the EXE in the zip.