Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - khnum

#1
Well, my game crashes almost randomly, when, while the player character is walking before going to interact with something, i move the cursor many times around the screen, or if i click (it can be the first click or the 20th, like i said it happens randomly), giving this error:

Code: ags

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x0043109E ; program pointer is +22, ACI version 3.00.964, gtags (4,0)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.



Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.

An error file CrashInfo.dmp has been created. You may be asked to upload this file when reporting this problem on the AGS Forums. (code 0)
---------------------------
OK   
---------------------------


I'm using AGS 3.0 RC2, and i wrote the entire script in RC1 (i'm modifying Electroshocker's Verbcoin Module), and i'm sure the problem is caused by the script, but since i can't understand what the problem actually is, i can't understand where it is...


EDIT:

I can't reproduce the error using RC1, could this be a problem of the RC2? (by the way, RC1 doesn't open RC2 rooms, but i don't think it's a great problem, is it?)
#2


Moonlight Games presents: Back to the Maniac Mansion

Some screenshots:



The Story:

This evening Hoagie and his band have a concert to do. Bernard and Laverne got invited to the event, unaware things aren't going to be as planned...

Soon they'll got to return to the Mansion, finding theirself to stop a chain reaction messing up the space continuum itself: their paths will split up again...

Development Progress:

Story: 70%
Scripting: 10%
Graphics: 10%
Sound/Music: 5%



Development Diary:

August 4, 2007
We DO need an animator!
2 backgrounds finished!

August 8, 2007
Added a music sample from the intro of the game.
We still need an animator  :P
#3
So, i' making a gui to switch between different characters, and when you click on the image of the character you want to switch to, an animation starts; anyway, if the character is in the same room, there are no problems, but if the player is in another room, the room changes after the animation (and i want it to start after the room change). Since setAsPlayer waits for the entire function to finish before switching, what can i do?
#4
I'm trying to make an audio system similar to iMuse, but i have a problem:

Since there's olways that break, using the goto functions, i want to put a bar of silence between the two tracks, so the second one would start from the same position of the other one, and nobody would notice the break;

I used a blank midi to make the sound stop, and the code is this:

Code: ags

iPos=GetMP3PosMillis(); // music1 is playing
SetMusicRepeat(0);
PlayMusic(3); // the blank midi
SetMusicRepeat(1);
PlayMusicQueued(2);
SeekMP3PosMillis(iPos);


the problem is that seekMP3PosMillis doesn't seem to work when using PlayMusicQueued!
In fact if i just use PlayMusic(2), it works, but the script doesn't wait for music3 to finish.

Is this a known bug?
SMF spam blocked by CleanTalk