Item and Dialog Error

Started by muffinzown, Sat 21/07/2007 06:38:44

Previous topic - Next topic

muffinzown

Ok so i decided today to go back and start working on a new game. I havent been working on one in a while so i am a little rusty :P Anyway, one problem i had was an item problem. In inventory items it is set to 3 so do i put in the room as 3? or as 1? Help on that i would be thankful.
I also decided to take the item out and see how the game would run. I have the main player have a conversation with another( whom i will call player 2). But when i switch the cursor the talk and click on player 2 an illegal exception box appeared stopping the game and stated:


                        "  An exception 0xc00000005 occured in ACWIN.EXE
                           at EIP = 0x0041e5e9; program pointer is +155,
                           ACI version 2.72.920, gtags (1,0)

                           AGS cannot continue, this exception was fatal. "


So i have no idea what this could possibly mean, so if anyone can help me on this probelm please give me any info that may seem helpful

Thanks for your time!

Khris

1. The number of the object doesn't have to be the same as the inventory item's; after picking up the object, you'd turn it off, then add the inv item, so the index numbers don't have to be related in any way (since objects and inv items aren't either, other than in the designers imagination).

2. What is the contents of "talk to character 2"? Did you use a script? Actions?
We obviously can't help you without knowing what you've tried.

muffinzown


Khris

Hmm, right. Care to post it?

muffinzown

// dialog script file
@S  // dialog startup entry point
MAN: "Greetings"
EGO: " Hello "
MAN: "Take this key to proceed through the next door"
EGO:  " Ok, thanks for your help "
stop


:P ive compared this to my other games dialogs that seem to work just fine..but I'm not sure about what i may be doing wrong

Khris

That's the dialog script.
What's the contents of the RunScript-Action in the "talk to character"-event?
I guess something like dDialog.Start();, right?

muffinzown

#6
yes..

Khris

#7
Would you please post the actual contents?

Or is it actually "dDialog.Start();"??

If you are unable to post in a normal way, look who's gonna help you.

Is the dialog's scriptname correct?
Is the character MAN in the same room as the player?
Did you assign a talking view to him?

muffinzown

Can i just use run dialog as well?

Khris

I guess you're talking about the interaction editor command? Yes, you can.

muffinzown

#10
ok I'm using this, but it does the same thing? i have checked a previous game were i used interaction editor and they seem to be the same in using dialog.

muffinzown

ok i am using the interaction editor for the two to have a conversation.
Game - run dialog (0) I just have a few brief lines between them and then stop no options. When i get into the room i switch the cursor to dialog and click him and the game closes out and tells me of this illegal operation. I am using the same character as roger for the man.

Scorpiorus

What I would recommend is to start a new test game, put the player and the other character into the first room, add the Run Dialog action and the dialog script and run it and see if it works at all, on a fresh start.

By the way...

Quote from: muffinzown on Sat 21/07/2007 06:38:44I also decided to take the item out and see how the game would run.

What do mean by "to take the item out"?
1. Are you referring to an Inventory Item or a Room Object?
2. Do you mean you remove it from the game project in the AGS Editor? Or, in case it's an inventory item, do you mean to remove it from the player's inventory when the game is actually running? Or, if it's a room object, are you saying you removed it in the room editor?

SMF spam blocked by CleanTalk