Garden Club Error

<< < (2/3) > >>

jsalemi:
I had a problem with the Garden Club and Inge's 'days left' shrub -- crashed the game to the desktop when they tried to inspect it.  Removed it, and the inspection went fine.  I'm guessing most CC garden stuff would cause problems with the GC for now, at least until the creators update the cc for Seasons.

dizzy:
I have no idea what the problem is, but at least I just learned how to do a proper table search with Lua.  ;D

Nec:
I actually have a ton of cc garden stuff, and it was inspected successfully. Even got points for them. I imagine that perhaps hacked plants, such as the things stay shrub, may be the real culprit? I do have the teleporter plus, but I can't recall at the moment if it has been on a lot that has been inspected. It may be, but if it is on the lot I am thinking of, it is behind a short flowerbed-type fence and has daisies under it as well, so they get the "can't go there" thought bubble and move on.

J. M. Pescado:
Quote from: dizzy on 2007 April 03, 06:16:01

I have no idea what the problem is, but at least I just learned how to do a proper table search with Lua.  ;D

Do share.

dizzy:
Lua doesn't have a normal "in" operator, so you set up tables in a particular way:

Code:

t = {[3517]=1;[-7502]=2;[8559931]=3}

If you imagine the numbers in the brackets as GUID values, this makes it easy to find one.

Code:

x = some GUID value
if t[x] then ...

A non-nil value indicates that name has some value, and if you use that value you could do something like this:

Code:

v = t[x]

So, in this example, if x was -7502 then v would be 2.

Navigation

[0] Message Index

[#] Next page

[*] Previous page