Could you check my game for room crash/error?

Started by steptoe, Wed 22/02/2012 05:16:03

Previous topic - Next topic

steptoe

Hi

My latest game is being tested.

The game runs fine without any crashes or errors yet the 'Tester' says it crashes on the India location when you first enter the room, he says it may be a null pointer on fade in.

I only have a music play and a line of text at fade in.

Could someone just check from their end and see what happens when they go to India.

http://www.mediafire.com/?l12o74fxc48m7m5

As I say, it seems to play ok my end.

Only Sudan and India are available at present.

Cheers if you could take a peek and let me know.

steptoe

PS Debugs shows:

GUI On(1) ignored G 156 (already on)






arj0n

Tried several times, found no problems entering India.

steptoe


cat

Could your tester post the error message? That might be helpful.

Khris

No problems here either.
My guess is it's sound related and the crash is due to a combination of the sound file and your tester's system.

Just tell him to turn off sound in winsetup and try again.

steptoe


Tabata

No problem with arriving in india   ;D


btw.
There is something strange about the sound when near the bees.
It sometimes changes from bees-sound to a sound of frogs!?  ::)

arj0n

Quote from: Tabata on Wed 22/02/2012 17:01:18
There is something strange about the sound when near the bees.
It sometimes changes from bees-sound to a sound of frogs!?  ::)
America got killer bees, India got frog bees  :)

steptoe

#8
Quote from: »Arj0n« on Wed 22/02/2012 17:06:10
Quote from: Tabata on Wed 22/02/2012 17:01:18
There is something strange about the sound when near the bees.
It sometimes changes from bees-sound to a sound of frogs!?  ::)
America got killer bees, India got frog bees  :)


lol    when you have done the bees the sound returns to nature sounds like crickets and maybe there are frogs to etc etc that is why  :)





Tabata

Quote from: steptoe on Wed 22/02/2012 17:46:20
Quote from: »Arj0n« on Wed 22/02/2012 17:06:10
Quote from: Tabata on Wed 22/02/2012 17:01:18
There is something strange about the sound when near the bees.
It sometimes changes from bees-sound to a sound of frogs!?  ::)
America got killer bees, India got frog bees  :)


lol    when you have done the bees the sound returns to nature sounds like crickets and maybe there are frogs to etc etc that is why  :)


I vote for the frog bees, then   ;D
           
(because it changes without having done anything to the bees  - i.e. while going through the inventory)  ;)

steptoe


NickyNyce

#11
The first chapter (Sudan) doesn't give me a problem, but india crashes after fade in.



I tried to turn off the music, but the crash still happens. I also tried to turn off sound and music, but no good.  :-\

Tabata

Quote from: NickyNyce on Sat 25/02/2012 12:40:52
...  india crashes after fade in.

I tried to turn off the music, but the crash still happens. I also tried to turn off sound and music, but no good.  :-\

That doesn't sound good

So if the problem is probably related to the system,
you need more informations about the testers versions, right?

Here are mine:
laptop (Medion)
Windows Vista HP, SP 2, 32 bit
IntelCore 2 Duo CPU
nvidia GeForce 9600M GS 256 MB

Hope it helps to solve the problem -

Khris

steptoe, could you post line 158 and the surrounding ones?

steptoe

#14
Hi

Khris & NickyNyce,

strange but line 158 was a Hotspot interact with a Display but on just looking the Hotspot Interact Events Panel Hotspot NO Interact was not assigned!! Weird...

This could have been the cause?  Nothing else in that Event.

I'll compile game now and see if that helps.

cheers everyone

steptoe


steptoe

Hi

Is there anyway that

Code: ags

AudioChannel *channel = aExplosion.Play();
Wait(40);
channel.Volume = 100;


Could cause a system error?

steptoe




Ghost

#16
Quote from: steptoe on Sun 26/02/2012 15:02:34
Is there anyway that ... Could cause a system error?

You are playinga sound, wait a second, and then change the sound's volume.
Does the sound play longer then a second? If not, you are trying to change the volume of a sound that, for AGS, doesn't exist (a null pointer), so yes, that could be the problem- IIRC you can't refer to pointers that have been nulled.

Change the last bit to:

Code: ags

if (channel.IsPlaying())
  channel.Volume = 100; 

and try again. It's a pretty simple failcheck, and I use it constantly when dealing with pointers.

steptoe

Hi Ghost

I think the I chose Volume property (audio channel) as the Music was a bit low. Maybe I should have used Volume property (system) instead.

By the way, the sound does change from music 1 to music 2 then back to music 1 after an event.

Though most people found it alright someone had crashing problems with the music.

Between a rock and a hard place as it were.

Anyhow have taken off Volume property (audio channel)  and just scripted as music.play.

Fingers crossed.

cheers

steptoe



NickyNyce

I'm wondering if there is anything I can do on my side. I have a brand new HP home computer, 64 bit, 8.00 GB...I have no idea why I'm the only one that's getting this error. Could it be something to do with my sound card?

Like I mentioned before, I have never had a problem playing any music or sound in any AGS game.

Ghost

Quote from: NickyNyce on Sun 26/02/2012 19:34:30
Could it be something to do with my sound card?

The error message clearly states a null pointer reference, which means a command tries to access something that is not there. That's not something caused by the soundcard.

steptoe: Adjusting volume on the fly is no problem as long as the sound/music file you are referring to is referenced. Again, can it be that the sound is so short that it plays less than a second?

SMF spam blocked by CleanTalk