Author Topic: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!  (Read 17871 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
yes i am :D

the only diff between rc2c and rc2d at the moment is
A) RC2c caches BSP occasionally when it shouldn't, fixed in RC2d
B) RC2d has the version of the compiler implemented - which will force it to recompile all models from earlier versions of PCS2
C) RC2d has a minor cosmetic fix for SOBJ bbox display

once there are more significant fixes i'll pop it out..

whoever was having collision detection problems with rc2b pls try rc2c
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
It seems to have fixed the problems with the Protector and Cylon Assault Frigate from the BSG Alpha pack.  I'll probably re-export all the models now just to make sure it's all fixed, or maybe just wait and hear what everyone else says about it.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Whitelight

  • 29
  • Thing, man like
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
WoooHooo.. :D

Collision detection fixored.   :yes:
Big thanks, to all the people working on PCS2.
Simpicity of character is the natural resualt of profound thought

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
I wanted to reconvert this redone Colossus as its collision detection was nonexistant but the RC2c build always crashes upon converting. The funny thing is it crashes at a different subopbject nearly every time. I don't know what to do. Purging the BSP cache didn't help either. Does anybody have an idea how I might fix this one?

[attachment deleted by ninja]
The Signature is a Nuke!

 

Offline Water

  • 210
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
I wanted to reconvert this redone Colossus as its collision detection was nonexistant but the RC2c build always crashes upon converting. The funny thing is it crashes at a different subopbject nearly every time. I don't know what to do. Purging the BSP cache didn't help either. Does anybody have an idea how I might fix this one?
I deleted Debris 6,7,8 and 10 - it converted fine.

One (or all of them) have some modeling errors

Edit: Deleting just Debris8 allows RC2c to save without crashing.
« Last Edit: January 31, 2008, 12:51:51 am by Water »

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
in my expirience i find most model bugs are due to bad modeling, and over conversion. i figure every format you pass through costs you between 5% and 50% of your model integrity.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
I wanted to reconvert this redone Colossus as its collision detection was nonexistant but the RC2c build always crashes upon converting. The funny thing is it crashes at a different subopbject nearly every time. I don't know what to do. Purging the BSP cache didn't help either. Does anybody have an idea how I might fix this one?
I deleted Debris 6,7,8 and 10 - it converted fine.

One (or all of them) have some modeling errors

Edit: Deleting just Debris8 allows RC2c to save without crashing.

Thank you very much! :yes:
The Signature is a Nuke!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
give me the version of that model that is causing crashing
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
Look at the attachment above.
The Signature is a Nuke!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
lol didn't notice the attachment

i'ts crashing because PCS2 is for some reason miscalculating the tree size so it's writing off the end of the allocated bsp buffer
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
Could you fix that, please?
The Signature is a Nuke!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
[sarcasm]no.. i'm just going to leave it that way![/sarcasm]

of course i'm going to try and ****ing fix it
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
Good, I already thought I would have to convert it again from the .cob file and that would be a pain for a model with so many turrets.
The Signature is a Nuke!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
possible you will want to.. this problem could indicate some corrupt geometry
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
If it is only some debris I can just delete it and prevent unnecessery work.
« Last Edit: January 31, 2008, 10:02:38 am by Koth »
The Signature is a Nuke!

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
Small feature request: Automatically purge the BSP cache upon startup, and possibly, whenever you load a new model.
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
Small feature request: Automatically purge the BSP cache upon startup, and possibly, whenever you load a new model.

*faceplam*

did you read the PCS2 wiki article entry on the BSP cache?

it's a memory cache on a per-model basis, so when you startup PCS2 there is no cache, when you unload a model it's cache (if it exists) is unloaded

[edit]
the geometry for debris8 is signficiantly corrupt, i can confirm this in truespace and the fact that every senitnel variable that i attached that should have caught this didn't.
« Last Edit: January 31, 2008, 10:14:15 am by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Koth

  • 28
  • Join the NTF! We have cookies!
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
Thanks, then I will just delete it. I don't think that anyone will notice a missing piece of debris as the Colossus isn't destroyed very often.
The Signature is a Nuke!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
yeah.. what i don't get is how it's managing to crash PCS2 when i put in the following checks

if offset >= buffer size, terminate
added two flags to tree nodes: counted and used, counted = true after been counted by the size calculate, used=true after being written to buffer.  during writing check if it's already been written, or not counted, skip if either

and it still managed to walk off the end of the buffer.

[edit]
added more thorough detection and it found the overflow
« Last Edit: January 31, 2008, 10:26:13 am by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: POF Constructor Suite 2.0 Release Candidate 2 - BUG HUNT!
got it!

it's not corrupt geometry, it was an error in calculating the size of the required buffer.

fixed

[edit]
RC2d posted

Note: the buffer size calculation bug would give you an overly sized buffer normally, but occasionally as in the case of the big C could give an undersized buffer apparently.

Size of coli86.pof from july beta build: 950kb
size of coli86.pof from rc2d: 882kb
« Last Edit: January 31, 2008, 11:09:34 am by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir