Re: [Audyssey] Script error irritation
Might not be relevant at all, but, for example, since I generally do programming, my screenreader is always set to mention every piece of punctuation, just in case, since otherwise, I might not notice things like missing parentheses etc. - most screenreaders should also be able to store that setting per application as well, so you could get it to not always tell you about periods, and commas apart from slightly different pronunciation, but set it so that in whatever you were using to edit BGT scripts, it would in fact always read you everything so you would hear (not) if something like a left parenthesis was missing. Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: dark d...@xgam.org To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25, 2010 7:33 AM Subject: Re: [Audyssey] Script error irritation Thanks philip. Hmmm, i thought I'd already included that parenthesis, obviously not. Beware the Grue! Dark. - Original Message - From: Philip Bennefall phi...@blastbay.com To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25, 2010 12:23 AM Subject: Re: [Audyssey] Script error irritation Hi Dark, You simply missed to put a left parenthesis in the alert function call. Your code should be: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert(window, my_health + hp); } Kind regards, Philip Bennefall - Original Message - From: dark d...@xgam.org To: Gamers@audyssey.org Sent: Wednesday, March 24, 2010 11:12 PM Subject: [Audyssey] Script error irritation Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. __ Information from ESET NOD32 Antivirus, version of virus signature database 4972 (20100324) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4972 (20100324) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi Dark, One thing that stands out right away is you have a space between the end of your statements and the semi-colon. You should never put a space before the semi-colon. To declare a variable you should write it like this. int hp = 100; Other than that nothing else stands out like a sore thumb. I hope this helps. On 3/24/10, dark d...@xgam.org wrote: Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi, Oops! Shame on me. I missed that myself. Must be too early in the morning. Where's my coffee? Grr. On 3/24/10, Philip Bennefall phi...@blastbay.com wrote: Hi Dark, You simply missed to put a left parenthesis in the alert function call. Your code should be: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert(window, my_health + hp); } Kind regards, Philip Bennefall --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi Tom. That makes sense, the problem is I'm not getting anything else to work either. currently, I'm trying to display a set of list boxes which count hp down as the D key is pressed, then the character dies at zero and the game exits. something seems to be going wrong with both my conditional statements and my global variable though, and I'm uncertain as to what. If anyone who knows such things could advise me I'd appreciate it, sinse I really can't understand what's wrong here. int hp = 100; string my_health = hello, my hp is currently; int down = hp - 10; void main ( ) { keypressed = (key d, down); } If (hp = 0); { alert = (death, Oh dear, I'm dead!) exit); } Else; { (alert(window, my_health + hp)); } However, I stil can't get the blasted thing to do more than display a message. I'm trying to get it to count hp down from 100 to 0 at a rate of ten a turn displaying ten message boxes then a death message and exit, but even though I appear to have followed all the rules I stil get a bunch of errors. - Original Message - From: Thomas Ward thomasward1...@gmail.com To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25, 2010 9:01 AM Subject: Re: [Audyssey] Script error irritation Hi Dark, One thing that stands out right away is you have a space between the end of your statements and the semi-colon. You should never put a space before the semi-colon. To declare a variable you should write it like this. int hp = 100; Other than that nothing else stands out like a sore thumb. I hope this helps. On 3/24/10, dark d...@xgam.org wrote: Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi Dark, Unfortunately, I've got to go soon so I don't have much time to go over this with you in detail right now, but I did see some syntactical errors in your code.For example, you consistantly used a semi-colon after your If and Else statements. That's not legal code. Here is an example of what I mean. // Bad code Else; { (alert(window, my_health + hp)); } // Good code Else { (alert (window, my_health + hp); } You had an extra semi-colon and an extra right perenthesis in there that didn't need to be there. I can see you are really struggling with the basic language syntax. Try and hang in there and see if you can get some good scripts to look at. it might help you figure this stuff out. HTH On 3/25/10, dark d...@xgam.org wrote: Hi Tom. That makes sense, the problem is I'm not getting anything else to work either. currently, I'm trying to display a set of list boxes which count hp down as the D key is pressed, then the character dies at zero and the game exits. something seems to be going wrong with both my conditional statements and my global variable though, and I'm uncertain as to what. If anyone who knows such things could advise me I'd appreciate it, sinse I really can't understand what's wrong here. int hp = 100; string my_health = hello, my hp is currently; int down = hp - 10; void main ( ) { keypressed = (key d, down); } If (hp = 0); { alert = (death, Oh dear, I'm dead!) exit); } Else; { (alert(window, my_health + hp)); } However, I stil can't get the blasted thing to do more than display a message. I'm trying to get it to count hp down from 100 to 0 at a rate of ten a turn displaying ten message boxes then a death message and exit, but even though I appear to have followed all the rules I stil get a bunch of errors. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi Tom. I'm going to have to dash off myself, but I think that might be the issue really. The language tutorial provides very good basic examples of each thing, eg, functions, variables etc, while philip's example games provide commented examples of full scale games. I think i need to look at something in betwene to get the basic rules and how the elements are supposed to interact. Right now it's as if I have a spanish dictionary, and a spanish news paper, but no short centences or paragraphs to show how these things might be used. Perhaps, some examples of code which does basic things, such as start off with a total (a global variable), then perform a few operations on that total going through several functions to end up with another number eg, adding up items in a shopping list, would be helpful to look at, or a basic user in put limited consequence setup like calling a coin toss would be useful here. I'm really sorry about list spam and questions. I freely admit I haven't studdied anything along these lines for quite a while, not in fact sinse I did my last module in formal logic (and unfortunately the system we learnt used a very standard lingyistic syntax), I'm probably rather rusty at this sort of thing. Nevertheless, I am prepared to put in the work to learn if this is what is required, as I deffinately! would like to create that text rpg. Beware the grue! Dark. - Original Message - From: Thomas Ward thomasward1...@gmail.com To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25, 2010 10:52 AM Subject: Re: [Audyssey] Script error irritation Hi Dark, Unfortunately, I've got to go soon so I don't have much time to go over this with you in detail right now, but I did see some syntactical errors in your code.For example, you consistantly used a semi-colon after your If and Else statements. That's not legal code. Here is an example of what I mean. // Bad code Else; { (alert(window, my_health + hp)); } // Good code Else { (alert (window, my_health + hp); } You had an extra semi-colon and an extra right perenthesis in there that didn't need to be there. I can see you are really struggling with the basic language syntax. Try and hang in there and see if you can get some good scripts to look at. it might help you figure this stuff out. HTH On 3/25/10, dark d...@xgam.org wrote: Hi Tom. That makes sense, the problem is I'm not getting anything else to work either. currently, I'm trying to display a set of list boxes which count hp down as the D key is pressed, then the character dies at zero and the game exits. something seems to be going wrong with both my conditional statements and my global variable though, and I'm uncertain as to what. If anyone who knows such things could advise me I'd appreciate it, sinse I really can't understand what's wrong here. int hp = 100; string my_health = hello, my hp is currently; int down = hp - 10; void main ( ) { keypressed = (key d, down); } If (hp = 0); { alert = (death, Oh dear, I'm dead!) exit); } Else; { (alert(window, my_health + hp)); } However, I stil can't get the blasted thing to do more than display a message. I'm trying to get it to count hp down from 100 to 0 at a rate of ten a turn displaying ten message boxes then a death message and exit, but even though I appear to have followed all the rules I stil get a bunch of errors. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
[Audyssey] Script error irritation
Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Why do you have the ; in front of main? -Original Message- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of dark Sent: Wednesday, March 24, 2010 6:12 PM To: Gamers@audyssey.org Subject: [Audyssey] Script error irritation Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi. That ended up on the wrong line, however even when that ; was removed it didn't solve the script problem. apparently there was an issue with the void main function, but I've no idea what it was, and also an issue with my alert box as well. Beware the grue! Dark. - Original Message - From: Reinhard Stebner rwsteb...@aol.com To: 'Gamers Discussion list' gamers@audyssey.org Sent: Wednesday, March 24, 2010 10:22 PM Subject: Re: [Audyssey] Script error irritation Why do you have the ; in front of main? -Original Message- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of dark Sent: Wednesday, March 24, 2010 6:12 PM To: Gamers@audyssey.org Subject: [Audyssey] Script error irritation Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Hi Dark, You simply missed to put a left parenthesis in the alert function call. Your code should be: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert(window, my_health + hp); } Kind regards, Philip Bennefall - Original Message - From: dark d...@xgam.org To: Gamers@audyssey.org Sent: Wednesday, March 24, 2010 11:12 PM Subject: [Audyssey] Script error irritation Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] Script error irritation
Thanks philip. Hmmm, i thought I'd already included that parenthesis, obviously not. Beware the Grue! Dark. - Original Message - From: Philip Bennefall phi...@blastbay.com To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25, 2010 12:23 AM Subject: Re: [Audyssey] Script error irritation Hi Dark, You simply missed to put a left parenthesis in the alert function call. Your code should be: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert(window, my_health + hp); } Kind regards, Philip Bennefall - Original Message - From: dark d...@xgam.org To: Gamers@audyssey.org Sent: Wednesday, March 24, 2010 11:12 PM Subject: [Audyssey] Script error irritation Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert window, my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.