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.


Messages - epic7

Pages: 1 ... 73 74 [75] 76 77 ... 161
1111
Humour and Jokes / Re: If there was tech support in botswana...
« on: January 13, 2012, 09:31:50 pm »
Make it shoe instead.

I confus.

1112
TI-Nspire / Re: [Lua] Mancala
« on: January 13, 2012, 09:28:00 pm »
Oh it works O.O

Thanks!

Now the coordinate range needs a bit of adjusting :P
Edit: Now they're aligned!

Also on the enter key function it says "stack overflow" What does that mean?"
Edit: I know now and what the problem is

And also, is there an easy way to add something to the end of the table and count the number of things in a table?

1113
TI-Nspire / Re: [Lua] Mancala
« on: January 13, 2012, 08:31:09 pm »
I still get the same error with 3ric's edits D:

Even though the a*9 was a something I did really need to add :D

It says

Line 43 is
Code: [Select]
if coord[a*3-2]~=7 and coord[a*3-2]~=14 then Unless the "43:" means something else...

(entire code if anybody can spot anything)

1114
TI-Nspire / Re: [Lua] Mancala
« on: January 12, 2012, 04:25:47 pm »
I made a test program without table insert and it still worked.

Also, it gets through writing to coord, and the error isn't until it reads from coord.

1115
TI-Nspire / Re: [Lua] Mancala
« on: January 12, 2012, 04:09:16 pm »
My intent wasn't to overwrite some things in the table. I think what you have is right.
I changed it to multiply a by 9 rather than 3, but still I get an error.

And nick, does that mean that something like
blah={}
blah[1]=1347
won't work? ???

1116
TI-Nspire / Re: [Lua] Mancala
« on: January 11, 2012, 10:28:43 pm »
@cyan Idk, Nick edited a basic program of mine and added on create. I just assumed that was the right way :p

@3ric I guess that means I don't have any local vars. And with the overwriting, you're probably right :o

1117
TI-Nspire / Re: [Lua] Mancala
« on: January 11, 2012, 10:00:46 pm »
I don't really know what that means.. So Im gonna say no :P

1118
Humour and Jokes / Re: If there was tech support in botswana...
« on: January 11, 2012, 09:54:38 pm »
They ate too many shiitake mushrooms.

I wants Pad Thai.

1119
Introduce Yourself! / Re: Greetings!
« on: January 11, 2012, 09:52:47 pm »
You beat me to the peanuts :P
!peanuts
!peanuts

1120
TI-Nspire / Re: [Lua] Mancala
« on: January 11, 2012, 09:50:50 pm »
Its defined inside on.create()

1121
TI-Nspire / Re: [Lua] Mancala
« on: January 11, 2012, 09:34:51 pm »
I already have that D:

1122
TI-Nspire / Re: [Lua] Mancala
« on: January 11, 2012, 07:21:18 pm »
I'd have 2 player mode somewhat close to finished if it wasn't for errors...

Here is in the beginning
Code: [Select]
for a=1, 14 do
for b=1, 3 do
if a~=7 and a~=14 then
coord[a*3+b*3-5]=a
coord[a*3+b*3-4]=math.random(0,16)
coord[a*3+b*3-3]=math.random(0,14)
else
coord[a*3+b*3-5]=a
--coord[a*3+b*3-4] and coord[a*3+b*3-3 will be nil.
end
end
end


And here is where the error occurs

Code: [Select]
for a=1, 42 do
if coord[a*3-2]~=7 and coord[a*3-2]~=14 then
if coord[a*3-2]>7 then
gc:fillArc(coord[a*3-2]*38+coord[a*3-1],coord[a*3]+49,10,10,0,360)
-- (above) attempt to index global 'coord' (a nil value)
else
gc:fillArc(coord[a*3-2]*38+coord[a*3-1],coord[a*3]+141,10,10,0,360)
end
-- moar stuffs

Coord shouldn't be nil. The only times there will be a nil value in that is supposed to be only when coord[a*3-2] is equal to 7 or 14. That shouldn't happen because it is under
Code: [Select]
if coord[a*3-2]~=7 and coord[a*3-2]~=14 then Unless coord[a*3+b*3-5] (from first code) isn't the same as coord[a*3-2]...

1123
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 11, 2012, 06:22:01 pm »
I don't have that wierd S-like symbol on my keyboard, and I have no clue what it means :P

Is it some foreign (to me :P) currency?

1124
News / Re: Ndless 3.1 coming soon?
« on: January 10, 2012, 10:02:24 pm »
Possibly one surprise each day, all leading up to the release of ndless!

1125
News / Re: Ndless 3.1 coming soon?
« on: January 10, 2012, 09:54:17 pm »
Probably 8 ndless-related surprises because:

I asked adriweb and he told me there would be 8 surprises...

So it probably doesnt mean 8 days/weeks.
Unless adriweb was lying to protect the truth O.O

Pages: 1 ... 73 74 [75] 76 77 ... 161