lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Uli Kusterer wrote:


yes, looks like this was unnecessary, because this still doesn't change anything. Still the same error message. The code I'm running is:

for i=100,1,-1 do
    aRoom =
    print( tostring( aRoom ) )
    aRoom = nil

I've set the C++ object to printf "room created" and "room deleted" from its constructor/destructor. The exact output I'm getting is:

room created
attempt to concatenate a userdata value
room created


It seems the problems are in the UKAdventureNewRoom
and/or UKAdventureRoomToString. Could you post them?