Error Message!!

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Error Message!!

Postby meliedea » Sat Mar 08, 2008 11:13 am

Hello! :D I have a problem with my game. I have taken away the possibility of clicking the question of the dialogues with this script: CreateTimedEvent 1, MessageTimerObject.Enabled = false
However, if the player clicks by more than one turns on the text of the question, appears this message.


Why???
Attachments
Immagine.JPG
Immagine.JPG (23.32 KiB) Viewed 4498 times
User avatar
meliedea
New Member
 
Posts: 5
Joined: Sat Mar 08, 2008 11:11 am
Location: Verona, Italy

Postby Lyberodoggy » Sat Mar 08, 2008 2:13 pm

Hello and welcome to the Forums! (always wanted to say that :P)
Can you please give us more details of what you want to do (maybe a sample project)?


Help us to help you...
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby meliedea » Sat Mar 08, 2008 3:46 pm

Hi doggy! :D

It's a short educational game, but It's for my University's thesis (it is Friday :shock: )!
I would like the dialogues not to be at all clickable!
User avatar
meliedea
New Member
 
Posts: 5
Joined: Sat Mar 08, 2008 11:11 am
Location: Verona, Italy

Postby Imari » Sat Mar 08, 2008 4:00 pm

Hi meliedea,
Hopefully someone more knowledegeable will be able to help you , but in the mean time, perhaps the answers to one of these two previous posts will help you.

http://www.adventuremaker.com/phpBB2/viewtopic.php?t=1367&highlight=chinese

http://www.adventuremaker.com/phpBB2/viewtopic.php?t=3475&highlight=chinese

One time a player had Chinese language installed on his computer and was able to "disable" Chinese to fix the problem.

Good luck.
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

Postby Lyberodoggy » Sat Mar 08, 2008 4:08 pm

I don't think you can disable clicking a dialogue... Why to do so? And if you do so, how is your player going to see the rest of the dialogue?

Anyway, to control the dialogues you must use DialogueObject, not messagetimerobject...
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby GM-Support » Sat Mar 08, 2008 5:16 pm

Hi,

I think this time the problem is not related to the language.

It is probably a problem of scripts.

Here is what you should do:

1) Create a new empty project
2) Create a test frame
3) Add a small test dialogue to that frame
4) Apply the same VBScript that you used in your other big project
5) Test and see if the problem still occurs

If the problem still occurs on your small test project, please compress it into a ZIP archive and attach it to this forum thread, so that we can find a solution.

GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby meliedea » Sun Mar 09, 2008 10:20 am

Mmm...I think that the only solution is to insert the example. Thanks for your help!
These are the scripts I use:

In Frame properties:
For Each x in DialogueObject
x.FontName = "Chiller"
x.FontSize = 30
x.MousePointer = 0
Next

In Dialogue Wizard, in Advanced>After the question has been asked...:
CreateTimedEvent 1, MessageTimerObject.Enabled = False

When you open the project, please try to click repeatedly(5-6 times) on the dialogue, the error message should appear after some second.

:?: :?: :?:
Last edited by meliedea on Sun Mar 09, 2008 6:30 pm, edited 1 time in total.
-Joe, I'm afraid.
-Afraid to find out? Don't be.
User avatar
meliedea
New Member
 
Posts: 5
Joined: Sat Mar 08, 2008 11:11 am
Location: Verona, Italy

Postby meliedea » Sun Mar 09, 2008 6:30 pm

After many tests I solved my problem using this code

In project properties:
For Each x in DialogueObject
x.FontName = "Chiller"
x.FontSize = 30
x.MousePointer = 0
x.Enabled = False
Next


So I have a not-clickable dialogue, without mousepointer, in size 30 and font Chiller

Yuppy! :D :D :D
-Joe, I'm afraid.
-Afraid to find out? Don't be.
User avatar
meliedea
New Member
 
Posts: 5
Joined: Sat Mar 08, 2008 11:11 am
Location: Verona, Italy

Postby GM-Support » Mon Mar 10, 2008 2:22 am

Ok, I am grad it is solved.

Thanks for sharing the solution.
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby GM-Support » Tue Apr 29, 2008 12:56 pm

I just realized that the error message you got initially was probably due to the fact that you were missing quotes in the second part of the statement:
Code: Select all
CreateTimedEvent 1, MessageTimerObject.Enabled = False


The correct statement should be:
Code: Select all
CreateTimedEvent 1, "MessageTimerObject.Enabled = False"


Regards,
GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Lyberodoggy » Tue Apr 29, 2008 6:38 pm

OMG...
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby GM-Support » Tue Apr 29, 2008 6:43 pm

Lyberodoggy wrote:OMG...

LOL, I realized that almost 2 months later :lol:
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests