Why am I getting an error on 11 and 12?

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Why am I getting an error on 11 and 12?

by Tdarcos » Thu Sep 13, 2012 5:21 pm

Ice Cream Jonsey wrote:Is a fuse box similar to circuit breakers?
JESUS, MARY, MOTHER OF GOD -- NOBODY FUCKING GIVES A SHIT.
- Ice Cream Jonsey, 9/12/12, http://www.joltcountry.com/phpBB2/viewtopic.php?t=8499
[/quote]

by Tdarcos » Thu Sep 13, 2012 5:19 pm

by Ice Cream Jonsey » Thu Sep 13, 2012 11:51 am

Is a fuse box similar to circuit breakers?

by Tdarcos » Thu Sep 13, 2012 9:45 am

Tdarcos wrote:This is damned wierd. I'm going to change the fuse numbers and see if this has an effect.
Yep. I changed the identifiers for the breakers to 60, 61, and 62, now "go 11" and "go 12" work.

Weird the way one definition can interfere with the other.

by pinback » Thu Sep 13, 2012 9:32 am

What's a "fuse box"?

by Tdarcos » Thu Sep 13, 2012 9:28 am

I found the problem. In order to give the breakers numbers to trip, I numbered them

Code: Select all

object breaker_stove "stove"
{
	in fusebox
	article "a"
	adjectives "stove","10"
	is static,  switchedon, hidden, breaker
	Darkens nothing
}

object breaker_microwave "microwave"
{
	in fusebox
	article "a"
	adjectives "microwave","11"
	is static,   switchedon, hidden, breaker
	Darkens nothing
}
object breaker_fridge "refrigerator"
{
	in fusebox
	article "a"
	adjectives "fridge","12","refrigerator"
	is static,  switchedon, hidden, breaker
	Darkens nothing
}
I'm thinking this might be it, having a different object with the same numeric name. Problem is that I added the following:

Code: Select all

verb "go","goto"
	* "11"/"12"/"13"/"14"/"15"/"16"/"17"/"18"/"19"											DoGoCube
	* "21"/"22"/"23"/"24"/"25"/"26"/"27"/"28"/"29"											DoGoCube
	* "31"/"32"/"33"/"34"/"35"/"36"/"37"/"38"/"39" 											DoGoCube
And I get this:

[Transcript]


>go 13
DoGoCube executed
object is 0 xobject is 0
Using word 13

>go 12
You haven't encountered anything like that.

>goto 12
DoGoCube executed
object is 0 xobject is 0
Using word 12

>goto 13
DoGoCube executed
object is 0 xobject is 0
Using word 13

>goto 11
DoGoCube executed
object is 0 xobject is 0
Using word 11

>go 11
You haven't encountered anything like that.

This is damned wierd. I'm going to change the fuse numbers and see if this has an effect.

Why am I getting an error on 11 and 12?

by Tdarcos » Thu Sep 13, 2012 8:54 am

I have

Code: Select all

verb "go"
	* "11"/"12"/"13"/"14"/"15"/"16"/"17"/"18"/"19"											DoGoCube
	* "21"/"22"/"23"/"24"/"25"/"26"/"27"/"28"/"29"											DoGoCube
	* "31"/"32"/"33"/"34"/"35"/"36"/"37"/"38"/"39" 											DoGoCube
	* "to"/"into" "21"/"22"/"23"/"24"/"25"/"26"/"27"/"28"/"29"								DoGoCube
	* "to"/"into" "31"/"32"/"33"/"34"/"35"/"36"/"37"/"38"/"39" 								DoGoCube
	* "to"/"into" "11"/"12"/"13"/"14"/"15"/"16"/"17"/"18"/"19"								DoGoCube
So that in a certain area they can select a square number. Which works okay for 13-19, 21-29, 31-39 but does not work for 11 and 12.
Transcript:

>go 19
DoGoCube executed
object is 0 xobject is 0
Using word 19

>go 13
DoGoCube executed
object is 0 xobject is 0
Using word 13

>go 12
You haven't encountered anything like that.

>go 11
You haven't encountered anything like that.

>go 21
DoGoCube executed
object is 0 xobject is 0
Using word 21

>go 31
DoGoCube executed
object is 0 xobject is 0
Using word 31

>go 39
DoGoCube executed
object is 0 xobject is 0
Using word 39

>go 10
You haven't encountered anything like that.

>go 9
That doesn't make any sense.

>go 1
You haven't encountered anything like that.

Note that I haven't defined 10 or 1.

Top