Author Topic: 4/30 Planeshift source build issue, psSoundHandle  (Read 964 times)

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
4/30 Planeshift source build issue, psSoundHandle
« on: May 11, 2006, 04:25:54 pm »
Hi.

Is anyone else getting a problem in or around line 765 of pssoundmngr.cpp related to psSoundHandle?

I think it has to do with the allocation of snddata under "new", but I'm not able to check at the moment seeing as I'm not on my n*x comp. 
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #1 on: May 11, 2006, 04:27:01 pm »
What CS/CEL date are you using?  (should be 2006-05-01 00:00:00 UTC off of the CS annon server, NOT SF's)

::  PlaneShift Team Programmer  ::

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #2 on: May 11, 2006, 04:28:23 pm »
What CS/CEL date are you using? (should be 2006-05-01 00:00:00 UTC)

Both 5/1/2006, as ordered and to begin with.

And it IS off the CS anon-server.
« Last Edit: May 11, 2006, 04:30:04 pm by StarsAndBars_1018 »
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #3 on: May 11, 2006, 04:30:16 pm »
Hmm... weird.  I'll post another zip for you to try in a moment.  (CVS is down for us, so it'll be a shot of my own pile... with stuff not even committed yet :P )

Edited to add:
Ok, posted a link in the thread I stickied.
« Last Edit: May 11, 2006, 04:41:16 pm by DaveG »

::  PlaneShift Team Programmer  ::

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #4 on: May 11, 2006, 04:43:19 pm »
Thanks a bunch, I'll download it when I switch comps.
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #5 on: May 11, 2006, 04:47:39 pm »
Ah, I just remembered what that issue was.  There was a change in CS that made an error there, but I committed the changes needed to fix it.  They should be in both snapshots.  It could be that you're not really using the right CS version?...  Whats the top date listed for their history.txt?

Edited to add:
From my checkout using the right date (off the CS dev server, not annon; I don't know if the times are different) the top date listed is 30-Apr-2006 and the last entry in that block is:
Quote
- Jorrit removed the broken and not very useful 'stars' mesh.
Fixed demodata.zip for this removal.
The critical block you need, just before that, is:
Quote
   - Rhad made the following changes to the Windows csGetMicroTicks():
       - Changed the calculation logic into whole and fractional second
         parts to avoid overflow. This fixes a problem where time
         would appear to move backwards after about an hour on a 2.4
         ghz CPU. (shorter on faster CPUs, longer on slower CPUs)
       - Added an assertion when the time reported by the OS moves
         backwards. This can happen with some AMD X2 processors
         and requires OS level workarounds.
« Last Edit: May 11, 2006, 05:00:27 pm by DaveG »

::  PlaneShift Team Programmer  ::

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #6 on: May 11, 2006, 05:01:30 pm »
Ah, I just remembered what that issue was.  There was a change in CS that made an error there, but I committed the changes needed to fix it.  They should be in both snapshots.  It could be that you're not really using the right CS version?...  Whats the top date listed for their history.txt?

Edited to add:
From my checkout using the right date (off the CS dev server, not annon; I don't know if the times are different) the top date listed is 30-Apr-2006 and the last entry in that block is:
Quote
- Jorrit removed the broken and not very useful 'stars' mesh.
Fixed demodata.zip for this removal.

I've got my history.txt up on second comp and it says on top:

Quote
18-Apr-2006
       - Jorrit restored the ambient to a dark value after iceeey changed it to a very bright value some time ago.
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #7 on: May 11, 2006, 05:06:00 pm »
Yep, then you don't have the right CS date.

::  PlaneShift Team Programmer  ::

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #8 on: May 11, 2006, 05:12:35 pm »
Then I assume that barring access to the dev server, I should just redownload off anon?

I don't recall any problems with the 4/28 source package, unless my memory is off that was using 5/1 too.
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #9 on: May 11, 2006, 05:14:55 pm »
I just did a clean checkout of docs from CS annon, and it had the right date.  I'm not sure where you went wrong.  I recommend just doing a clean checkout of CS using "2006-05-01 00:00:00 UTC".

Edited to add:
You didn't have issues with the previous package because it didn't yet have the updates for latest CS that I put in for the 4/30 package.  Hence requiring the newer CS date.
« Last Edit: May 11, 2006, 05:16:40 pm by DaveG »

::  PlaneShift Team Programmer  ::

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: 4/30 Planeshift source build issue, psSoundHandle
« Reply #10 on: May 11, 2006, 05:31:27 pm »
Edited to add:
You didn't have issues with the previous package because it didn't yet have the updates for latest CS that I put in for the 4/30 package.  Hence requiring the newer CS date.

Oh!

That explains that.

Anyway. . .Yeah. . .CS is at 4/30 in history.txt and compiling.
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.